December 19, 200421 yr How coem my runonceex executes itself at the 12min mark of windows setup instead of on first login????heres my runonceex.cmd codecmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Productivity Software - Step 1 of 6" /f REG ADD %KEY%\005 /VE /D "MS Office 2003 Pro" /f REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" /fstart /wait rundll32.exe iernonce.dll,RunOnceExProcess
December 19, 200421 yr runonce will be processed when the cmdlines.txt is processed... appx the t-12 mark. Once setup reboots, upon login the programs scheduled to run will run... i.e. office will be installed.
December 19, 200421 yr Author yes but when i run my test iso ion vmware at 12 min mark the windows start loading up trying to install the software
December 19, 200421 yr REMOVE THIS:start /wait rundll32.exe iernonce.dll,RunOnceExProcessthis is launching the RunOnceEx process immediatly!
December 19, 200421 yr Author ok but iam trying to create several differnt windows for the pgms.... should i just remove the last line??? here my FULL code... to the point i am at... (not finished)cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Productivity Software - Step 1 of 6" /f REG ADD %KEY%\005 /VE /D "MS Office 2003 Pro" /f REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" /f REG ADD %KEY%\010 /VE /D "MS Frontpage 2003" /f REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Applications\Office2003\frontpage\setup.exe TRANSFORMS=fpgUnattended.MST /qb-" /f REG ADD %KEY%\015 /VE /D "MS Visio 2003 Pro" /f REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Applications\Office2003\visio\setup.exe TRANSFORMS=visioUnattended.MST /qb-" /f REG ADD %KEY%\020 /VE /D "MS Onenote 2003" /f REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\Applications\Office2003\onenote\setup.exe TRANSFORMS=onoteUnattended.MST /qb-" /f REG ADD %KEY%\025 /VE /D "MS Project 2003" /f REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\Applications\Office2003\project\setup.exe TRANSFORMS=projectUnattended.MST /qb-" /fstart /wait rundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Installing ATI Software - Step 2 of " /f REG ADD %KEY%\030 /VE /D "ATI Catalyst Drivers 4.12" /f REG ADD %KEY%\030 /V 1 /D "%systemdrive%\INSTALL\APPLICATIONS\ATI\Driver\SETUP.EXE -S" /f REG ADD %KEY%\035 /VE /D "ATI Catalyst Control Panel" /f REG ADD %KEY%\035 /V 1 / D "%systemdrive%\INSTALL\APPLICATIONS\ATI\CP\SETUP.EXE -S" /f REG ADD %KEY%\040 /VE /D "ATI WDM DRIVERS" /f REG ADD %KEY%\040 /V 1 /D "%systemdrive%\INSTALL\APPLICATIONS\ATI\WDM\SETUP.EXE -S" /f REG ADD %KEY%\045 /VE /D "ATI DAO" /f REG ADD %KEY%\045 /V 1 /D "%systemdrive%\INSTALL\APPLICATIONS\ATI\DAO\SETUP.EXE" /f REG ADD %KEY%\050 /VE /D "ATI MMC 9.0" /f REG ADD %KEY%\050 /V 1 /D "%systemdrive%\INSTALL\APPLICATIONS\ATI\MMC\SETUP.EXE -S" /f REG ADD %KEY%\055 /VE /D "ATI Remote Wonder 2.3" /f REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\Applications\ATI\RW\SETUP.EXE -S" /fstart /wait rundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Installing Device Drivers - Step 3 of " /f REG ADD %KEY%\060 /VE /D "Audio Drivers" /f REG ADD %KEY%\060 /V 1 /D "%systemdrive%\INSTALL\APPLICATIONS\Drivers\Sound\SETUP.EXE -S" /f REG ADD %KEY%\065 /VE /D "Keyboard Drivers" /f REG ADD %KEY%\065 /V 1 /D "%systemdrive%\INSTALL\APPLICATIONS\Drivers\Keyboard\setup\SETUP.EXE -S" /f REG ADD %KEY%\070 /VE /D "Network Interafce Card Drivers" /f REG ADD %KEY%\070 /V 1 /D "%systemdrive%\INSTALL\APPLICATIONS\Drivers\NIC\SETUP.EXE -S" /fstart /wait rundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Installing Security Software - Step 4 of " /f REG ADD %KEY%\075 /VE /D "Norton Systemworks 2003" /f REG ADD %KEY%\075 /V 1 /D "%systemdrive%\INSTALL\APPLICATIONS\Systemworks2003\SETUP.EXE /qn /Reboot=Supress" /fstart /wait rundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Installing System Tools & Software - Step 2 of" /f REG ADD %KEY%\080 /VE /D "Win Zip 9.0" /f REG ADD %KEY%\080 /V 1 /D "%systemdrive%\Program Files\WinZip\winzip32.exe /noqp /notip /autoinstall" /f REG ADD %KEY%\085 /VE /D "Win Rar" /f REG ADD %KEY%\085 /V 1 /D " " /f REG ADD %KEY%\090 /VE /D "Win Iso" /f REG ADD %KEY%\090 /V 1 /D " " /f REG ADD %KEY%\100 /VE /D "Windows ZP Powertoys" /f REG ADD %KEY%\100 /V 1 /D " " /fstart /wait rundll32.exe iernonce.dll,RunOnceExProcessexit
December 19, 200421 yr This has already been discussed here:http://www.msfn.org/board/index.php?showtopic=30179&st=10andhttp://www.msfn.org/board/index.php?showto...unOnceExProcessPLEASE USE THE CODE TAG WHEN POSTING CODE!
December 19, 200421 yr Author ok ya but im just tryin to figure out why it is executing itself at the 12 min mark of setup instead of on first logon......??????i am followign those guides to make my multiple windows work (which they do) the problem is that my runonceex.cmd is executign itseld and tryin to run through each of those lines at the 12 min mark of setup
December 19, 200421 yr start /wait rundll32.exe iernonce.dll,RunOnceExProcessMine Works Perfect and I dont Have That line In Mine What So Evercmdow @ /HID@echo offfor %%i in (C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:) do if exist %%i\SETUP.exe set CDROM=%%iSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "The Install Section" /fREG ADD %KEY%\000 /VE /D "Preparing Installation..." /fREG ADD %KEY%\010 /VE /D "Installing Extra Codecs" /fREG ADD %KEY%\010 /V 1 /D "%CDROM%Apps\ACEMCP591\ACEMCP591PRO.EXE /silent /v/qb " /fREG ADD %KEY%\015 /VE /D "Alcohol120" /fREG ADD %KEY%\015 /V 1 /D "REGEDIT /S %CDROM%Apps\Alcohol\TestAlcohol.reg" /fREG ADD %KEY%\015 /V 2 /D "%CDROM%Apps\Alcohol\setup.msi /qb/promtrestart" /fREG ADD %KEY%\020 /VE /D "Axialis IconWorkshop v5.03" /fREG ADD %KEY%\020 /V 1 /D "REGEDIT /S %CDROM%Apps\Axialis\HK_CU_RegAxialis.reg" /fREG ADD %KEY%\020 /V 1 /D "%CDROM%Apps\Axialis\Axialis.exe /s /v/qn" /fREG ADD %KEY%\025 /VE /D "Axialis Notes" /fREG ADD %KEY%\025 /V 2 /D "%CDROM%Apps\Axialis\Axialis.TXT /NOTEPAD.EXE" /fREG ADD %KEY%\030 /VE /D "BitTorrent" /fREG ADD %KEY%\030 /V 1 /D "%CDROM%Apps\BitTorrent\BitTorrent-3.4.2.exe /s /v/qn" /fREG ADD %KEY%\035 /VE /D "FlashPlayer7" /fREG ADD %KEY%\035 /V 1 /D "%CDROM%Apps\Flash\FlsPlyr7Inst.exe /s /v/qn" /REG ADD %KEY%\045 /VE /D "MicroAngelo57" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%Apps\MicroAngelo\MicroAngelo57.exe /silent /v/qb" /fREG ADD %KEY%\047 /VE /D "Mozilla" /fREG ADD %KEY%\047 /V 1 /D "%CDROM%Apps\Mozilla\Mozilla.exe" /fREG ADD %KEY%\050 /VE /D "MSN Messenger 6.2" /fREG ADD %KEY%\050 /V 1 /D "%CDROM%Apps\MsnMsgs\MsnMsgs.msi /qr" /fREG ADD %KEY%\054 /VE /D "NERO63115" /fREG ADD %KEY%\054 /V 1 /D "%CDROM%Apps\Nero\NERO63115.EXE /noreboot /Yes_ui /sn=ABCD-EFGH-IJKL-MNOP-QRST-1234 /write_sn" /fREG ADD %KEY%\063 /VE /D "ShockWave" /fREG ADD %KEY%\063 /V 1 /D "%CDROM%Apps\ShockWave\SckWveInstFull.exe /s /v/qn" /fREG ADD %KEY%\065 /VE /D "Spybot S&D 1.3" /fREG ADD %KEY%\065 /V 1 /D "%CDROM%Apps\Spybot\spybotsd13.exe /silent" /fREG ADD %KEY%\075 /VE /D "VXPv713" /fREG ADD %KEY%\075 /V 1 /D "REGEDIT %CDROM%Apps\VoXP\voptxp.reg" /fREG ADD %KEY%\075 /V 2 /D "%CDROM%Apps\VoXP\VXPv713.exe /s /v/qn" /fREG ADD %KEY%\080 /VE /D "VXP713 Update" /fREG ADD %KEY%\080 /V 1 /D "%CDROM%Apps\VoXP\VXP713Up.exe /s /v/qn" /fREG ADD %KEY%\083 /VE /D "Winamp5" /fREG ADD %KEY%\083 /V 1 /D "%CDROM%Apps\Winamp\Winamp5.msi Xname=Spad Xkey=XXXXX-XXXXX-XXXXX-XXXXX Xagent=0 Xlibrary=0 Xintex=1 Xmodernskin=1 Xaudio=1 Xvideo=0 Xvisual=0 Xextra=0 Xregopt=0 /qr" /fREG ADD %KEY%\090 /VE /D "Wrar320ce" /fREG ADD %KEY%\090 /V 1 /D "%CDROM%Apps\WinRar\wrar320ce.exe /silent /v/qn" /fREG ADD %KEY%\170 /VE /D "Preparing Final Clean up ..." /fREG ADD %KEY%\170 /V 1 /D "%CDROM%Apps\Cleanup.exe" /fEXITTry removing this line from yours, I counted there was 4 calls to this.start /wait rundll32.exe iernonce.dll,RunOnceExProcess
December 24, 200421 yr Basically what I did was made my last window for the complicated appz that couldn't be installed at the T-13 stage.Office of course being one of them. You must have been getting the write to registery error huh?The good news is you can load a few of these at the end if you change the resolution right before hand!REG ADD %KEY%\090 /VE /D "WinRAR 3.10" /fREG ADD %KEY%\090 /V 1 /D "%SystemDrive%\Install\WinRAR\WinRAR_3.10_CE.exe -s" /fREG ADD %KEY%\095 /VE /D "Continue to List 4 of 4" /frundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Installing After T-13 Applications" /fREG ADD %KEY%\100 /VE /D "Changing Resolution" /fREG ADD %KEY%\100 /V 1 /D "%SystemDrive%\Install\Res.cmd" /fREG ADD %KEY%\110 /VE /D "Office 2003 Pro" /fREG ADD %KEY%\110 /V 1 /D "%SystemDrive%\Install\Office\Office2003\PRO11.MSI /QB" /fREG ADD %KEY%\110 /V 2 /D "%SystemDrive%\Install\Office\Frontpage2003\FP11.MSI /QB" /fREG ADD %KEY%\110 /V 3 /D "%SystemDrive%\Install\Office\Project2003\PRJPROE.MSI /QB" /fREG ADD %KEY%\110 /V 4 /D "%SystemDrive%\Install\Office\OneNote2003\ONOTE11.MSI /QB" /fREG ADD %KEY%\110 /V 5 /D "%SystemDrive%\Install\Office\Visio2003\VISPRO.MSI /QB" /fetc...Trial and error as to what will need to be on the last list.CheersWisc
December 24, 200421 yr www2000Buzzman and the rest of us are already using WPI we already upgraded to WPI a week ago.
December 24, 200421 yr Just because WPI is the latest thing....wait till the next XPlode comes around
Create an account or sign in to comment