FireGeier
Mar 29 2007, 06:04 PM
Hello @ all!
Following the idea of sharing, here is my unattended Vista Guide. It's a mixture between docs of WAIK and own experiences praticing with Vista unattended setups.
I've started writing
German Vista guidlines a while ago and got a lot request meanwhile to translate parts of it to English. The guide is still under progress but a lot of stuff is available now:
NEW: Sitemap / TOC1.
Introduction2.
Installing Tools3.
Prepare Lab System4.
VU Batch Modules5.
Building a Basic Answer File using WSIM6.
Partitioning and
Partitioning XML snippets7.
Creating Vista ISO8.
Injecting drivers into install.wim9.
Installing drivers directly from media10.
Integrating Updates into install.wim11.
Installing Applications from media12.
Importing Regtweaks13.
Copying over user profile to Default User (makes sense for User Regtweaks)
I'm not a to well html programer, so I know that there are still some issues with layout on different browsers, but it's working mainly.
If you've any problems with the guide please post in this thread!
Please DO NOT ask for settings, which are not described in the guide in this thread.This thread supposed to be for error reporting and feedback only!
NOTE:1. I've tested the guide on 32 bit OS only, updates for 64 bit will come any time later.
2. I've tested all the described procedures carefully. However it could happen, that something will not run on your system like described.
3. This is NOT a one click and go guide! It's for people how like to know, how to setup without any third party tools.
4. Parts of the guides, which are not available in English yet are not necessary to follow the rest of the instructions!Everything is translated now!
Regards,
Martin
toastycheese678
Mar 29 2007, 06:39 PM
Excellent Guide. Im going to study it and walk through it. Ill let you know of any other details I think you should add. But by the looks of it nice job. Send another post when it is updated.
One other thing...PDF possibly?
MAVERICKS CHOICE
Mar 30 2007, 01:56 AM
@Martin
Thats a wonderful guide dude, surely appreciated to many here.
Mind you have guided me most of it here one thread or another...

EDIT: Looking through your guides I think thats more than good enough to become the new MSFN Vista Unattended guide????Whaddya reckon guys??
FireGeier
Mar 30 2007, 04:02 AM
@ toastycheese:
PDF would be possible generaly but I don't plan to do it before everything is finished and I've got confirmations, that it's working well. It's a freetime project, so at least everything costs time.
Timetable for the moment:1. Translating the rest of docs I've finished in German allready ---> next tow weeks
2. Adding further stuff, if highly requested ---> depends on you, later on me!
3. Let it run for a test while.
Beside I've to work to feed myself and doing most of supporting part in German Vista forum part!

But don't missunderstand, suggestions of improvement are welcome!
@MC:
I've had the idea to let this guide run a while for testing on my subdomain on windows-unattend.de. If everything seems to be fine and finished, it could be copied over to MSFN server, if requested... or use the guide or parts of it as draft... or whatever...
Thanks & regards,
Martin
Yagermeister
Mar 30 2007, 05:03 AM
Thanks for the nice guide but i somehow dont have any pictures. Are they broken or am i missing something here?
[EDIT]
Nevermind it seems firefox blocked them
maxXPsoft
Mar 30 2007, 08:19 PM
Handy for the Beginners as well for Advanced FireGeier

I only had 1 problem with injecting driver's and that was any place I try to add /l:
Remove logging and it injects them 123, real nice.
This is error I get and maybe you can add to that part if you get logging error then remove and check the Windows\Inf instead.
Yagermeister
Mar 31 2007, 02:45 AM
I seem to have a error when i try to install vista on vmware/virtualpc/virtualbox. If i use the clean dvd without the auto file i can configure my hdd just fine, but when i use the auto file (on floppy or dvd) then i get the error that i cant use the hdd. I believe the error code was 80300003. I tried searching for it but cant find anything.
I also doublechecked the auto file to see if there where some wrong links but everything was just as you displayed on your website. Do you perhaps know how to fix this?
FireGeier
Mar 31 2007, 04:43 AM
QUOTE (maxXPsoft @ Mar 31 2007, 04:19 AM)

