Jump to content

Vista unattended Guide


Recommended Posts

You are correct in your assumption. However, Vista is now pretty good at installing the correct drivers for your hardware so I recommend that unless you are seeing unknown devices in Device Manager that you let Vista install the default drivers. Of course if you using vLite to remove the default drivers you may have problems with drivers that rely on the default Vista components. These days the only drivers I tend to put into the special drivers folders are for hardware that is not recognised. Video drivers and sometimes chipset tend to be the only exception but certainly nVidia's ones need to be installed with the installer.

Make sure also that the drivers you have there are signed. Non-signed or XP drivers don't tend to work very well.

Can you post you Autounattend.xml and the exact folder structure of the drive (screenshot would do)

Link to comment
Share on other sites


@Kentk

After you install Vista, did the intel inf ever give you the red unsigned driver box?

I have found that drivers that do this NEVER get installed during UA.

I learned the hard way with a beta nvidia driver. No fun.

Edited by razormoon
Link to comment
Share on other sites

Razormoon: I think I dont come by the first PE pass when I add the drivers :( the install.exe doesnt seem to be started !?

When I boot the ISO, in the first PE pass I get a cmd window which say driversroot = d:

Shortly after I get a error window:

It is not possible to install one or more drivers which is necessary for systemstart, check that the drivers are correct and restart installation, Press OK...

Pressed Shift-F10 and looked in the log files, but I did not see any particularly :(

Dobby, I will post this tonight when I am home from work..

Ps. I have made a copy of the ISO BEFORE I altered the settings as of the Firegeier guide to install drivers from media or usb stick and that ISO is working so there is something wrong with this step.. Ds.

Edited by kentk
Link to comment
Share on other sites

Dobby, here is my autounattend.xml...

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<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>sv-SE</UILanguage>
</SetupUILanguage>
<SystemLocale>sv-SE</SystemLocale>
<UILanguage>sv-SE</UILanguage>
<UserLocale>sv-SE</UserLocale>
<InputLocale>041d:0000041d</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>
<WillShowUI>OnError</WillShowUI>
<Key>xxxx-xxxx--xxxxxxx-xxx-xxxxx</Key>
</ProductKey>
<FullName>Datorn</FullName>
<AcceptEula>true</AcceptEula>
</UserData>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows Vista ULTIMATE</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
</component>
<component name="Microsoft-Windows-PnpCustomizationsWinPE" 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">
<DriverPaths>
<PathAndCredentials wcm:keyValue="427209fc" wcm:action="add">
<Path>%DriversRoot%\Drivers</Path>
</PathAndCredentials>
</DriverPaths>
</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-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>
<Description>Boot to audit Mode</Description>
</RunSynchronousCommand>
</RunSynchronous>
</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">
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
<DPI>96</DPI>
</Display>
<ComputerName>Datorn</ComputerName>
<CopyProfile>true</CopyProfile>
<TimeZone>W. Europe Standard Time</TimeZone>
</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>false</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<TimeZone>W. Europe Standard Time </TimeZone>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Description>Admin</Description>
<DisplayName>Admin</DisplayName>
<Group>Administrators</Group>
<Name>Admin</Name>
</LocalAccount>
<LocalAccount wcm:action="add">
<Description>Datorn</Description>
<DisplayName>Datorn</DisplayName>
<Group>Administrators</Group>
<Name>Datorn</Name>
</LocalAccount>
<LocalAccount wcm:action="add">
<Group>Administrators</Group>
<Description>HTPC</Description>
<DisplayName>HTPC</DisplayName>
<Name>HTPC</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
<component name="Microsoft-Windows-International-Core" 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">
<InputLocale>041d:0000041d</InputLocale>
<SystemLocale>sv-SE</SystemLocale>
<UILanguage>sv-SE</UILanguage>
<UserLocale>sv-SE</UserLocale>
</component>
</settings>
<settings pass="auditSystem">
<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>5</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
<DPI>96</DPI>
</Display>
</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>15</Order>
<Path>cmd /c %AppsRoot%\Install\AdobeReader\AdobeReader81.exe</Path>
<Description>Adobe reader 8.1</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>20</Order>
<Path>cmd /c %AppsRoot%\Install\Anydvd\SetupAnyDVD6184.exe /S</Path>
<Description>AnyDVD</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>30</Order>
<Path>cmd /c %AppsRoot%\Install\Clonedvd2\CloneDVD2Silent.exe SetupCloneDVD2.exe</Path>
<Description>CloneDVD2</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>40</Order>
<Path>cmd /c %AppsRoot%\Install\PowerDVD7\setup.exe</Path>
<Description>PowerDVD</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>50</Order>
<Path>cmd /c %AppsRoot%\Install\winrar\wrar371sw.exe /s</Path>
<Description>Winrar</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>51</Order>
<Path>cmd /c %AppsRoot%\Install\winrar\Register.exe</Path>
<Description>Register Winrar</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>60</Order>
<Path>cmd /c %AppsRoot%\Install\Winzip\Winzip11_1_7466.exe</Path>
<Description>Winzip</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>61</Order>
<Path>cmd /c REGEDIT /S %AppsRoot%\Install\Winzip\Register.reg</Path>
<Description>Register Winzip</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>90</Order>
<Path>cmd /c %AppsRoot%\Install\Hotfix\KB890830.exe /Q</Path>
<Description>KB890830</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>91</Order>
<Path>cmd /c %AppsRoot%\Install\Hotfix\msxml4-KB936181-enu.exe /Q</Path>
<Description>KB936181</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>92</Order>
<Path>cmd /c %AppsRoot%\Install\Hotfix\msxml4-KB941833-enu.exe /Q</Path>
<Description>KB941833</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>99</Order>
<Path>%WINDIR%\system32\sysprep\sysprep.exe /generalize /quiet /oobe /reboot</Path>
<Description>Restart</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>10</Order>
<Path>cmd /c REGEDIT /S %AppsRoot%\Install\Regtweaks.reg</Path>
<Description>Regtweaks</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>70</Order>
<Path>cmd /c %AppsRoot%\Install\Nero7\Nero7_10_1_0.exe</Path>
<Description>Nero 7</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>80</Order>
<Path>cmd /c %AppsRoot%\Install\Office2007\Office2007.exe</Path>
<Description>Office 2007</Description>
</RunSynchronousCommand>
</RunSynchronous>
</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">
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
<DPI>96</DPI>
</Display>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-PnpSysprep" 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">
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Directory structure

namnlossx1.jpg

namnlos2lj5.jpg

Edited by kentk
Link to comment
Share on other sites

I can only assume there is a problem with one of the drivers. Since I have successfully integrated the ACPI drivers I recommend you remove all others and test the installation again. Then add them back in one by one until you find the one causing the problem.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...
  • 4 weeks later...

Does anything in this guide change now that SP1 has been released for Vista... I know that there is the new version of WAIK. I have downloaded the Vista DVD with SP1 integrated from Microsoft, so is it just the same process for recreating the unattended install? Thanks in advance.

Edited by morgancroft
Link to comment
Share on other sites

Hi All,

Can you please take a look at my autounattended.xml and let me that why it would not ask me to enter a computername? I have tried to write an empty string for computername (also tried leaving it empty but then it would not save anything in xml file) and which looks like this:

<ComputerName />

everything else works fine but it will skip the computername part. Can anyone give me an idea about what to do?

Thanks,

I forgot to mention that i have been following FireGeier's wonderfull guide for my unattended vista install.

Autounattend.xml

Edited by music5_5
Link to comment
Share on other sites

Does anything in this guide change now that SP1 has been released for Vista... I know that there is the new version of WAIK. I have downloaded the Vista DVD with SP1 integrated from Microsoft, so is it just the same process for recreating the unattended install? Thanks in advance.

All working as posted for me.

Link to comment
Share on other sites

Hi,

I'm having a weird problem, started using the VU Batch tools to integrate updates in my Enterprise image. Worked fine the first time. Now it simply won't, and it's probably because of something that wasn't documented in the guide for integrating them or something I'm doing wrong the second time around.

Nothing changed on my PC except for the download of 20 some-odd new updates. Here at the steps I used when it worked:

1) Copied all MSU to Vistawork\Updates

2) Mounted a "virgin" install.wim

