lumted Posted April 17, 2005 Posted April 17, 2005 (edited) Following the guides on this site, and reading the forums, I've tried to create my own customized XP CD.I've been able to slipstream SP2, RVM Update Pack, the great driver packs and a few other things.I'm trying to automatically install apps with the RuneOnceEx method.This is my directory structure:XPCDROOT-> $OEM$ (cmdlines.txt and RunOnceEx.cmd is in this dir)---> $$ (cmdow and .inf files)------> system32---> $1------> install (all installers are in this dir)------> DP (BTS_DPs_Control_Panels.cmd)-> DOCS-> I386.....I'm using Virtual PC to test the CD.The problem occurs when it's time to install the apps. Windows says it can't find the installers (and not the BTS_DPs_Control_Panels.cmd file either).After Windows has finished booting, I go and take a look at the C drive. There is no "install" or "DP" directory in the systemdrive (C:\).Here are my files:cmdlines.txt:[COMMANDS]"RunOnceEx.cmd"RunOnceEx.cmd:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installerer programmer" /fREG ADD %KEY%\05 /VE /D "Mozilla Firefox 1.0.3" /fREG ADD %KEY%\05 /V 1 /D "%systemdrive%\install\Firefox_Setup_1.0.3.exe -ms" /fREG ADD %KEY%\10 /VE /D "Mozilla Thundebird 1.0.2" /fREG ADD %KEY%\10 /V 1 /D "%systemdrive%\install\Thunderbird_Setup_1.0.2.exe -ms" /fREG ADD %KEY%\15 /VE /D "Nero 6.6.0.8 Ultra Edition" /fREG ADD %KEY%\15 /V 1 /D "%systemdrive%\install\Nero-6.6.0.8a.exe /SILENT /NOREBOOT /SN=..... /WRITE_SN" /fREG ADD %KEY%\20 /VE /D "Java Runtime Enviroment 5.0.2" /fREG ADD %KEY%\20 /V 1 /D "%systemdrive%\install\jre-1_5_0_02-windows-i586-p.exe /S /v/qn IEXPLORER=1 MOZILLA=1 REBOOT=ReallySuppress" /fREG ADD %KEY%\25 /VE /D "WinAmp 5.08 Pro" /fREG ADD %KEY%\25 /V 1 /D "%systemdrive%\install\Winamp5.08.msi /qn XName=\"....\" XKey=\".....\" Xaudio=1 Xvideo=0 XQuicklaunch=1 XREGVID=0 Xvisual=1 Xextra=1 Xmodernskin=1" /fREG ADD %KEY%\30 /VE /D "DVD Decrypter 3.5.4.0" /fREG ADD %KEY%\30 /V 1 /D "%systemdrive%\install\SetupDVDDecrypter_3.5.4.0.exe /S" /fREG ADD %KEY%\35 /VE /D "eMule 0.45b" /fREG ADD %KEY%\35 /V 1 /D "%systemdrive%\install\eMule0.45b-Installer.exe /S" /fREG ADD %KEY%\40 /VE /D "Azureus 2.2.0.2" /fREG ADD %KEY%\40 /V 1 /D "%systemdrive%\install\Azureus_2.2.0.2_Win32.setup.exe /S" /fREG ADD %KEY%\45 /VE /D "AC3 Filter 1.01" /fREG ADD %KEY%\45 /V 1 /D "%systemdrive%\install\ac3filter_1_01a_rc5.exe /S" /fREG ADD %KEY%\45 /VE /D "XviD 1.0.3" /fREG ADD %KEY%\45 /V 1 /D "%systemdrive%\install\XviD-1.0.3-20122004.exe /VERYSILENT /SP-" /fREG ADD %KEY%\50 /VE /D "VobSub 2.23" /fREG ADD %KEY%\50 /V 1 /D "%systemdrive%\install\VobSub_2.23.exe /S" /fREG ADD %KEY%\55 /VE /D "Office 2003 Norsk med SP1" /fREG ADD %KEY%\55 /V 1 /D "%systemdrive%\install\Office2003nor\setup.exe TRANSFORMS=Unattended.MST /qb-" /fDoing a bit more checking, I see that cmdow.exe in the $$ folder has been copied to the system32 folder.So, what am I doing wrong? Why are not the files in the $OEM$\$1\install folder on the CD copied over to c:\intall during installation? Edited April 17, 2005 by lumted
Alanoll Posted April 17, 2005 Posted April 17, 2005 You do have OEMPreInstall=YES in your WINNT.SIF file?
lumted Posted April 17, 2005 Author Posted April 17, 2005 Doh! This was my winnt.sif:[Data] MSDosInitiated= "No"[GUIRunOnce] command8= "%SystemDrive%\DP\BTS_DPs_Control_Panels.cmd" command9= "CMD /C RD /S /Q %SystemDrive%\DP"New winnt.sif:;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="No" UnattendedInstall="Yes"[Unattended] UnattendMode=ProvideDefault OemPreinstall=Yes TargetPath=\WINDOWS[GuiUnattended] EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=110[UserData] ProductKey=.... FullName="" OrgName=""[Display] BitsPerPel=32 Xresolution=640 YResolution=480 Vrefresh=60[RegionalSettings] LanguageGroup=1 SystemLocale=00000409 UserLocale=00000414 InputLocale=0414:00000414[Branding] BrandIEUsingUnattended=Yes[URL] Home_Page=http://www.google.no Search_Page=http://www.google.no[Proxy] Proxy_Enable=0 Use_Same_Proxy=1[Identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=Yes[GUIRunOnce] command8= "%SystemDrive%\DP\BTS_DPs_Control_Panels.cmd" command9= "CMD /C RD /S /Q %SystemDrive%\DP"
bledd Posted April 17, 2005 Posted April 17, 2005 my cmdlines and RunOnceEx are in the $oem$ folder, NOT the $1 folder...
lumted Posted April 17, 2005 Author Posted April 17, 2005 So are mine, I made a mistake while typing the directory structure. Thanks for the help
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