Handy for the Beginners as well for Advanced FireGeier

I only had 1 problem with injecting driver's and that was any place I try to add /l:
Remove logging and it injects them 123, real nice.
This is error I get and maybe you can add to that part if you get logging error then remove and check the Windows\Inf instead.
Hello maxXPsoft!
Have you tried to do the injection on a XP system or on a Vista system? I haven't had any problems with logging but thanks for the feedback. I will add a note later!
Thanks,
Martin
FireGeier
Mar 31 2007, 04:50 AM
QUOTE (Yagermeister @ Mar 31 2007, 10:45 AM)

I seem to have a error when i try to install vista on vmware/virtualpc/virtualbox. If i use the clean dvd without the auto file i can configure my hdd just fine, but when i use the auto file (on floppy or dvd) then i get the error that i cant use the hdd. I believe the error code was 80300003. I tried searching for it but cant find anything.
I also doublechecked the auto file to see if there where some wrong links but everything was just as you displayed on your website. Do you perhaps know how to fix this?
Hello Yagermeister!
Well, if you use the basic Autounattend.xml you should be asked for the disk configuration. Do you get the disk configuration dialog before getting this error? And how long does it take, till you get the error?
Regards,
Martin
Yagermeister
Mar 31 2007, 05:41 AM
QUOTE (FireGeier @ Mar 31 2007, 04:50 AM)

QUOTE (Yagermeister @ Mar 31 2007, 10:45 AM)

I seem to have a error when i try to install vista on vmware/virtualpc/virtualbox. If i use the clean dvd without the auto file i can configure my hdd just fine, but when i use the auto file (on floppy or dvd) then i get the error that i cant use the hdd. I believe the error code was 80300003. I tried searching for it but cant find anything.
I also doublechecked the auto file to see if there where some wrong links but everything was just as you displayed on your website. Do you perhaps know how to fix this?
Hello Yagermeister!
Well, if you use the basic Autounattend.xml you should be asked for the disk configuration. Do you get the disk configuration dialog before getting this error? And how long does it take, till you get the error?
Regards,
Martin
With some fiddling i found out where the error is but and how to solve it using a copy of some other parts from a other auto file but then its not complete unattended anymore. I get the error while being at the disk configuration btw.
I found out that the following code gives the trouble:
CODE
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows Vista ULTIMATE</Value>
</MetaData>
<Path>install.wim</Path>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
When i replaced it with the following it did work but i got a question which version Vista i wanted to install:
CODE
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Value>Windows Vista ULTIMATE</Value>
<Key>1</Key>
</MetaData>
</InstallFrom>
<WillShowUI>OnError</WillShowUI>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
</OSImage>
Do you perhaps have a idea how i can get around the box asking which to install?
FireGeier
Mar 31 2007, 07:16 AM
QUOTE (Yagermeister @ Mar 31 2007, 01:41 PM)

When i replaced it with the following it did work but i got a question which version Vista i wanted to install:
CODE
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Value>Windows Vista ULTIMATE</Value>
<Key>1</Key>
</MetaData>
</InstallFrom>
<WillShowUI>OnError</WillShowUI>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
</OSImage>
Do you perhaps have a idea how i can get around the box asking which to install?
Hello Yagermeister!
I can explain why you getting this box! This part here is wrong:
CODE
<InstallFrom>
<MetaData wcm:action="add">
<Value>Windows Vista ULTIMATE</Value>
<Key>1</Key>
</MetaData>
</InstallFrom>
This will cause an error and cause you use this setting here:
CODE
<WillShowUI>OnError</WillShowUI>
The whole
User
Interface of image selection is shown.
It has to be like described in guide:
CODE
<InstallFrom>
<MetaData wcm:action="add">
<Value>Windows Vista ULTIMATE</Value>
<Key>IMAGE/NAME/</Key>
</MetaData>
</InstallFrom>
Than you will not be asked, which Version you like to install!
QUOTE (Yagermeister @ Mar 31 2007, 01:41 PM)