3) Ran offline_update with no errors

4) unmounted with commit

5) burned/installed/checked for installed updates and they were all fine.

Now, this is what I'm trying to do.

6) Add ~20 MSUs to Vistawork\Updates (the other older ~20 are also there, so 43 of them now)

7) mount an already updated install.wim

3) run offline_update, but this time getting errors, errorlevel 161

So I'm thinking to myself, I probably can't overwrite updates that were already there, so I remove the 20 some older updates that were already done and only leave the newer ones in Vistawork\Updates... still same error.

At this point I just copy a new virgin install.wim into Vistawork\DVD and re-mount and try to re-update with the whole 43 updates. Now I'm getting errorlevel 1. Unmount with no commit, and only keep the updates that had worked the first time... STILL getting errorlevel 1. What's even weirder are the logs now, my txt logs are totally garbled up, can't read anything from them, but the first time it worked I had very readable txt file and those garbled files are also completely locked even when I shut down 75% of my processes, just can't delete them, keep getting the great "file in use" message box.

How in god's name did I get it working the first time?? Using AIK build 6000, Vista Enterprise VL and doing the lab work using XP.

WTB XP Update integration method...

Thanks.

Link to comment
Share on other sites

  • 3 weeks later...

:blushing: Is it possible to auto unattended install vista with office on one DVD?

