bigreddastud Posted August 9, 2004 Share Posted August 9, 2004 I am testing my unattended install CD on virtualPC 2004, and only part of the winnt.sif was used. It picked out parts that got used, but others didn't. I told it not to install MSN explorer or Messenger, but they are in there. It did pick up my other settings, and some stuff fine, but didn't chose my locale right either, just used the default GMT instead of Central. I created winnt.sif with the appropriate wizzard. In addition, my cmdlines.txt never got executed. Why is this? It runs fine when I execute it from a command prompt? I thought I didn't have to declare it's existence anywhere. Is that true?winnt is parsed by setup and is located in the i386 folder. cmdlines.txt is in the $OEM$ folder. The files got moved to the HD fine during install, but were never actually executed.Here's the files:winnt.sif;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[unattended] UnattendMode=ProvideDefault OemPreinstall=Yes TargetPath=\WINDOWS OemSkipEula=Yes UnattendSwitch="yes" WaitForReboot="No" OemPnPDriversPath="Drivers\000_Chipset;Drivers\001_RAID;Drivers\002_DFI_USB2;Drivers\003_PCI_USB2" DriverSigningPolicy=Ignore[GuiUnattended] EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=20 OemSkipWelcome=1[userData] FullName="--" OrgName="--"[Display] BitsPerPel=32 Xresolution=1024 YResolution=768[TapiLocation] CountryCode=1 Dialing=Tone AreaCode=651[identification] JoinWorkgroup=UST[Networking] InstallDefaultComponents=Yes[Components] msmsgs=off msnexplr=off zonegames=off [shell] DefaultStartPanelOff = Yes DefaultThemesOff = Yes ;[GuiRunOnce]; %systemdrive%\install\start.cmd cmdlines.txt[COMMANDS]@echo offECHO Merging Registry Tweaks"REGEDIT /S regtweaks.reg"ECHO Registry updatedECHO Please wait, Short Pause to allow Registry to settle before proceeding@ping 127.0.0.1 -n 8 -w 1000 > nulECHO.ECHO Installing DirectX 9.0bECHO Please wait...start /wait %systemdrive%\install\DirectX9b\DX9NTopk.exeECHO DirectX InstalledECHO Please wait, Short Pause to allow system to settle before proceeding@ping 127.0.0.1 -n 8 -w 1000 > nulECHO.ECHO Installing .NET Framework v1.1ECHO Please wait...start /wait %systemdrive%\install\NetFramework\netfx.msi /qbECHO .NET InstalledECHO Please wait, Short Pause to allow system to settle before proceeding@ping 127.0.0.1 -n 8 -w 1000 > nulECHO.ECHO.ECHO *******************************ECHO *** Installing XP Powertoys ***ECHO *******************************ECHO.ECHO Installing TweakUI 2.10 PowertoyECHO Please wait...start /wait %systemdrive%\install\PowerToys\TweakUI.msi /qbECHO.ECHO Installing Task Switcher PowertoyECHO Please wait...start /wait %systemdrive%\install\PowerToys\TaskswitchPowertoySetup.exe /s /v/qnECHO.ECHO Installing Beefier Calculator PowertoyECHO Please wait...start /wait %systemdrive%\install\PowerToys\PowerCalcPowertoySetup.exe /s /v/qnECHO.ECHO **********************************ECHO.*** Intalling some needed apps ***ECHO **********************************ECHO.ECHO Installing WinRAR 3.20ECHO Please wait...start /wait %systemdrive%\install\WinRAR\wrar330.exe /sECHO. Link to comment Share on other sites More sharing options...
jrzycrim Posted August 9, 2004 Share Posted August 9, 2004 Not sure about your winnt.sif problems. Many people have problems with components being installed despite those settings. Not really sure why...cmdlines.txt isn't like a normal cmd file.It needs to look like this:[commands]"command 1""command 2"I'd suggest you copy all of those commands you have to a .cmd file, say install.cmd, place it in the $OEM$ directory, and make your cmdlines.txt file look like this:[Commands]"install.cmd" Link to comment Share on other sites More sharing options...
what3v3r Posted August 9, 2004 Share Posted August 9, 2004 also, you can use "sleep.exe" (available here: http://unattended.msfn.org/xp/Downloads.htm ) instead of the ping commandusage: sleep [timetowait]you will have to copy it into your $OEM$\$$\ folder.or into your windows folder for testing purposes Link to comment Share on other sites More sharing options...
rustycaps Posted August 9, 2004 Share Posted August 9, 2004 I had the same problem with the Windows Messenger and MSN Explorer components being installed, though SP2 has some weird new msmq_ entries in the components section now it seems, but even the msnexplr = off didn't work. I had the msmsg = off option as well as the above msnexplr = off in winnt.sif and both still got installed, so I guess there's some other setting to totally disable them.I tested through VMWare using a GUIAttended install, instead of a normal full unattended, but this was just a basic SP2 only install, with a few files in the $oem$ folders. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now