wnr Posted October 19, 2004 Posted October 19, 2004 Ok i have made my unattended cd, Windows XP PRO with SP2 slipstreamed, but when i test it, it doesnt skip the part where you enter your serial, which im not really bothered about, but the main thing is when it starts up i want it to install the programs i have put into it.I want this to show up, but it doesnt. my programs dont get installed but only get put into c:\install\.Can anyone help me?Here are my winnt.sif and runonceex.cmd files;SetupMgrTag[Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes"[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=No TargetPath=\WINDOWS OemPreinstall=Yes UnattendSwitch="yes"[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=85 OemSkipWelcome=1[UserData] ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX FullName="Name" OrgName="Company" ComputerName=COMP[Display] BitsPerPel=32 Xresolution=800 YResolution=600 Vrefresh=70[RegionalSettings] LanguageGroup=1 Language=00000809[Identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=Yes[Components] msmsgs=off msnexplr=off freecell=off hearts=off minesweeper=off pinball=off solitaire=off spider=off zonegames=off[GuiRunOnce] %systemdrive%\RunOnceEX.cmdAnd heres the batch file:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications." /fREG ADD %KEY%\005 /VE /D "Installing Ad-aware SE Professional" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Applications\Ad-Aware\Ad-Aware.SE.Pro.v1.05.exe" /fREG ADD %KEY%\015 /VE /D "Installing Alcohol 120%" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\Applications\Alcohol_120%\Alcohol120%_Setup.exe" /fREG ADD %KEY%\025 /VE /D "Installing AnyDVD" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\Install\Applications\AnyDVD\AnyDVD_Setup.exe" /fREG ADD %KEY%\030 /VE /D "Installing CloneDVD" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\Applications\CloneDVD\CloneDVD_Setup.exe" /fREG ADD %KEY%\035 /VE /D "Installing **** NFO Viewer" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\Install\Applications\DamnNFO_Viewer\DAmnNFO_Viewer.exe" /fREG ADD %KEY%\037 /VE /D "Installing Diskeeper 9" /fREG ADD %KEY%\037 /V 1 /D "%systemdrive%\Install\Applications\Diskeeper\DiskeeperProfessional9.exe" /fREG ADD %KEY%\040 /VE /D "Installing Fraps" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\Applications\Fraps\Fraps.exe" /fREG ADD %KEY%\047 /VE /D "Installing MSN Messenger 7" /fREG ADD %KEY%\047 /V 1 /D "%systemdrive%\Install\Applications\MSN\MsnMsgs.msi" /fREG ADD %KEY%\050 /VE /D "Installing StyleXP" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\Applications\StyleXP\StyleXP.org" /fREG ADD %KEY%\053 /VE /D "Installing WinAMP" /fREG ADD %KEY%\053 /V 1 /D "%systemdrive%\Install\Applications\WinRAR\winamp504_full.exe" /fREG ADD %KEY%\055 /VE /D "Installing WinRAR 3.4" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\Install\Applications\WinRAR\wrar340.exe" /fREG ADD %KEY%\060 /VE /D "Installing WinZIP" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\Applications\WinZIP\SETUP.exe" /fREG ADD %KEY%\065 /VE /D "Installing Windows Media Player 10" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\Install\Applications\WMP10\MP10Setup.exe /q:A /c:\"setup.wm.exe /Q /R:N /DisallowSystemRestore\"" /fREG ADD %KEY%\070 /VE /D "Installing Microsoft Office XP" REG ADD %KEY%\070 /V 1 /D "$systemdrive%\install\Applications\OfficeXP\PRO11.msi TRANSFORMS=%systemdrive%\install\Applications\OfficeXP\Unattended.MST /qb-" /fREG ADD %KEY%\0 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\075 /V 1 /D "REGEDIT /S %systemdrive%\install\registry.reg" /fREG ADD %KEY%\080 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\apps\cleanup.cmd" /fEXITHope someone can help me with this. Im new to this so if theres anything wrong with these then please tell me.
lilweirddude Posted October 19, 2004 Posted October 19, 2004 are you calling runonceex from cmdlines?
wnr Posted October 19, 2004 Author Posted October 19, 2004 yeah i have a cmdlines.txt next the the batch file with [COMMANDS]"RunOnceEx.cmd"Also i have this cmdlines and runonceex.cmd in the $oem$ folder, does it have to be somewhere specific?
rx7tt Posted October 19, 2004 Posted October 19, 2004 Under the unattended section of your winnt file you have OemPreinstall listed twice once with no and the second with yes. This needs to be set to yes and only once.[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=No TargetPath=\WINDOWS OemPreinstall=Yes UnattendSwitch="yes"Yes and you have them where they should be.Also i have this cmdlines and runonceex.cmd in the $oem$ folder, does it have to be somewhere specific?Hope this helps...
wnr Posted October 19, 2004 Author Posted October 19, 2004 thanks im going to try it now.So will it now install the programs now?
rx7tt Posted October 19, 2004 Posted October 19, 2004 That was the problem when I first started setting up my UI and it fixed the problem however I am using a batch file(start.cmd) for my program instalations.I'll cross my fingures...
lodar123 Posted October 19, 2004 Posted October 19, 2004 The reason why you stop at the serial is because you useProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXXTry usingProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXXThis should fix your serial problemHope this help!
lodar123 Posted October 19, 2004 Posted October 19, 2004 Also... you should remove this from your winnt.sif since you are calling it from cmdlines.txt[GuiRunOnce] %systemdrive%\RunOnceEX.cmd
wnr Posted October 19, 2004 Author Posted October 19, 2004 Thanks im trying this the now, hopefully there wont be any problems
rx7tt Posted October 19, 2004 Posted October 19, 2004 According to Microsoft ProductKey is the new prefered method for this not ProductID. I have no problems with it using ProductKey.Try leaving it as ProductKey but wrapping it with "quotes"Eg ProductKey="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"The reason why you stop at the serial is because you useProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXXTry usingProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXXThis should fix your serial problem
wnr Posted October 19, 2004 Author Posted October 19, 2004 Ok well im just up to the point before it normally asks for the key so i will see if it does it, then i will try that way ^Thanks
wnr Posted October 19, 2004 Author Posted October 19, 2004 Well it works perfectly now, thanks But theres one other thing, when it was installing the programs there installers came up and i had to actually install them myself, rather than it doing it automatically,(or is that silently) How would i go about doing this?
lodar123 Posted October 20, 2004 Posted October 20, 2004 If you had to do it manually, probably you dont have the right switches for those apps
wnr Posted October 20, 2004 Author Posted October 20, 2004 hmm can you direct me to where i can find them?Also when it came to install office, it came up with an error, i cant remeber what it said but i think its got to do with the REG ADD %KEY%\070 /VE /D "Installing Microsoft Office XP" REG ADD %KEY%\070 /V 1 /D "$systemdrive%\install\Applications\OfficeXP\PRO11.msi TRANSFORMS=%systemdrive%\install\Applications\OfficeXP\Unattended.MST /qb-" /f
rx7tt Posted October 20, 2004 Posted October 20, 2004 You only have command line switches for WMP and Office.Check out the applications section of of unattended.msfn.org for some of the more popular ones.Also you can check the Application Switches Thread. This topic has alot of good ones Application Switches.Please feel free to reply or pm if there anr any you can't find or don't work correctly.Thanks
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now