And if i put extra software to install with the dvd than he still aks witch lauguage he must install.

If you want to see the xml file i will post it. I following the guide so far so good but now the little things must be installed.

Tnx

:thumbup

I uploaded my file. I didn't get it to work maybe you guys now something i could try?

I tryed a couple of things about now. But nothing works. Also i don't get the office installation unattended.

Maybe you guys now something i could give a try.

And what are the various commands to install the application unattended.

Many tnx.

:thumbup

Autounattend.xml

Edited by nftk
Link to comment
Share on other sites

  • 1 month later...

hi firegeier,

i have seen now your vista integration batch tool.

i will try it, thx.

this tool needs some improvements, here a some tips from me ;)

first, this tool must run after extraction the starting batch.

then ...,

SET Count=0

...

:CheckWAIKVerz

IF NOT EXIST "%PMgrDir%\pkgmgr.exe" ECHO The directory "%PMgrDir%" does NOT exist! >> EnvCheck.log

IF NOT EXIST "%PMgrDir%\pkgmgr.exe" SET /a Count+=1

IF EXIST "%PMgrDir%\pkgmgr.exe" ECHO The directory "%PMgrDir%" does exist. >> EnvCheck.log

IF NOT EXIST "%PETools%\oscdimg.exe" ECHO The directory "%PETools%" does NOT exist! >> EnvCheck.log

IF NOT EXIST "%PETools%\oscdimg.exe" SET /a Count+=1

IF EXIST "%PETools%\oscdimg.exe" ECHO The directory "%PETools%" does exist. >> EnvCheck.log

IF NOT EXIST "%ImgX%\imagex.exe" ECHO The directory "%ImgX%" does NOT exist! >> EnvCheck.log

IF NOT EXIST "%ImgX%\imagex.exe" SET /a Count+=1

IF EXIST "%ImgX%\imagex.exe" ECHO The directory "%ImgX%" does exist. >> EnvCheck.log

::IF %Count% is NOT "0" batch will execute FehlerVerzeichnis subroutine.

IF NOT "%Count%"=="0" GOTO FehlerVerzeichnis

ECHO. >> EnvCheck.log

IF "%Count%"=="0" ECHO All necessary directories do exist. >> EnvCheck.log

SET DVDDrive=NULL

FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\sources\install.wim SET DVDDrive=%%i:\

IF "%DVDDrive%"=="NULL" CALL :NoDVDDrive

SET Copy=true

IF "%DVDDrive%"=="NULL" SET Copy=false

IF "%Copy%"=="true" GOTO DVDKopieren

IF "%Copy%"=="false" GOTO NichtKopieren

you dont need all this stuff, you must only optimize it ;)

if you put %copy%=="true" goto dvdkopieren then you must not put if %copy%=="false".

put only goto nichtkopieren

IF EXIST "%PMgrDir%\pkgmgr.exe" ECHO The directory "%PMgrDir%" does exist. >> EnvCheck.log

if %errorlevel% NEQ 0 (echo The directory "%PMgrDir%" does NOT exist! >> EnvCheck.log) & goto error

IF EXIST "%PETools%\oscdimg.exe" ECHO The directory "%PETools%" does exist. >> EnvCheck.log

if %errorlevel% NEQ 0 (echo The directory "%PETools%" does NOT exist! >> EnvCheck.log) & goto error

...

FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\sources\install.wim SET DVDDrive=%%i:\

if not exist %dvddrive%sources\install.wim goto nodvd....

goto kopieren

a little code from my batch ;)

:copy

set error=COPY FROM CD FAILED !!!

XCOPY /E %cdrom%\ %destination%

if %errorlevel% NEQ 0 goto abort

set error=EXTRACT SP3 FAILED !!!

extract.exe x %downloadfile%

if %errorlevel% NEQ 0 goto abort

set error=INTEGRATION FAILED !!!

I386\update\update.exe /integrate:%destination% /passive

if %errorlevel% NEQ 0 goto abort

....

:abort

echo %error%

pause

exit

you must add more errorlevel's instead of set

what would be if there are reading errors of dvd ? (not detecting of dvd drive)

if you put "errorlevel" after copy line then i'm sure that all the files are copied.

you can run my tool and during copy from cd just eject the xp cd :)

it would automatically break the process

http://www.msfn.org/board/Windows-XP-Servi...on-t117189.html

regards easy

greetz from austria ;)

Edited by easy
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...