gai-jin Posted August 19, 2004 Posted August 19, 2004 Okay, can anybody help me with this? I'm trying to convert everything to a RunOnceEX format instead of batch format, but not sure if I've got this setup right. I had trouble understanding gosh's tutorial, and also am not clear at all on the format of the registry entries under the '13min' section. (and, the way I have this setup now, will the 13 min section even be run?) All feedback and corrections greatly appreciated.Runonceex.inf[Version]Signature=$CHICAGO$[DefaultInstall]AddReg = RunXP[XP]AddReg = RunXP[RunXP];http://support.microsoft.com/?kbid=232509HKLM,"%RunOnceEx%\",Title,0,"Installing Applications"HKLM,"%RunOnceEx%\",Flags,0x00010001,20HKLM,"%RunOnceEx%\install01",,,".NET Framework v1.1"HKLM,"%RunOnceEx%\install01",1,,"%24%\install\NetFramework\netfx.msi /qn"HKLM,"%RunOnceEx%\install02",,,"McAfee Antivirus"HKLM,"%RunOnceEx%\install02",1,,"%24%\install\applications\vse7\vse700.msi /qn"HKLM,"%RunOnceEx%\install03",,,"Office 2003 Professional"HKLM,"%RunOnceEx%\install03",1,,"%24%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qn"HKLM,"%RunOnceEx%\install04",,,"Adobe Acrobat 6"HKLM,"%RunOnceEx%\install04",1,,"%24%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p"""-s /v\"""/qn\"""HKLM,"%RunOnceEx%\install05",,,"Lavasoft Ad-Aware SE"HKLM,"%RunOnceEx%\install05",1,,"%24%\install\applications\adaware\aawsepersonal.exe /s"HKLM,"%RunOnceEx%\install06",,,"Sun Java VM 1.4.2"HKLM,"%RunOnceEx%\install06",1,,"%24%\install\Applications\SunJava\j2re-1_4_2_04-windows-i586-p.exe /s /v /qn"HKLM,"%RunOnceEx%\install07",,,"Powertoys for Windows XP"HKLM,"%RunOnceEx%\install07",1,,"%24%\install\Applications\PowerToys\ImageResizerPowertoySetup.exe /s /v/qn"HKLM,"%RunOnceEx%\install07",2,,"%24%\install\Applications\PowerToys\CmdHerePowertoySetup.exe /s /v/qn"HKLM,"%RunOnceEx%\install07",3,,"%24%\install\applications\PowerToys\TweakUI.msi /qb"HKLM,"%RunOnceEx%\install08",,,"Google Toolbar"HKLM,"%RunOnceEx%\install08",1,,"%24%\install\applications\googlebar\google.exe /q"HKLM,"%RunOnceEx%\install09",,,"Nero Burning Rom 6"HKLM,"%RunOnceEx%\install09",1,,"%24%\install\Applications\Nero\Nero63120.exe /SN=xxxx-aaaa-bbbb-cccc-dddd-yyyy /Write_SN /Silent /NoReboot" /f"HKLM,"%RunOnceEx%\install10",,,"Nero Mix"HKLM,"%RunOnceEx%\install10",1,,"%24%\install\Applications\Nero\NeroMIX14022b.exe /SN=xxxx-aaaa-bbbb-cccc-dddd-yyyy /Write_SN /Silent /NoReboot" /f"HKLM,"%RunOnceEx%\install11",,,"Nero Media Player"HKLM,"%RunOnceEx%\install11",1,,"%24%\install\Applications\Nero\NMP14022b.exe /SN=xxxx-aaaa-bbbb-cccc-dddd-yyyy /Write_SN /Silent /NoReboot" /f"HKLM,"%RunOnceEx%\install12",,,"Nero Vision Express 2"HKLM,"%RunOnceEx%\install12",1,,"%24%\install\Applications\Nero\nve21218.exe /SN=xxxx-aaaa-bbbb-cccc-dddd-yyyy /Write_SN /Silent /NoReboot" /f"HKLM,"%RunOnceEx%\install13",,,"Winrar 3.30"HKLM,"%RunOnceEx%\install13",1,,"%24%\install\Applications\WinRAR\wrar330.exe /s"HKLM,"%RunOnceEx%\ZZcleanup",,,"Cleaning up"HKLM,"%RunOnceEx%\ZZcleanup",1,,"%10%\Apps\cleanup.bat"HKLM,"%RunOnceEx%\ZZcleanup",2,,"%11%\cmd.exe /c rd /S /Q %24%\Install"HKLM,"%RunOnceEx%\ZZcleanup",3,,"%11%\cmd.exe /c del /Q """%16409%\Nero StartSmart.lnk"""HKLM,"%RunOnceEx%\ZZcleanup",4,,"%11%\cmd.exe /c del /Q """%16409%\Adobe Reader 6.0.lnk"""HKLM,"%RunOnceEx%\ZZcleanup",5,,"%11%\cmd.exe /c del /Q """%16407%\PrintMe Internet Printing"""HKLM,"%RunOnceEx%\ZZcleanup",6,,"%11%\cmd.exe /c rd /S /Q """%16407%\PrintMe Internet Printing"""[Post]AddReg=13min[13min]HKLM,"SOFTWARE\Ahead\Nero - Burning Rom\Info","User","PCOwner"HKLM,"SOFTWARE\Ahead\Nero - Burning Rom\Info","Company","None"HKLM,"SOFTWARE\Ahead\Nero - Burning Rom\Info","Serial6","xxxx-aaaa-bbbb-cccc-dddd-yyyy"HKLM,"SOFTWARE\Ahead\NeroVision\Info","User","PCOwner"HKLM,"SOFTWARE\Ahead\NeroVision\Info","Company","None"HKLM,"SOFTWARE\Ahead\NeroVision\Info","Serial6","xxxx-aaaa-bbbb-cccc-dddd-yyyy"HKLM,"SOFTWARE\Ahead\NeroMix\Info","User","PCOwner"HKLM,"SOFTWARE\Ahead\NeroMix\Info","Company","None"HKLM,"SOFTWARE\Ahead\NeroMix\Info","Serial6","xxxx-aaaa-bbbb-cccc-dddd-yyyy"HKLM,"SYSTEM\ControlSet001\Control\Terminal Server\Licensing Core","EnableConcurrentSessions",0x00000001HKLM,"\SYSTEM\CurrentControlSet\Control\","WaitToKillServiceTimeout"="3000"HKLM,"\SOFTWARE\Microsoft\PCHealth\ErrorReporting","DoReport"=0x00000000HKCU,"Software\mIRC\License",@,"10572-999922"HKCU,"Software\mIRC\UserName",@,"Free Version"[Strings]RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx"new.inf[Version]Signature=$CHICAGO$[newhive]HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",,0x00000012HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",Title,0x00000000,"Applying custom settings"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",Flags,0x00010001,0x00000020HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Infs",,,"Applying Inf's"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Infs",1,,"rundll32 setupapi,InstallHinfSection XP 128 ..\Windows\Inf\runonceex.inf";HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Infs",2,,"rundll32 setupapi,InstallHinfSection DefaultInstall 128 ..\Windows\Inf\Install.inf"cd2.cmd CLS@ECHO OFFECHO.ECHO Ejecting CD-ROM Drives...ECHO If you are using a cd rom please remove it fromECHO the cdrom drive and If you have a second cd placeECHO it in the drive at this time please.ECHO.ECHO.ECHO Wait till the cdrom/dvd drive quits blinkingECHO and then press any key to continue.start %systemdrive%\install\Tools\cdr openECHO.PAUSEIF EXIST %systemdrive%\install\runonce.cmd GOTO RUNBATCHSET CDROM2=IF EXIST D:\install\runonce.cmd SET CDROM2=D:IF EXIST E:\install\runonce.cmd SET CDROM2=E:IF EXIST F:\install\runonce.cmd SET CDROM2=F:IF EXIST G:\install\runonce.cmd SET CDROM2=G:IF EXIST H:\install\runonce.cmd SET CDROM2=H:IF EXIST I:\install\runonce.cmd SET CDROM2=I:IF EXIST J:\install\runonce.cmd SET CDROM2=J:IF EXIST K:\install\runonce.cmd SET CDROM2=K:ECHO Please be patient while files are copied to your hard drive.xcopy %CDROM2%\install %systemdrive%\install\ /S /C /Q /H /YECHO.ECHO.::ECHO Deleting Temp Installation Files...::RD /S /Q %systemdrive%\install::RD /S /Q %systemdrive%\Drivers::ECHO.EXIT
Astalavista Posted August 19, 2004 Posted August 19, 2004 did u do this yourself or did u find some kind of guide somewhere. i hv never seen a runonceex code like this before.
gai-jin Posted August 19, 2004 Author Posted August 19, 2004 I cobbled it together from the gosh guide. I re-did much of it, so i'm sure there are probably many mistakes. But I don't know what to look for, and the gosh guide seems very difficult to understand clearly.
Astalavista Posted August 19, 2004 Posted August 19, 2004 ahhh.... now i remember. i tried to do gosh's method a while back. i gave up. question with more and more computers coming with DVDdrives why are u doing 2 cd install? it looks like u hv to pm annon and allonol
gai-jin Posted August 19, 2004 Author Posted August 19, 2004 Need a 2 cd install for on specific system, can't go just to dvd yet. What is a better method for runonceex?
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