I get the error while being at the disk configuration btw.
So what are you doing during disk configuration? Do you create new partitions? Do you format only?
Regards,
Martin
FireGeier
Mar 31 2007, 07:21 AM
@ maxX:
When you getting the error do you have the following Key present in your Registry?
HKLM\Software\Microsoft\Windows\CurrentVersion\Device Installer\DebugPkgMgr
Value=1
Regards,
Martin
Yagermeister
Mar 31 2007, 07:37 AM
QUOTE (FireGeier @ Mar 31 2007, 07:16 AM)

QUOTE (Yagermeister @ Mar 31 2007, 01:41 PM)

When i replaced it with the following it did work but i got a question which version Vista i wanted to install:
Removed
Hello Yagermeister!
I can explain why you getting this box! This part here is wrong:
CODE
<InstallFrom>
<MetaData wcm:action="add">
<Value>Windows Vista ULTIMATE</Value>
<Key>1</Key>
</MetaData>
</InstallFrom>
This will cause an error and cause you use this setting here:
CODE
<WillShowUI>OnError</WillShowUI>
The whole
User
Interface of image selection is shown.
It has to be like described in guide:
CODE
<InstallFrom>
<MetaData wcm:action="add">
<Value>Windows Vista ULTIMATE</Value>
<Key>IMAGE/NAME/</Key>
</MetaData>
</InstallFrom>
Than you will not be asked, which Version you like to install!
QUOTE (Yagermeister @ Mar 31 2007, 01:41 PM)

I get the error while being at the disk configuration btw.
So what are you doing during disk configuration? Do you create new partitions? Do you format only?
Regards,
Martin
I think i have a idea why it fails. Maybe its because the KEY part is in front of the name itself. That is the only reason why i can imagine that it goes wrong there.
The part where it goes wrong is the disk configuration itself no matter what i do or want todo. See the attached picture for the precise error.
[EDIT]
After changing the KEY part to what you said i still get the listbox asking which version to install :S
[EDIT2]
Found the error: you accidently added a / after /IMAGE/NAME/

and as far as i can tell from the created ones it isn't supposed to be there. Testing again now.
[EDIT3]
And yes the error was indeed the extra /. I also found out why i had the error and the solution is actually quite simple considering the WAIK messed up there.
The KEY part should be added after the VALUE and not before as it was made with my WAIK. Then the disk configuration seems to work just fine.
FireGeier
Mar 31 2007, 08:10 AM
Hello Yagermeister,
You're right, the "\" at the end was one to many, sorry for that. But that's explained right inside guide.
However the problem is very strange. Sure it makes sense to have the key setting in front of the value. But I had unattended files where such a thing hapened, too, but setup was just running fine. But at least I wonder about nothing dealing with computers and software.
However it's strange!
Thanks for your feedback!
Martin
Yagermeister
Mar 31 2007, 08:22 AM
A extra letter can always happen like you said on your website aswell. I do find the solution strange aswell as you would say that it would just skip it or read back whenever its needed. It would be handy if you put it as a extra note on the website just in case someone is getting the same error.
FireGeier
Mar 31 2007, 09:19 AM
QUOTE (Yagermeister @ Mar 31 2007, 04:22 PM)

A extra letter can always happen like you said on your website aswell.
You're right unfortunatly. But these are the kind of errors, which can drive you nuts.
I give my best to avoid. But if you read over your "own stuff", you're not able to detect some errors sometimes.
QUOTE
It would be handy if you put it as a extra note on the website just in case someone is getting the same error.
I will do so later!
Martin
airmr
Mar 31 2007, 01:29 PM
Hi,
i followed your guidelines and started the install. It still asks for the Serial number as if it couldnt find the Unattended.xml file.
I tried it on cd and on usb stick. I checked the tutorial and my dvd twice and it seems allright
any ideas why ?
Yagermeister
Apr 1 2007, 02:28 AM
QUOTE (airmr @ Mar 31 2007, 01:29 PM)

