Jump to content

Runonce Ex - Problem Install


Recommended Posts

Followed Chris Kites guide in Runonce Ex from CD option.

It however only copies the hotfixes from Svpackinf & nothing else? No Mdac .cmd, Software or Reg file etc.

This is the first time I have ventured into this & was just wandering would anyone provide me some screenshots of their directory structures that I may compare as a solution to my error. Chris does supply some shots of his main structure but not of all directories.

Any help appreciated.

Link to comment
Share on other sites


Please see attached file image for better understanding

Along side the I386 folder I have a Software Folder and the $OEM$ folder.

In the root there is a file called CD.txt to allow RunOnceEx to run from CD. I also placed a file here called cleanup.cmd which also runs from the cd

Inside the Software folder is all my software, reg tweaks, registry entries(software registration).

Inside the $OEM$ folder is the files RunOnceEX.cmd, useraccount.cmd, Autologon.reg, and cmdlines.txt. This is where the folders $$, $1, $Progs, $Docs exist.

Inside $1 folder are the drivers for all my hardware

Inside $$ Folder Any files for the System32 folder such as DIVX, XVID, AC3 codecs.

$Docs and $Progs don't need to explain much, its just where i place MIRC and Overnet file sharing software.

SVCPACK folder is placed inside the I386 folder with all my updates and outlined below. SVCPACK.INF is placed inside the I386 folder

-----------------CUT--------------

[setupData]

CatalogSubDir="\I386\SvcPack"

[ProductCatalogsToInstall]

KB826939.cat

[setupHotfixesToRun]

js56nen.exe /Q:A /R:N

KB822603.exe /U /Q /O /N /Z

KB826939.exe /U /Q /O /N /Z

KB828035.exe /U /Q /O /N /Z

KB828741.EXE /U /Q /O /N /Z

KB833407.exe /U /Q /O /N /Z

KB835732.EXE /U /Q /O /N /Z

KB837001.EXE /U /Q /O /N /Z

KB837009.exe /Q:A /R:N

q826939.exe /q /n /z

Q831167.exe /Q:A /R:N

Q832894.exe /Q:A /R:N

WMP9MM2.exe

Q828026.exe /U /Q /O /N /Z

Qchain.exe

DX9NTopk.exe

------------------END---------------

My RunOnceEX.cmd is made as follows:

cmdow @ /HID

@echo off

IF EXIST D:\CD.txt set CDROM=D:

IF EXIST E:\CD.txt set CDROM=E:

IF EXIST F:\CD.txt set CDROM=F:

IF EXIST G:\CD.txt set CDROM=G:

IF EXIST H:\CD.txt set CDROM=H:

IF EXIST I:\CD.txt set CDROM=I:

IF EXIST J:\CD.txt set CDROM=J:

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

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /f

REG ADD %KEY%\005 /V 1 /D "%CDROM%\software\acrobat\ar6.msi /qn" /f

REG ADD %KEY%\010 /VE /D "WinRAR 3.3" /f

REG ADD %KEY%\010 /V 1 /D "%CDROM%\software\wrar.exe /s" /f

REG ADD %KEY%\015 /VE /D "Netscape Navigator" /f

REG ADD %KEY%\015 /V 1 /D "%CDROM%\software\ns702base.exe -ms -ira -ispf" /f

REG ADD %KEY%\020 /VE /D "Gspot Codec Utility" /f

REG ADD %KEY%\020 /V 1 /D "%CDROM%\software\gspot.exe /S" /f

REG ADD %KEY%\025 /VE /D "Forte Agent Newsreader" /f

REG ADD %KEY%\025 /V 1 /D "%CDROM%\software\forte.exe /s" /f

REG ADD %KEY%\030 /VE /D "Nero Ultra 6.3" /f

REG ADD %KEY%\030 /V 1 /D "%CDROM%\software\nero63.exe /silent /noreboot /no_ui /sn= /write_sn" /f

REG ADD %KEY%\035 /VE /D "MSN Messenger 6.2" /f

REG ADD %KEY%\035 /V 1 /D "%CDROM%\software\msn.msi /QB" /f

REG ADD %KEY%\040 /VE /D "Winamp 5.3" /f

