the past few days i have been working on creating my own unattended xpcd, and i ran into a few problems i havent yet been able to solve myself...
the first one, that bugs me the most is that this part of my winnt.sif is obviously ignored:
[Display] BitsPerPel=32 Xresolution=1024 YResolution=768 [UserData] ComputerName=MYCOMPUTER [Shell] CustomDefaultThemeFile = "%Systemroot%\Resources\Themes\Royale.Theme"
after the installation finishes the computername is something totally different (its the companyname with some random numbers and letters appended)
the theme i specify isnt applied (though the path is correct)
and the resolution stays 640x480.
Also Autologon didnt work when a password was set. i solved this by deleting the password. but this is more like a workaround - id really prefer this to work WITH a password.
The windows version i use is xp pro with sp2 slipstreamed.
and im using vmware to test my image.
this is my complete winnt.sif:
;SetupMgrTag [Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" [Unattended] WaitForReboot="No" FileSystem=* UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS UnattendSwitch="yes" DriverSigningPolicy=Ignore OemPnPDriversPath="DRIVERS\006\viasraid;DRIVERS\005\NVIDIA; DRIVERS\007;DRIVERS\008;DRIVERS\009;DRIVERS\010\DVBPCTVSTARS; DRIVERS\010\DVBPCTVSTARS\Install;DRIVERS\011;DRIVERS\011\WIN2K_XP; DRIVERS\011\COMMON" [GuiUnattended] AdminPassword=* EncryptedAdminPassword=No AutoLogon=Yes AutoLogonCount=5 OEMSkipRegional=1 TimeZone=110 OemSkipWelcome=1 [UserData] ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX FullName="name" OrgName="business" ComputerName=MYCOMPUTER [Display] BitsPerPel=32 Xresolution=1024 YResolution=768 [RegionalSettings] LanguageGroup=1 SystemLocale=00000c07 UserLocale=00000c07 InputLocale=0c07:00000407 [Branding] BrandIEUsingUnattended=Yes [URL] Home_Page=www.google.com Search_Page=www.google.com [Proxy] Proxy_Enable=0 Use_Same_Proxy=1 [Identification] JoinWorkgroup=WORKGROUP1 [Networking] InstallDefaultComponents=No [NetAdapters] Adapter1=params.Adapter1 [params.Adapter1] INFID=* [NetClients] MS_MSClient=params.MS_MSClient [NetServices] MS_SERVER=params.MS_SERVER MS_PSched=params.MS_PSched [NetProtocols] MS_TCPIP=params.MS_TCPIP [params.MS_TCPIP] DNS=Yes UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1 [params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=Yes WINS=No NetBIOSOptions=0 [GuiRunOnce] %systemdrive%\install\batchfile.cmd [Shell] CustomDefaultThemeFile = "%Systemroot%\Resources\Themes\Royale.Theme"
these are the apps im trying to install automatically (everything seems to work fine here)
AcrobatReader 6
Ad-Aware
Daemon tools 346
Diskeeper 8
dotnet framework
DX9b
JAVA 1.4.05
NAV2004 (im not registering it during install)
Nero 6
Office 2003 pro
Opera 7.54
Winrar 3.30
This is my batchfile:
ECHO. ECHO VIA Chipset driver installation ECHO please wait... start /wait %systemdrive%\drivers\000\setup.exe -s ECHO. ECHO Winrar installation ECHO please wait... start /wait %systemdrive%\install\Apps\winrar\wrar330d.exe /s ECHO. ECHO Installing Adobe Reader 6 ECHO Please wait... start /wait %systemdrive%\install\Apps\AcroRdr\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\"" ECHO. ECHO Installing .NET Framework v1.1 ECHO Please wait... start /wait %systemdrive%\install\Apps\dotnet\netfx.msi /qb ECHO. ECHO Installing Nero Burning ROM ECHO Please wait... start /wait %systemdrive%\install\Apps\Nero\setup.exe /silent /noreboot /no_ui /sn=XXXXXXXXXX /write_sn ECHO. ECHO Installing Diskeeper 8.0 ECHO Please wait... start /wait %systemdrive%\install\Apps\diskeeper\Setup.exe /s /v/q ECHO. ECHO Installing DirectX 9.0b ECHO Please wait... start /wait %systemdrive%\install\Apps\DX\DX9NTopk.exe ECHO. ECHO Installing Java Runtime Environment 1.4.05 ECHO Please Wait... start /wait %systemdrive%\Install\Apps\JAVA\java.exe /s /v/qn ECHO. ECHO Installing Opera Internet Browser 7.54 ECHO Please Wait... start /wait %systemdrive%\install\Apps\opera\operaib.exe /s ECHO. ECHO Installing Office 2003 Professional ECHO Please wait... start /wait %systemdrive%\install\Apps\Office\setup.exe TRANSFORMS=unattended.MST /qb- ECHO. ECHO Installing DaemonTools 3.46 ECHO Please wait... start /wait %systemdrive%\install\Apps\Daemon346\daemon.msi /qb REBOOT=suppress ECHO. ECHO Installing Winamp 5.03 echo [WinampReg]>%systemroot%\winamp.ini echo IsFirstInst=>>%systemroot%\winamp.ini echo NeedReg=>>%systemroot%\winamp.ini CD %systemdrive%\Install\Winamp\ Start %systemdrive%\Install\Winamp\winamp.js sleep 30 taskkill /F /IM WINAMP.EXE copy %systemdrive%\Install\Winamp\Winamp.ini "%systemdrive%\Program Files\Winamp\" ECHO. ECHO Registering for the Pro Version REG ADD HKLM\SOFTWARE\Nullsoft\Winamp /v regname /d ab /f REG ADD HKLM\SOFTWARE\Nullsoft\Winamp /v regkey /d xxxxx-xxxxxx-xxxxxx /f ECHO. ECHO Installing Norton Antivirus 2004 ECHO Please wait... ECHO. start /wait %systemdrive%\install\Apps\NAV2004\NAVSetup.exe /O REBOOT=ReallySuppress /QB ECHO Killing the Configuration Wizard of NAV 2004 and its processes taskkill.exe /F /IM cfgwiz.exe taskkill.exe /F /IM ccApp.exe taskkill.exe /F /IM symlcsvc.exe taskkill.exe /F /IM ccSetMgr.exe taskkill.exe /F /IM ccEvtMgr.exe taskkill.exe /F /IM SAVScan.exe taskkill.exe /F /IM navapsvc.exe taskkill.exe /F /IM NPROTECT.EXE ECHO. ECHO Applying Registry Tweaks... call REGEDIT /S %systemdrive%\install\RegTweaks.reg sleep 8 echo Finished! sleep 2 echo Rebooting... sleep 3 %systemdrive%\windows\system32\shutdown.exe -r -f -t 90 -c "Windows XP will now restart in 90 seconds!" exit
something else i've noticed is that after the 90 second countdown finishes it takes almost 3 minutes for the pc to eventually restart. but i guess thats normal... ?
i really hope that somebody tries to help me, because im pretty much lost here. i dont even know where to start looking for a solution. forum searches didnt turn up anything useful.
TIA



Help

Back to top