Hi,
i followed your guidelines and started the install. It still asks for the Serial number as if it couldnt find the Unattended.xml file.
I tried it on cd and on usb stick. I checked the tutorial and my dvd twice and it seems allright
any ideas why ?
Here is how i have it and this works just fine:
CODE
<UserData>
<ProductKey>
<Key>Enter key here with the - in between</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>Gebruiker</FullName>
<Organization>Eigen</Organization>
</UserData>
FireGeier
Apr 1 2007, 09:31 AM
QUOTE (airmr @ Mar 31 2007, 09:29 PM)

Hi,
i followed your guidelines and started the install. It still asks for the Serial number as if it couldnt find the Unattended.xml file.
I tried it on cd and on usb stick. I checked the tutorial and my dvd twice and it seems allright
any ideas why ?
If you would have followed the guide the name of your answer file should be
Autounattend.xml. No other name will work automatically.
If you should have named it
Autounattend.xml already, have you tried to put it in
sources folder, too?
How is your target system is looking like? VM? Real computer?
Regards,
Martin
airmr
Apr 2 2007, 06:51 AM
Hi,
i have probably named it autounattend.xml just wrote it wrong in the post

but ill check.
I havent tried the source folder version yet, will do that tonight. Ill let you know asap if that works.
Im testing with a burned dvd and a real pc

<-- old fashioned but more fualt resistant

@Yager ill try your config file and see if i have something wrong in mine.
Thnx for the quick answers.
maxXPsoft
Apr 2 2007, 06:54 AM
FireGeier
First I was doing it from XP and the reg key don't exist. I didn't have WAIK on because I'm only using the Servicing folder.
I'll boot into Vista and get the whole keys and maybe point it at my Servicing folder and give it a try.
EDIT: Nope that key don't exist in Vista for me after I installed AIK
FireGeier
Apr 2 2007, 09:57 AM
Hello maxX!
Please add this key to the registry and try it again.
The type is REG_DWORD.
Regards,
Martin
EDIT:
Have added a description of the whole Regedit procedure to the guide (Injecting drivers...)
maxXPsoft
Apr 3 2007, 01:46 PM
After you mentioned the reg key I remembered I had crossed that road before so went lookin in the waik.chm and found it. Its logging now even for my Hotfixes so I can look at what MS does there also.
FireGeier
Apr 3 2007, 01:49 PM
You're right maxXPsoft! It's described in WAIK.chm. My mistake. This part got lost by any of the copy and paste procedures to build the guide.

