MAVERICKS CHOICE Posted May 25, 2004 Share Posted May 25, 2004 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 More sharing options...
Alanoll Posted May 25, 2004 Share Posted May 25, 2004 where is Chris's guide?I knwo of this one...http://unattended.msfn.org/xp/runonceex.htmand this one:http://unattended.msfn.org/xp/runonceex_cd.htmand there are a few posts I've seen in the forum.....Perhaps explaining a bit better of what you've done? Link to comment Share on other sites More sharing options...
crck3rz Posted May 25, 2004 Share Posted May 25, 2004 Please see attached file image for better understandingAlong 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 cdInside 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 hardwareInside $$ 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:NKB822603.exe /U /Q /O /N /ZKB826939.exe /U /Q /O /N /ZKB828035.exe /U /Q /O /N /ZKB828741.EXE /U /Q /O /N /ZKB833407.exe /U /Q /O /N /ZKB835732.EXE /U /Q /O /N /ZKB837001.EXE /U /Q /O /N /ZKB837009.exe /Q:A /R:Nq826939.exe /q /n /zQ831167.exe /Q:A /R:NQ832894.exe /Q:A /R:NWMP9MM2.exeQ828026.exe /U /Q /O /N /ZQchain.exeDX9NTopk.exe------------------END---------------My RunOnceEX.cmd is made as follows:cmdow @ /HID@echo offIF 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\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\software\acrobat\ar6.msi /qn" /fREG ADD %KEY%\010 /VE /D "WinRAR 3.3" /fREG ADD %KEY%\010 /V 1 /D "%CDROM%\software\wrar.exe /s" /fREG ADD %KEY%\015 /VE /D "Netscape Navigator" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\software\ns702base.exe -ms -ira -ispf" /fREG ADD %KEY%\020 /VE /D "Gspot Codec Utility" /fREG ADD %KEY%\020 /V 1 /D "%CDROM%\software\gspot.exe /S" /fREG ADD %KEY%\025 /VE /D "Forte Agent Newsreader" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\software\forte.exe /s" /fREG ADD %KEY%\030 /VE /D "Nero Ultra 6.3" /fREG ADD %KEY%\030 /V 1 /D "%CDROM%\software\nero63.exe /silent /noreboot /no_ui /sn= /write_sn" /fREG ADD %KEY%\035 /VE /D "MSN Messenger 6.2" /fREG ADD %KEY%\035 /V 1 /D "%CDROM%\software\msn.msi /QB" /fREG ADD %KEY%\040 /VE /D "Winamp 5.3" /fREG ADD %KEY%\040 /V 1 /D "%CDROM%\software\winamp.exe /S" /fREG ADD %KEY%\040 /V 2 /D "pskill winamp" /fREG ADD %KEY%\045 /VE /D "PowerDVD and PowerVCR" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%\software\powerdvd\Setup.exe -s %CDROM%\software\PowerDVD\setup.iss /S" /fREG ADD %KEY%\045 /V 2 /D "%CDROM%\software\powervcr\Setup.exe -s %CDROM%\software\Powervcr\setup.iss /S" /fREG ADD %KEY%\050 /VE /D "Norton Anti-Virus 2003" /fREG ADD %KEY%\050 /V 1 /D "%CDROM%\software\nsw2003\Setup.exe /qb REBOOT=ReallySuppress" /fREG ADD %KEY%\055 /VE /D "AutoRoute 2004 Professional" /fREG ADD %KEY%\055 /V 1 /D "%CDROM%\software\autorte\MSMap\data.msi /qb" /fREG ADD %KEY%\060 /VE /D "Paint Shop Professional 8" /fREG ADD %KEY%\060 /V 1 /D "%CDROM%\software\psp\psp.msi /qn" /fREG ADD %KEY%\065 /VE /D "Real Player Gold" /fREG ADD %KEY%\065 /V 1 /D "%CDROM%\software\real.exe -s" /fREG ADD %KEY%\070 /VE /D "Microsoft Office 2003 with Frontpage" /fREG ADD %KEY%\070 /V 1 /D "%CDROM%\software\office\setup.exe TRANSFORMS=Unattend.MST /qb-" /fREG ADD %KEY%\070 /V 2 /D "%CDROM%\software\frontpage\setup.exe TRANSFORMS=Unattend.MST /qb-" /fREG ADD %KEY%\075 /VE /D "Audio ToolKit" /fREG ADD %KEY%\075 /V 1 /D "%CDROM%\software\amm.exe /SILENT /SP-" /fREG ADD %KEY%\080 /VE /D "AnyDVD and CloneDVD" /fREG ADD %KEY%\080 /V 1 /D "%CDROM%\software\starter.exe anydvd.exe" /fREG ADD %KEY%\080 /V 2 /D "%CDROM%\software\start.exe clone.exe" /fREG ADD %KEY%\090 /VE /D "UltraISo Utility" /fREG ADD %KEY%\090 /V 1 /D "%CDROM%\software\iso.exe /VERYSILENT" /fREG ADD %KEY%\090 /V 2 /D "%CDROM%\software\ultraiso.exe" /fREG ADD %KEY%\091 /VE /D "Microsoft VM Java and Update" /fREG ADD %KEY%\091 /V 1 /D "%CDROM%\software\jone.exe /Q:A /R:N" /fREG ADD %KEY%\091 /V 2 /D "%CDROM%\software\jtwo.exe /Q:A /R:N" /fREG ADD %KEY%\095 /VE /D "Sygate Firewall Professional" /fREG ADD %KEY%\095 /V 1 /D "%CDROM%\software\firewall.exe /QB Reboot=Supress" /fREG ADD %KEY%\095 /V 2 /D "REGEDIT /S %CDROM%\software\registers.reg" /fREG ADD %KEY%\100 /VE /D "Updating Registry" /fREG ADD %KEY%\100 /V 1 /D "regsvr32.exe %systemroot%\system32\divxdec.ax /s" /fREG ADD %KEY%\100 /V 2 /D "regsvr32.exe %systemroot%\system32\ac3filter.ax /s" /fREG ADD %KEY%\100 /V 3 /D "regsvr32.exe %systemroot%\system32\xvid.ax /s" /fREG ADD %KEY%\100 /V 4 /D "REGEDIT /S %CDROM%\Software\tweaks.reg" /fREG ADD %KEY%\105 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\105 /V 1 /D "%CDROM%\cleanup.cmd" /fEXITThat 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 Link to comment Share on other sites More sharing options...
Alanoll Posted May 25, 2004 Share Posted May 25, 2004 Please use code tags when posting code..... Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted May 26, 2004 Author Share Posted May 26, 2004 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 More sharing options...
Alanoll Posted May 26, 2004 Share Posted May 26, 2004 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." /fREG 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." /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\METAPAD.CMD %CDROM%" /fand in METAPAD.CMDcopy %1\Software\Metapad %systemdrive%\WindowsREG ADD %KEY%\016 /VE /D "Metapad 3.5 Filters" /fREG ADD %KEY%\016 /V 1 /D REGEDIT /S "%CDROM%\Software\metapad\filters.reg" /fshould beREG ADD %KEY%\016 /VE /D "Metapad 3.5 Filters" /fREG ADD %KEY%\016 /V 1 /D "REGEDIT /S "%CDROM%\Software\metapad\filters.reg" /fREG ADD %KEY%\035 /VE /D ".NET Framework v1.1" /fREG ADD %KEY%\035 /V 1 /D "%CDROM%\Software\NetFramework\netfx.msi /qb /fshould beREG ADD %KEY%\035 /VE /D ".NET Framework v1.1" /fREG ADD %KEY%\035 /V 1 /D "%CDROM%\Software\NetFramework\netfx.msi /qb" /fREG 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" /fshould probally beREG 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" /fAs 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 More sharing options...
MAVERICKS CHOICE Posted May 26, 2004 Author Share Posted May 26, 2004 Thanks Alanoll I'll try that tonight. Link to comment Share on other sites More sharing options...
crck3rz Posted May 26, 2004 Share Posted May 26, 2004 Shouldn't the OEM directory be labelled $OEM$ for it to work Link to comment Share on other sites More sharing options...
crck3rz Posted May 26, 2004 Share Posted May 26, 2004 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 More sharing options...
MAVERICKS CHOICE Posted May 26, 2004 Author Share Posted May 26, 2004 Shouldn't the OEM directory be labelled $OEM$ for it to workYes youv'e got a point there.EditOK 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 More sharing options...
Alanoll Posted May 26, 2004 Share Posted May 26, 2004 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 More sharing options...
crck3rz Posted May 26, 2004 Share Posted May 26, 2004 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 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