Jump to content

Need some unattend help


Recommended Posts

Hello everyone. I'm very new at dealing with the autounattend.xml file. I have one that I "borrowed" from another build but it bypasses something that I don't want it too. I want to make it where the user has a chance to create an account, then the network part happens.

I hope this is clear. If not let me know and I will try to do better. I'm looking for either a whole xml file or an excerpt that I can insert into my existing xml file.

Any help is appreciated.

Link to comment
Share on other sites


  • 3 weeks later...

Hi everyone. I could use some help with my autounattend.xml file. I would like the user to be able to choose their own language, their computer name, account name, and network settings BEFORE the desktop comes up. Is there a way to do this? I'm not very good with the xml file and could use some help.

Any help is appreciated.

edit: at the very least, I need the user to be able to select network settings before the desktop comes up. The reason is that I have a program that comes up with the desktop that installs software on the machine and the network settings dialog comes up at the same time which is not good.

Edited by crabdance
Link to comment
Share on other sites

Ok... here's what I get. "Unexpected Error: Check your Log". And when I check the log file, this is what I get.

added: "C:\Program Files\Windows AIK\Tools\x86\imagex.exe" /XML /info "D:\ShortCuts\ISO\Win7Full\sources\install.wim">work\imagesinfo.xml

Starting imagex

Imagex created imagesinfo.xml Successfully

Reading images information from imagesinfo.xml

First 5 lines of imagesinfo.xml

<WIM>

<TOTALBYTES>2838379597</TOTALBYTES>

<IMAGE INDEX="1">

<DIRCOUNT>9997</DIRCOUNT>

<FILECOUNT>50797</FILECOUNT>

Number of Available Images: 1

Reading image indiceis

Reading image displaynames

Reading image names

Reading image architectures

Reading image edition IDs

Unexpected Error: Object reference not set to an instance of an object.

at _7Customizer.Form1.selectImagePathBtn_Click(Object sender, EventArgs e)

This is a program error. I tried installing .NET and Visual Basic runtimes but I still got the error. Any ideas on what to do?

Any help is appreciated!

Link to comment
Share on other sites

I have all the files located in directories that have no spaces. Plus, I looked in the 7Customizer thread and there were other people with the same problem and the developer's comment was "wait for the next version".

Don't know what else I can do from here? I will just have to keep looking for an answer.

Link to comment
Share on other sites

I have all the files located in directories that have no spaces. Plus, I looked in the 7Customizer thread and there were other people with the same problem and the developer's comment was "wait for the next version".

Don't know what else I can do from here? I will just have to keep looking for an answer.

Copy dvd to the computer or extract the iso

Make sure its no spaces in the path

Run 7C as administrator

Choose right imagex, dism and oscdimg for your version (32 or 64bit)

Choose dvd folder,

Choose your version (Starter - Ultimate)

Do your things, unattended / whatever

press apply and create iso.

We need the full logfile of 7C and not just a part.

It says there's a problem with the path to the dvd.

Link to comment
Share on other sites

Ok.. thanks for the help. Here's the whole log file. I tried moving my Win7 folder to c:\ and even renamed them to c:\mount\dvd but that didn't seem to help.

=== 7Customizer Started===

7Customizer verion: 0.4.0a

7Customizer path: C:\7Customizer\7Customizer.exe

Current directory: C:\7Customizer

OS: Microsoft Windows NT 6.1.7600.0

OS architecture: x86

Work folder found: True

Mount folder found: True

Extract utility found: True

Configuration file found: True

bootorder.txt file found: True

Boot sector file found: True

Elevated: True

Getting drive info

Free space: 11.7960929870605 GB

Getting drive info: Done

Saved Imagex path: C:\Program Files\Windows AIK\Tools\x86\imagex.exe

Saved DISM path: C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe

Saved odcdimg path: C:\Program Files\Windows AIK\Tools\x86\oscdimg.exe

Windows source path selected

Sources folder found

install.wim found

install.wim size: 2706 MB

Added: "C:\Program Files\Windows AIK\Tools\x86\imagex.exe">work\testimagex.txt

Testing imagex

Imagex result begin:

Imagex result file created.

ImageX Tool for Windows

Copyright © Microsoft Corp. All rights reserved.

Version: 6.1.7600.16385

Imagex result end.

Added: "C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe">work\testdism.txt

Testing dism

dism result begin:

Deployment Image Servicing and Management tool

Version: 6.1.7600.16385

dism result end.

added: "C:\Program Files\Windows AIK\Tools\x86\imagex.exe" /XML /info "C:\mount\DVD\sources\install.wim">work\imagesinfo.xml

Starting imagex

Imagex created imagesinfo.xml Successfully

Reading images information from imagesinfo.xml

First 5 lines of imagesinfo.xml

<WIM>

<TOTALBYTES>2838379597</TOTALBYTES>

<IMAGE INDEX="1">

<DIRCOUNT>9997</DIRCOUNT>

<FILECOUNT>50797</FILECOUNT>

Number of Available Images: 1

Reading image indiceis

Reading image displaynames

Reading image names

Reading image architectures

Reading image edition IDs

Unexpected Error: Object reference not set to an instance of an object.

at _7Customizer.Form1.selectImagePathBtn_Click(Object sender, EventArgs e)

Hope this helps. I'm not using the standard naming convention on my directories, but I did try to use mount/dvd on my last test.

Please tell me if you need more info or if I can try something another way.

thanks.

edit: I have 10+ years behind me as a software test engineer. If I can be of any help, please let me know. I knew that anyone close to the project needed all the info but I didn't think that Bob did :)

Edited by crabdance
Link to comment
Share on other sites

Well, I guess this is kind of a bump, but it seems like I should be able to accomplish what I need with just the autounattend and not another piece of software. And to try and make my issue more clear, I will state it again.

On the oobe pass, I need the dialog boxes to come up that allow the end user to:

1. select language and keyboard settings

2. create user name and password

3. select time zone settings

4. select network settings

It seems like this would be a common issue but I haven't found anything on a search. Most likely because I'm not sure what keywords to use.

PLEASE.. I need some help on this.

Your help is GREATLY appreciated.

Link to comment
Share on other sites

Mostly because you need to delete those sections from inside your unattend.xml or simply do not use an unattend.xml

The entire point of being "unattended" is to not require a person to be at the computer "attending" to pop-up windows.

Simple answer is delete your unattend.xml and run a normal install, or attach, (do not paste) your XML, and maybe someone can tell you which sections to delete. (probably the entire OOBE section)

Edited by MrJinje
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...