Sorry for that!
Regards,
Martin
FireGeier
Apr 5 2007, 06:12 AM
I've updated the Guide. Available now:
2.
Installing Tools3.
Prepare Lab System4.
VU Batch ModulesFurthermore the
Updates section is including the batch now.
Regards,
Martin
shampoo
Apr 6 2007, 03:53 AM
Hi,
first off al i want to say it a great guide, it really worked for me
but theres a but
when i need to select the hd to install vista on its says that it cant
it say that it cant install windows on the selcted location, with an error code Error 0x80300001.
anybody can help, do i need to change my autounattended or something? the hd is good that is not the problem
many thanx
maxXPsoft
Apr 6 2007, 06:40 AM
0x80300001 REMOTE_ACCESS 0x0001 IMA_RESULT_SERVICE_NOT_SUPPORTED
Citrix® MetaFrame XP™ for Windows with Feature Release 2
Thats the only thing comes up on Google. Have no clue what that Metaframe stuff is but theres a pdf
http://support.citrix.com/servlet/KbServle...%20External.pdf
shampoo
Apr 6 2007, 07:13 AM
mmmh
i dont know what that is and i think it doesnt have anything to do with it
but thanks for your time anyway
FireGeier
Apr 7 2007, 05:53 AM
Do you use an empty HD?
What are you doing during Disc Configuration exactly?
How many HDs you've inside your system? Could you please post your actual Autounattend.xml, too? Without Product Key certainly.
Regards,
Martin
FireGeier
Apr 7 2007, 04:42 PM
Hello!
I've updated the offline_update.cmd of VU Batch Modules. It was failing on English based OS and may be on other languages, too.
I've changed it, that it will now working for English OS by default but you may need to adjust it for other languages.
Check out
here inside offline_update.cmd to find out more about.
Regards,
Martin
sweethip
Apr 7 2007, 06:05 PM
fire, great site....but its seems its too slow, for example it loads but i it gets delayed on when i scroll...is anyone else having these problems
FireGeier
Apr 7 2007, 06:47 PM
Hello sweethip!
I'm not a to well HTML programmer, so it could be that this site gives you some problems depending on system an browser you're using.
What OS and which browser you're using?
Regards,
Martin
sweethip
Apr 7 2007, 07:37 PM
Martin,
Im using Vista ultimate with IE7
It could be that the images are causing the problem...
maxXPsoft
Apr 7 2007, 10:09 PM
I have same problem with XP and IE7 so it looks to be IE7 cause have no problems with Firefox 2.0
airmr
Apr 8 2007, 03:54 AM
Hi,
i did a complete new unattended DVD and it worked like a charm.
Seemes tio be my Version i made with vLite that causes the trouble with the unattended.xml file.
Yeah really nice guide here, thnx for this.
FireGeier
Apr 8 2007, 07:01 AM
Thank you very much for the feedback guys!
I will work over the layout than during week and will switch from table based layout to full CSS layout. That should make it faster.
Regards,
Martin
MarcJ
Apr 9 2007, 08:56 AM
QUOTE (maxXPsoft @ Apr 7 2007, 10:09 PM)

I have same problem with XP and IE7 so it looks to be IE7 cause have no problems with Firefox 2.0
It's the background image with all of the grey lines.
FireGeier
Apr 9 2007, 10:50 AM
QUOTE (MarcJ @ Apr 9 2007, 04:56 PM)

QUOTE (maxXPsoft @ Apr 7 2007, 10:09 PM)

I have same problem with XP and IE7 so it looks to be IE7 cause have no problems with Firefox 2.0
It's the background image with all of the grey lines.

Well... the background image is an image with 2 pix only and will be repeated. But I will have a look at it.
Thanks,
Martin
EDIT:
I think, I've fixed it. Changed the file format from png to gif. Did not know, that IE still has problems to "work" with png files. Seems to work faster now.
sp00f
Apr 9 2007, 11:03 PM
QUOTE (sweethip @ Apr 8 2007, 02:05 AM)