REG ADD %KEY%\040 /V 1 /D "%CDROM%\software\winamp.exe /S" /f

REG ADD %KEY%\040 /V 2 /D "pskill winamp" /f

REG ADD %KEY%\045 /VE /D "PowerDVD and PowerVCR" /f

REG ADD %KEY%\045 /V 1 /D "%CDROM%\software\powerdvd\Setup.exe -s %CDROM%\software\PowerDVD\setup.iss /S" /f

REG ADD %KEY%\045 /V 2 /D "%CDROM%\software\powervcr\Setup.exe -s %CDROM%\software\Powervcr\setup.iss /S" /f

REG ADD %KEY%\050 /VE /D "Norton Anti-Virus 2003" /f

REG ADD %KEY%\050 /V 1 /D "%CDROM%\software\nsw2003\Setup.exe /qb REBOOT=ReallySuppress" /f

REG ADD %KEY%\055 /VE /D "AutoRoute 2004 Professional" /f

REG ADD %KEY%\055 /V 1 /D "%CDROM%\software\autorte\MSMap\data.msi /qb" /f

REG ADD %KEY%\060 /VE /D "Paint Shop Professional 8" /f

REG ADD %KEY%\060 /V 1 /D "%CDROM%\software\psp\psp.msi /qn" /f

REG ADD %KEY%\065 /VE /D "Real Player Gold" /f

REG ADD %KEY%\065 /V 1 /D "%CDROM%\software\real.exe -s" /f

REG ADD %KEY%\070 /VE /D "Microsoft Office 2003 with Frontpage" /f

REG ADD %KEY%\070 /V 1 /D "%CDROM%\software\office\setup.exe TRANSFORMS=Unattend.MST /qb-" /f

REG ADD %KEY%\070 /V 2 /D "%CDROM%\software\frontpage\setup.exe TRANSFORMS=Unattend.MST /qb-" /f

REG ADD %KEY%\075 /VE /D "Audio ToolKit" /f

REG ADD %KEY%\075 /V 1 /D "%CDROM%\software\amm.exe /SILENT /SP-" /f

REG ADD %KEY%\080 /VE /D "AnyDVD and CloneDVD" /f

REG ADD %KEY%\080 /V 1 /D "%CDROM%\software\starter.exe anydvd.exe" /f

REG ADD %KEY%\080 /V 2 /D "%CDROM%\software\start.exe clone.exe" /f

REG ADD %KEY%\090 /VE /D "UltraISo Utility" /f

REG ADD %KEY%\090 /V 1 /D "%CDROM%\software\iso.exe /VERYSILENT" /f

REG ADD %KEY%\090 /V 2 /D "%CDROM%\software\ultraiso.exe" /f

REG ADD %KEY%\091 /VE /D "Microsoft VM Java and Update" /f

REG ADD %KEY%\091 /V 1 /D "%CDROM%\software\jone.exe /Q:A /R:N" /f

REG ADD %KEY%\091 /V 2 /D "%CDROM%\software\jtwo.exe /Q:A /R:N" /f

REG ADD %KEY%\095 /VE /D "Sygate Firewall Professional" /f

REG ADD %KEY%\095 /V 1 /D "%CDROM%\software\firewall.exe /QB Reboot=Supress" /f

REG ADD %KEY%\095 /V 2 /D "REGEDIT /S %CDROM%\software\registers.reg" /f

REG ADD %KEY%\100 /VE /D "Updating Registry" /f

REG ADD %KEY%\100 /V 1 /D "regsvr32.exe %systemroot%\system32\divxdec.ax /s" /f

REG ADD %KEY%\100 /V 2 /D "regsvr32.exe %systemroot%\system32\ac3filter.ax /s" /f

REG ADD %KEY%\100 /V 3 /D "regsvr32.exe %systemroot%\system32\xvid.ax /s" /f

REG ADD %KEY%\100 /V 4 /D "REGEDIT /S %CDROM%\Software\tweaks.reg" /f

REG ADD %KEY%\105 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\105 /V 1 /D "%CDROM%\cleanup.cmd" /f

EXIT

