Jump to content

Recommended Posts

Posted (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 off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installerer programmer" /f

REG ADD %KEY%\05 /VE /D "Mozilla Firefox 1.0.3" /f
REG ADD %KEY%\05 /V 1 /D "%systemdrive%\install\Firefox_Setup_1.0.3.exe -ms" /f

REG ADD %KEY%\10 /VE /D "Mozilla Thundebird 1.0.2" /f
REG ADD %KEY%\10 /V 1 /D "%systemdrive%\install\Thunderbird_Setup_1.0.2.exe -ms" /f

REG ADD %KEY%\15 /VE /D "Nero 6.6.0.8 Ultra Edition" /f
REG ADD %KEY%\15 /V 1 /D "%systemdrive%\install\Nero-6.6.0.8a.exe /SILENT /NOREBOOT /SN=..... /WRITE_SN" /f

REG ADD %KEY%\20 /VE /D "Java Runtime Enviroment 5.0.2" /f
REG 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" /f

REG ADD %KEY%\25 /VE /D "WinAmp 5.08 Pro" /f
REG 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" /f

REG ADD %KEY%\30 /VE /D "DVD Decrypter 3.5.4.0" /f
REG ADD %KEY%\30 /V 1 /D "%systemdrive%\install\SetupDVDDecrypter_3.5.4.0.exe /S" /f

REG ADD %KEY%\35 /VE /D "eMule 0.45b" /f
REG ADD %KEY%\35 /V 1 /D "%systemdrive%\install\eMule0.45b-Installer.exe /S" /f

REG ADD %KEY%\40 /VE /D "Azureus 2.2.0.2" /f
REG ADD %KEY%\40 /V 1 /D "%systemdrive%\install\Azureus_2.2.0.2_Win32.setup.exe /S" /f

REG ADD %KEY%\45 /VE /D "AC3 Filter 1.01" /f
REG ADD %KEY%\45 /V 1 /D "%systemdrive%\install\ac3filter_1_01a_rc5.exe /S" /f

REG ADD %KEY%\45 /VE /D "XviD 1.0.3" /f
REG ADD %KEY%\45 /V 1 /D "%systemdrive%\install\XviD-1.0.3-20122004.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\50 /VE /D "VobSub 2.23" /f
REG ADD %KEY%\50 /V 1 /D "%systemdrive%\install\VobSub_2.23.exe /S" /f

REG ADD %KEY%\55 /VE /D "Office 2003 Norsk med SP1" /f
REG ADD %KEY%\55 /V 1 /D "%systemdrive%\install\Office2003nor\setup.exe TRANSFORMS=Unattended.MST /qb-" /f

Doing 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 by lumted

Posted

Doh! :blushing:

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"

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...