fire, great site....but its seems its too slow, for example it loads but i it gets delayed on when i scroll...is anyone else having these problems
Yep same here, the guide is awesome, but scrolling is a problem.
Seems fixed now
shampoo
Apr 10 2007, 01:09 AM
Martin,
i use a Maxtor DiamondMax 10 200 GB an its empty, but i can make partition or format it in the screen but no install
here my xml file
CODE
<?xml version="1.0" encoding="utf-8" ?>
- <unattend xmlns="urn:schemas-microsoft-com:unattend">
- <servicing>
- <package action="configure">
<assemblyIdentity name="Microsoft-Windows-HomePremiumEdition" version="6.0.6000.16386" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="" />
</package>
</servicing>
- <settings pass="windowsPE">
- <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <SetupUILanguage>
<UILanguage>nl-NL</UILanguage>
</SetupUILanguage>
<UserLocale>nl-NL</UserLocale>
<UILanguage>nl-NL</UILanguage>
<SystemLocale>nl-NL</SystemLocale>
<InputLocale />
</component>
- <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <UserData>
- <ProductKey>
<Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<Organization>VelzArt</Organization>
<FullName>VelzArt</FullName>
<AcceptEula>true</AcceptEula>
</UserData>
- <Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
- <ImageInstall>
- <OSImage>
- <InstallFrom>
- <MetaData wcm:action="add">
<Value>Windows Vista Ultimate</Value>
<Key>Windows Vista Business</Key>
</MetaData>
<Path>D:\VISTADVD\sources\install.wim</Path>
- <MetaData wcm:action="add">
<Value>Windows Home Premium</Value>
<Key>1</Key>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
- <DiskConfiguration>
- <Disk wcm:action="add">
- <CreatePartitions>
- <CreatePartition wcm:action="add">
<Order>1</Order>
<Size>1</Size>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
- <ModifyPartitions>
- <ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>true</Extend>
<Format>NTFS</Format>
<Label>1</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<WillWipeDisk>true</WillWipeDisk>
<DiskID>1</DiskID>
</Disk>
<WillShowUI>OnError</WillShowUI>
- <Disk wcm:action="add">
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
</DiskConfiguration>
</component>
</settings>
- <settings pass="specialize">
- <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
- <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <OEMInformation>
<Logo>c:\opktools\logo\oemlogo.bmp</Logo>
<SupportURL>www.velzart.nl</SupportURL>
</OEMInformation>
</component>
</settings>
- <settings pass="oobeSystem">
- <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <AutoLogon>
<Enabled>true</Enabled>
<LogonCount>2</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
- <Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
- <OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<TimeZone>W. Europe Standard Time</TimeZone>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/vistadvd/sources/install.wim#Windows Vista HOMEPREMIUM" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
thx
** i tried the sample xml on this forum but got same problem so i tried different pc but that was no succes either**
FireGeier
Apr 10 2007, 04:13 AM
Hello shampoo!
First of all the InputLocale Value for Dutch should look like this, but this has nothing to do with you Problem:
CODE
<InputLocale>0413:00000413</InputLocale>
Your problem is caused by the following section and it's not looking like it supposed to:
CODE
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Value>Windows Vista Ultimate</Value>
<Key>Windows Vista Business</Key>
</MetaData>
<Path>D:\VISTADVD\sources\install.wim</Path>
<MetaData wcm:action="add">
<Value>Windows Home Premium</Value>
<Key>1</Key>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
1. Problem:You can't use two MetaData Properties, just ONE per xml at the same time!
2. Problem:Key and Value setting do not correspond the wright way in your xml!
The ImageInstall section should look like this if you want to install ULTIMATE:
CODE
<ImageInstall>
<OSImage>
<InstallFrom>
<Path>install.wim</Path>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows Vista ULTIMATE</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
OR it should look like this for BUSINESS:
CODE
<ImageInstall>
<OSImage>
<InstallFrom>
<Path>install.wim</Path>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows Vista BUSINESS</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
OR it should look like this for HOMEPREMIUM:
CODE
<ImageInstall>
<OSImage>
<InstallFrom>
<Path>install.wim</Path>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows Vista HOMEPREMIUM</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
After choosing one of these alternates, depending on the Product Key you have, it should work!
Regards,
Martin
shampoo
Apr 10 2007, 06:59 AM
Martin,
thx for ur help
i looked @ your guide and did it again and now it works but its takes like 20 min or so.
how many minutes should de installation be?
i still have some questions:
sysprep doesnt pop up, do i need change something in xml?
and
i want to add company logo, i need to put a map with logo on the map vista works right?
Many thanx
niels
FireGeier
Apr 10 2007, 06:00 PM
QUOTE (shampoo @ Apr 10 2007, 02:59 PM)