That is it. the cd as been working for the past month, however has since changed to suit my own personal needs. The Unattended cd's i have created have been done so by following the unattended xp cd site found on MSFN homepage.

Any comments greatly appreciated, always room for improvement

post-70-1085522059_thumb.jpg

Link to comment
Share on other sites

OK Alanoll, posted my Dirs of the RunonceEx unattended. Like I said installation works normal but RunonceEx fails to start @ T13 all hotfixes load ok under Svpackinf method. Winnt.sif all GUIrunonce section is removed.

Any thoughts appreciated.

Link to comment
Share on other sites

just glancing through, you did wait untill the Desktop loads right? As that would be when RunOnceEX runs, unless you include the command for it to start.....

continueing to glance through...

Your Metapad entries aren't correct.

REG ADD %KEY%\015 /VE /D "Metapad 3.5." /f
REG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\metapad" "%systemdrive%\WINDOWS\"

Won't work. I'm guessing your copying files? You should use CMD.exe /C or just put the copy command in a seperate batch file to call. The batch file would be easier as you won't have to include embedded quotes. What you could use it something like....

REG ADD %KEY%\015 /VE /D "Metapad 3.5." /f
REG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\METAPAD.CMD %CDROM%" /f

and in METAPAD.CMD

copy %1\Software\Metapad %systemdrive%\Windows

REG ADD %KEY%\016 /VE /D "Metapad 3.5 Filters" /f
REG ADD %KEY%\016 /V 1 /D REGEDIT /S "%CDROM%\Software\metapad\filters.reg" /f

should be

REG ADD %KEY%\016 /VE /D "Metapad 3.5 Filters" /f
REG ADD %KEY%\016 /V 1 /D "REGEDIT /S "%CDROM%\Software\metapad\filters.reg" /f

REG ADD %KEY%\035 /VE /D ".NET Framework v1.1" /f
REG ADD %KEY%\035 /V 1 /D "%CDROM%\Software\NetFramework\netfx.msi /qb /f

should be

REG ADD %KEY%\035 /VE /D ".NET Framework v1.1" /f
REG ADD %KEY%\035 /V 1 /D "%CDROM%\Software\NetFramework\netfx.msi /qb" /f

REG ADD %KEY%\040 /VE /D "Office XP Professional with Frontpage"
REG ADD %KEY%\040 /V 1 /D "%CDROM%\Software\OfficeXP\setup.exe TRANSFORMS=%systemdrive%\install\Applications\OfficeXP\Unattended.MST /qb" /f

should probally be

REG ADD %KEY%\040 /VE /D "Office XP Professional with Frontpage"
REG ADD %KEY%\040 /V 1 /D "%CDROM%\Software\OfficeXP\setup.exe TRANSFORMS=%CDROM%\Software\OfficeXP\Unattended.MST /qb" /f

As for it not running, evertying looks right, unless it's these syntax errors and you're not waiting for the desktop to load. RunOnceEX loads the restart AFTER the keys are imported, so importing at CMDLINES.TXT would mean they're executed at GUIRunOnce point (when the actual desktop loads, after the user logs in)

Link to comment
Share on other sites

as for placing metapad in the windows folder why not create a folder on the CD called $$(which is alongside the $1 folder) and place metapad in it. Setup would copy it across during windows setup then all you would need in your RunOnceEx is the file to register the filters

Link to comment
Share on other sites

Shouldn't the OEM directory be labelled $OEM$ for it to work

Yes youv'e got a point there.

Edit

OK if I want to use this in my Multiboot dvd do I only require the Software Dir to be parallel with the the $oem$ & i386 Dirs in the actual OS setup folder or in the root of the disk?

Link to comment
Share on other sites

if CD.TXT is in the root of your driver, CDROM returns just the drive letter, so the SOFTWARE dir could be placed at the root of your structure. Otherwise all your paths will be %CDROM%\SETUP\XPVOL\SOFTWARE or something along those lines.

Link to comment
Share on other sites

Multi-Boot DVD

Software folder located in the root, alongside all the boot folders and boot files. That way i could install all my software from the dvd unattended regardless of which operating system I used.

Everything else, such as, RunOnceEx, Cmdlines.txt in the same place as the unattended xp cd

Link to comment
Share on other sites

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