...
it works but its takes like 20 min or so.
how many minutes should de installation be?
That is normal. It's taking longer on my test system, but that's an old one.
QUOTE
...
sysprep doesnt pop up, do i need change something in xml?
...
Sysprep is located in
%Windir%\system32\sysprep. If you want to generalize the system for example, use the following command (Insert \ Synchronous Command):
CODE
%WINDIR%\system32\sysprep\sysprep.exe /generalize /quiet /oobe /reboot
If you need a company logo during oobe,
check out here on Microsoft.
Regards,
Martin
FireGeier
Apr 10 2007, 06:06 PM
Guide Update:
I've worked over Applications, Regtweaks and Copy Profile section of the guide. Everything is in one xml now.
Applications are installed in auditMode now, cause
- it provides a status window for application install (oobeSystem doesn't)
- it supports reboots between installs
Note:
In audit mode you need to call the installer using cmd /c. Otherwise it will not recognice the %AppsRoot% variable.
Regards,
Martin
Phorze
Apr 15 2007, 02:14 PM
Like
"cmd /c %AppsRoot%\Switchless\Office\Office.exe" ?
FireGeier
Apr 15 2007, 02:36 PM
Hello Phorze!
QUOTE
Like
"cmd /c %AppsRoot%\Switchless\Office\Office.exe" ?
Yes, exactly. Look
here for more details.
Regards,
Martin
Phorze
Apr 16 2007, 05:28 AM
Thanks Firegeier , great guide
Another question, is it possible to get feedback if something goes wrong? Because somehow my application installs don't get installed at all, and i can't know for sure what went wrong.
FireGeier
Apr 16 2007, 05:45 AM
Hello Phorze!
AFAIK for the moment, there is no special log for application installs! But if I have probelms with my unattend I start with setupact.log and setuperr.log located inside %Windir%\Panther\Unattend GC.
In most cases I've got a hint there why something went wrong.
Regards,
Martin
Phorze
Apr 16 2007, 02:46 PM
Somehow i just can't get it to work, i have slimmed down Autounattend to find the problem but no avail.
Notes:
the Administrator account is made , but on oobe i get the standard dialog to make an account. If i use administrator as accountname, it gives an error saying the name is allready taken. When i pick user named "test" and log in, there is no other account than test , and test is the administrator account (what happened to "administrator"?

)
None of the applications are installed, no errors during setup.
According to the SET command in cmd, no APPSROOT var is set.
By the looks of it just skipped the whole audit section.
All tests are done in VMware 5.3
Autounattend:
CODE
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>cmd /c FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>2</Order>
<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="auditUser">
<component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>cmd /c %AppsRoot%\Switchless\Office\Office.exe</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>2</Order>
<Path>cmd /c %AppsRoot%\Switchless\Firefox\Firefox Setup 2.0.0.3.exe /S</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>4</Order>
<Path>cmd /c %AppsRoot%\Switchless\MPC\MPC_addon.exe</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>3</Order>
<Path>cmd /c %AppsRoot%\Switchless\VCP\vcpack.exe</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>5</Order>
<Path>cmd /c %AppsRoot%\Switchless\Nero\Nero-7.7.5.1_dutch_lite.exe /VERYSILENT /USER="Roos" /COMPANY="None" /SERIAL="=removed="</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>6</Order>
<Path>cmd /c %WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoLogon>
<Password>
<Value>encryptedpassword</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<Username>Administrator</Username>
<LogonCount>5</LogonCount>
</AutoLogon>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:f:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
setupact.log:
CODE
removed, see attachment (was a bit long) :rolleyes:
setuperr.log was empty.
FireGeier
Apr 16 2007, 05:24 PM
Hello Phorze!
Problem 1: Applications are not installed
I've just recognized that I haven't add the AutoLogon in auditSystem mode to the guide. So this was my mistake. Sorry for that. I've updated it now. So please
check for the change:
You need to add
Windows-Shell-Setup \ AutoLogon component to
auditSystem pass. Than use Administrator as Name and set LogonCount to 5 or may be more if you need some reboots.
Problem 2: Prompted to create user account
You don't have the following part from
basic Autounattend.xml inside your xml:
CODE
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>2</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
Note:
It's not recommended to use <SkipMachineOOBE> set to true, so please check out the
Copy Profile section, if you want to create your own accounts and find out how to by pass welcome screen without using <SkipMachineOOBE>.
Regards,
Martin
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.