OrcoXP Posted December 27, 2005 Posted December 27, 2005 I run mine from GUIRUNONCE in WINNT.SIFBut I also run a CMD file from CMDLINES.TXT inorder to apply some registry settings for the default user account
XcOM Posted August 20, 2006 Posted August 20, 2006 (edited) Hi, i know this is old, and prob dragging on,But i would like to confirm something,If i set the registry to launch the Runonce, IE,1st runonce CMD@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Adobe Reader v7" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\Install\Adobe\setupR.exe" /fREG ADD %KEY%\002 /VE /D "Firefox 1.5.0.6 Browser" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\Install\Firefox\Setup.msi /qb /norestart" /fREG ADD %KEY%\003 /VE /D "Nero Burning ROM 7 Lite" /fREG ADD %KEY%\003 /V 1 /D "%systemdrive%\Install\Nero\Setup.exe /VERYSILENT" /fREG ADD %KET%\003 /V 2 /D "%systemdrive%\Install\Nero\Setup.reg" /fREG ADD %KEY%\004 /VE /D "Java Runtime 5.0" /fREG ADD %KEY%\004 /V 1 /D "%systemdrive%\Install\Java\setup.exe" /fREG ADD %KEY%\005 /VE /D "Shockwave 10" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Adobe\SW.exe" /fREG ADD %KEY%\006 /VE /D "Micorosft.net 2" /fREG ADD %KEY%\006 /V 1 /D "%systemdrive%\Install\Microsoft\DOTnet\setup.exe" /fREG ADD %KEY%\007 /VE /D "Paint.NET" /fREG ADD %KEY%\007 /V 1 /D "%systemdrive%\Install\PaintNET\setup.exe" /fREG ADD %KEY%\008 /VE /D "Microsoft Office 2003 Pro" /fREG ADD %KEY%\008 /V 1 /D "%systemdrive%\Install\Office\2k3\setup.exe TRANSFORMS=Unattended.MST /qb-" /fREG ADD %KEY%\009 /VE /D "Microsoft Frontpage 2003" /fREG ADD %KEY%\009 /V 1 /D "%systemdrive%\Install\Office\FP\setup.exe TRANSFORMS=Unattended.MST /qb-" /fREG ADD %KEY%\010 /VE /D "Symantic Antivirus Corp 10" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\AV\SAV.msi /qb /norestart" /fREG ADD %KEY%\011 /VE /D "Zonealarm Pro" /fREG ADD %KEY%\011 /V 1 /D "%systemdrive%\Install\Fire\setup.exe /s /i /noreboot /lickey 6mw9gah8fnwq8wf033dca9xj2g0" /fREG ADD %KEY%\012 /VE /D "Codec Pack" /fREG ADD %KEY%\012 /V 1 /D "%systemdrive%\Install\Codec\fcpack.exe" /fREG ADD %KEY%\013 /VE /D "Fantom Virtual CD/DVD RW" /fREG ADD %KEY%\013 /V 1 /D "%systemdrive%\Install\Fantom\enu_tr.msi /qb /norestart" /fREG ADD %KEY%\014 /VE /D "Windows Live Messenger (MSN 8)" /fREG ADD %KEY%\014 /V 1 /D "%systemdrive%\Install\MSN\livemess.exe" /fREG ADD %KEY%\015 /VE /D "Registry Tweaks" /fREG ADD %KEY%\015 /V 1 /D "Regedit /s %systemdrive%\Install\Reg\tweaks.reg" /fREG ADD %KEY%\016 /VE /D "Cleanup" /fREG ADD %KEY%\016 /V 1 /D "%systemdrive%\Install\Cleanup.cmd" /fREG ADD %KEY%\017 /VE /D "System Patches" /fREG ADD %KEY%\017 /V 1 /D "%systemdrive%\Installs\Runonce2.cmd" /fREG ADD %KEY%\017 /V 2 /D "rundll32.exe iernonce.dll,RunOnceExProcess"--------------------------------Onceone2.bat@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\101 /VE /D "Patch1" /fREG ADD %KEY%\101 /V 1 /D "patch1_Path" /fREG ADD %KEY%\102 /VE /D "Patch1" /fREG ADD %KEY%\101 /V 1 /D "patch1_Path" /fExitMy problem being this, i would like the runonce window to popup, install some apps, then load another RunOnce window, this time installing patches, BUT, when this script is used, will the second RunOnce window start from the second BAT/CMD file, or will it try to install everything from the begining, i am not sure as i don't know if the RunOnce process deletes the registry entries as it goes or if it deletes the entrys after it has finished.Any help will be appreashed.Oh and BTW, Great guides. Come in very handy, WICKED site and forum. Edited August 20, 2006 by XcOM
XcOM Posted August 20, 2006 Posted August 20, 2006 (edited) EDITDOUBLE POST Edited August 20, 2006 by XcOM
muiz Posted August 21, 2006 Posted August 21, 2006 Thats what i like to know to.And what if i dont want a reboot?I saw that WPI started a few runonce without reboot.
embe Posted September 26, 2006 Posted September 26, 2006 Hi, below are my RunOnceEx and 2ndRunOnceex called from RunOnceEx. What I want is that RunOnceEx starts after 1st logon and 2ndRunOnceEx after RunOnceEx finish...The reason is that I have too many apps to install. Currently attached RunOnceEx and 2nd RunOnceEx starts prior to first logon, it runs when system "REGISTERING COMPONENTS" and "SAVES SETTINGS" etc. It causes problems coz Office XP isn`t installed for example...Can somebody advise what to change in both ROE so these runs after 1st logon? None of above posts doesn`t help...Thanks...!RunOnceEXcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "INSTALLING APPLICATIONS..." /fREG ADD %KEY%\005 /VE /D "NET FRAMEWORK 1.1 ALL IN" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\NetFramework\netfx.msi /qn" /fREG ADD %KEY%\005 /V 2 /D "%systemdrive%\install\Applications\NetFramework\NDP1.1sp1-KB867460-X86.exe /qb" /fREG ADD %KEY%\005 /V 3 /D "%systemdrive%\install\Applications\NetFramework\NDP1.1sp1-KB886903-X86.exe /qb" /fREG ADD %KEY%\010 /VE /D "MS OFFICE XP S FRONTPAGE" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Applications\OfficeXP\SETUP.exe TRANSFORMS=Unattended.MST /qn" /fREG ADD %KEY%\015 /VE /D "JAVA RUNTIME 5.0 UPDATE 8" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Applications\Java\jre1508.exe" /fREG ADD %KEY%\020 /VE /D "ADOBE READER 7.0.8 LITE" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\Applications\Adobe\AdobeReader708Lite.exe" /fREG ADD %KEY%\025 /VE /D "POWER DVD 7 DELUXE" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\Applications\PWDVD7\PowerDVD7.exe" /fREG ADD %KEY%\030 /VE /D "NERO 7.2.3.2b" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Applications\Nero\Nero-7.2.3.2b_eng_lite.exe /VERYSILENT" /fREG ADD %KEY%\035 /VE /D "WINAMP 5.2.4 LITE" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\Applications\Winamp\Winamp524.msi INI=%systemdrive%\install\Applications\Winamp\Winamp.ini /qn" /fREG ADD %KEY%\040 /VE /D "NOD32 2.51.26" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\Applications\NOD32\setup.exe /silentmode /cfg=config.xml /instmfc" /fREG ADD %KEY%\040 /V 2 /D "%systemdrive%\install\Applications\NOD32\updfiles.exe" /fREG ADD %KEY%\040 /V 3 /D "REGEDIT /S %systemdrive%\install\Applications\NOD32\NOD32.reg" /fREG ADD %KEY%\045 /VE /D "IRFAN VIEW 3.98 + PLUGINY" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\Applications\Irfan\iview398.exe /silent /desktop=0 /group=1 /allusers=0 /assoc=1" /fREG ADD %KEY%\045 /V 2 /D "%systemdrive%\install\Applications\Irfan\irfanplugins398.exe /silent" /fREG ADD %KEY%\050 /VE /D "DVD SHRINK 3.2" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\Applications\DVDShrink\dvdshrink32setup.exe /verysilent /NOCANCEL /NORESTART /SP-" /fREG ADD %KEY%\055 /VE /D "WINRAR 3.6" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\Applications\Winrar36\wrar360.exe /s" /fREG ADD %KEY%\060 /VE /D "DVD DECRYPTER 3.5.4.0" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\Applications\DVDdecrypter\DVDDecrypter3540.exe /S" /fREG ADD %KEY%\065 /VE /D "ICQ 5.1" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\Applications\ICQ5_1\icq5_1_setup.exe /s" /fREG ADD %KEY%\065 /V 2 /D "taskkill.exe /F /IM ICQLite.exe" /fREG ADD %KEY%\065 /V 3 /D "REGEDIT /S %systemdrive%\install\Applications\ICQ5_1\ICQ.reg" /fREG ADD %KEY%\070 /VE /D "DVDFAB PLATINIUM 2.9" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\Applications\DVDFABPlatinum\DVDFabPlatinum29.exe /SP- /VERYSILENT /NORESTART" /fREG ADD %KEY%\070 /V 2 /D "%systemdrive%\install\Applications\DVDFABPlatinum\mfc42.exe" /fREG ADD %KEY%\075 /VE /D "SHOCKWAVE PLAYER 10.1.3.18" /fREG ADD %KEY%\075 /V 1 /D "%systemdrive%\install\Applications\Shockwave\swInstaller.exe" /fREG ADD %KEY%\080 /VE /D "SKYPE 2.5.0.141" /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\install\Applications\Skype\SkypeSetup.exe /VERYSILENT /SP-" /fREG ADD %KEY%\080 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\Skype\Skype.reg" /fREG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\2ndRunOnceEx.cmd" /frundll32 iernonce.dll,RunOnceExProcess2ndRunOnceEx:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "INSTALUJEM APLIKACIE..." /fREG ADD %KEY%\005 /VE /D "MOZILLA FIREFOX 1.5.0.7" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\Firefox\firefox1507.exe" /fREG ADD %KEY%\010 /VE /D "MOZILLA THUNDERBIRD 1.5.0.7" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Applications\Thunderbird\Setup_1.5.0.7.exe /ms" /fREG ADD %KEY%\015 /VE /D "MOZBACKUP 1.4.5" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Applications\MozBackup\MozBackup-1.4.5-ENG.exe /VERYSILENT /SP-" /fREG ADD %KEY%\020 /VE /D "µTORRENT 1.6 build 474" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\Applications\uTorrent\uTorrent-1.6-install.exe /S" /fREG ADD %KEY%\025 /VE /D "SWITCH OFF 1.7.0.232" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\Applications\Switchoff\swoff17.exe /S" /fREG ADD %KEY%\030 /VE /D "VMWARE 5.5.1.-19175" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Applications\VirtualMachine\VMware-workstation-5.5.1-19175.exe /S /v/qn" /fREG ADD %KEY%\030 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\VirtualMachine\VMware.reg" /fREG ADD %KEY%\035 /VE /D "TOTAL COMMANDER 6.51" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\Applications\Totalcmd\INSTALL.exe" /fREG ADD %KEY%\035 /V 2 /D "taskkill.exe /F /IM explorer.exe" /fREG ADD %KEY%\045 /VE /D "AUTOIT 1.71 " /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\Applications\Autoit\autoit-v3-setup.exe /S" /fREG ADD %KEY%\050 /VE /D "SCITE (FOR AUTOIT) 1.71 " /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\Applications\Scite4Autoit\SciTE4AutoIt3.exe /S" /fREG ADD %KEY%\055 /VE /D "REGSUPREME 1.1" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\Applications\RegSupreme\RegSupreme_setup.exe /SP- /VERYSILENT /NORESTART" /fREG ADD %KEY%\055 /V 2 /D "%systemdrive%\install\Applications\RegSupreme\RegSupreme.sfx.exe" /fREG ADD %KEY%\055 /V 3 /D "REGEDIT /S %systemdrive%\install\Applications\RegSupreme\Regsupreme.reg" /fREG ADD %KEY%\060 /VE /D "MIRC 6.01" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\Applications\mIRC\mIRC.sfx.exe" /fREG ADD %KEY%\065 /VE /D "ALCOHOL 120% - 1.9.5 build 3105" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\Applications\Alcohol120\Patch.sfx.exe" /fREG ADD %KEY%\065 /V 2 /D "%systemdrive%\install\Applications\Alcohol120\patch_3105.sfx.exe" /fREG ADD %KEY%\070 /VE /D "FLY 2000 TV 2.26" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\Applications\Fly2000TV\Register.exe" /fREG ADD %KEY%\070 /V 2 /D "%systemdrive%\install\Applications\Fly2000TV\Fly2000_2.26.sfx.exe" /fREG ADD %KEY%\070 /V 3 /D "%systemdrive%\install\Applications\Fly2000TV\Fly2000TV.sfx.exe" /fREG ADD %KEY%\994 /VE /D "***NUTNE UPRAVY REGISTROV***" /fREG ADD %KEY%\994 /V 1 /D "REGEDIT /S %systemdrive%\install\Applications\Daemontools\Daemon.reg" /fREG ADD %KEY%\995 /VE /D "***MAZANIE A RESTART***" /fREG ADD %KEY%\995 /V 1 /D "%systemdrive%\install\cleanup.cmd" /frundll32 iernonce.dll,RunOnceExProcessEXIT
cyberloner Posted September 26, 2006 Posted September 26, 2006 cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "INSTALLING APPLICATIONS..." /fREG ADD %KEY%\005 /VE /D "NET FRAMEWORK 1.1 ALL IN" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\NetFramework\netfx.msi /qn" /fREG ADD %KEY%\005 /V 2 /D "%systemdrive%\install\Applications\NetFramework\NDP1.1sp1-KB867460-X86.exe /qb" /fREG ADD %KEY%\005 /V 3 /D "%systemdrive%\install\Applications\NetFramework\NDP1.1sp1-KB886903-X86.exe /qb" /fREG ADD %KEY%\010 /VE /D "MS OFFICE XP S FRONTPAGE" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Applications\OfficeXP\SETUP.exe TRANSFORMS=Unattended.MST /qn" /fREG ADD %KEY%\015 /VE /D "JAVA RUNTIME 5.0 UPDATE 8" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Applications\Java\jre1508.exe" /fREG ADD %KEY%\020 /VE /D "ADOBE READER 7.0.8 LITE" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\Applications\Adobe\AdobeReader708Lite.exe" /fREG ADD %KEY%\025 /VE /D "POWER DVD 7 DELUXE" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\Applications\PWDVD7\PowerDVD7.exe" /fREG ADD %KEY%\030 /VE /D "NERO 7.2.3.2b" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Applications\Nero\Nero-7.2.3.2b_eng_lite.exe /VERYSILENT" /fREG ADD %KEY%\035 /VE /D "WINAMP 5.2.4 LITE" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\Applications\Winamp\Winamp524.msi INI=%systemdrive%\install\Applications\Winamp\Winamp.ini /qn" /fREG ADD %KEY%\040 /VE /D "NOD32 2.51.26" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\Applications\NOD32\setup.exe /silentmode /cfg=config.xml /instmfc" /fREG ADD %KEY%\040 /V 2 /D "%systemdrive%\install\Applications\NOD32\updfiles.exe" /fREG ADD %KEY%\040 /V 3 /D "REGEDIT /S %systemdrive%\install\Applications\NOD32\NOD32.reg" /fREG ADD %KEY%\045 /VE /D "IRFAN VIEW 3.98 + PLUGINY" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\Applications\Irfan\iview398.exe /silent /desktop=0 /group=1 /allusers=0 /assoc=1" /fREG ADD %KEY%\045 /V 2 /D "%systemdrive%\install\Applications\Irfan\irfanplugins398.exe /silent" /fREG ADD %KEY%\050 /VE /D "DVD SHRINK 3.2" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\Applications\DVDShrink\dvdshrink32setup.exe /verysilent /NOCANCEL /NORESTART /SP-" /fREG ADD %KEY%\055 /VE /D "WINRAR 3.6" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\Applications\Winrar36\wrar360.exe /s" /fREG ADD %KEY%\060 /VE /D "DVD DECRYPTER 3.5.4.0" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\Applications\DVDdecrypter\DVDDecrypter3540.exe /S" /fREG ADD %KEY%\065 /VE /D "ICQ 5.1" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\Applications\ICQ5_1\icq5_1_setup.exe /s" /fREG ADD %KEY%\065 /V 2 /D "taskkill.exe /F /IM ICQLite.exe" /fREG ADD %KEY%\065 /V 3 /D "REGEDIT /S %systemdrive%\install\Applications\ICQ5_1\ICQ.reg" /fREG ADD %KEY%\070 /VE /D "DVDFAB PLATINIUM 2.9" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\Applications\DVDFABPlatinum\DVDFabPlatinum29.exe /SP- /VERYSILENT /NORESTART" /fREG ADD %KEY%\070 /V 2 /D "%systemdrive%\install\Applications\DVDFABPlatinum\mfc42.exe" /fREG ADD %KEY%\075 /VE /D "SHOCKWAVE PLAYER 10.1.3.18" /fREG ADD %KEY%\075 /V 1 /D "%systemdrive%\install\Applications\Shockwave\swInstaller.exe" /fREG ADD %KEY%\080 /VE /D "SKYPE 2.5.0.141" /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\install\Applications\Skype\SkypeSetup.exe /VERYSILENT /SP-" /fREG ADD %KEY%\080 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\Skype\Skype.reg" /frundll32 iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "INSTALUJEM APLIKACIE..." /fREG ADD %KEY%\005 /VE /D "MOZILLA FIREFOX 1.5.0.7" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\Firefox\firefox1507.exe" /fREG ADD %KEY%\010 /VE /D "MOZILLA THUNDERBIRD 1.5.0.7" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Applications\Thunderbird\Setup_1.5.0.7.exe /ms" /fREG ADD %KEY%\015 /VE /D "MOZBACKUP 1.4.5" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Applications\MozBackup\MozBackup-1.4.5-ENG.exe /VERYSILENT /SP-" /fREG ADD %KEY%\020 /VE /D "µTORRENT 1.6 build 474" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\Applications\uTorrent\uTorrent-1.6-install.exe /S" /fREG ADD %KEY%\025 /VE /D "SWITCH OFF 1.7.0.232" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\Applications\Switchoff\swoff17.exe /S" /fREG ADD %KEY%\030 /VE /D "VMWARE 5.5.1.-19175" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Applications\VirtualMachine\VMware-workstation-5.5.1-19175.exe /S /v/qn" /fREG ADD %KEY%\030 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\VirtualMachine\VMware.reg" /fREG ADD %KEY%\035 /VE /D "TOTAL COMMANDER 6.51" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\Applications\Totalcmd\INSTALL.exe" /fREG ADD %KEY%\035 /V 2 /D "taskkill.exe /F /IM explorer.exe" /fREG ADD %KEY%\045 /VE /D "AUTOIT 1.71 " /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\Applications\Autoit\autoit-v3-setup.exe /S" /fREG ADD %KEY%\050 /VE /D "SCITE (FOR AUTOIT) 1.71 " /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\Applications\Scite4Autoit\SciTE4AutoIt3.exe /S" /fREG ADD %KEY%\055 /VE /D "REGSUPREME 1.1" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\Applications\RegSupreme\RegSupreme_setup.exe /SP- /VERYSILENT /NORESTART" /fREG ADD %KEY%\055 /V 2 /D "%systemdrive%\install\Applications\RegSupreme\RegSupreme.sfx.exe" /fREG ADD %KEY%\055 /V 3 /D "REGEDIT /S %systemdrive%\install\Applications\RegSupreme\Regsupreme.reg" /fREG ADD %KEY%\060 /VE /D "MIRC 6.01" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\Applications\mIRC\mIRC.sfx.exe" /fREG ADD %KEY%\065 /VE /D "ALCOHOL 120% - 1.9.5 build 3105" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\Applications\Alcohol120\Patch.sfx.exe" /fREG ADD %KEY%\065 /V 2 /D "%systemdrive%\install\Applications\Alcohol120\patch_3105.sfx.exe" /fREG ADD %KEY%\070 /VE /D "FLY 2000 TV 2.26" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\Applications\Fly2000TV\Register.exe" /fREG ADD %KEY%\070 /V 2 /D "%systemdrive%\install\Applications\Fly2000TV\Fly2000_2.26.sfx.exe" /fREG ADD %KEY%\070 /V 3 /D "%systemdrive%\install\Applications\Fly2000TV\Fly2000TV.sfx.exe" /fREG ADD %KEY%\994 /VE /D "***NUTNE UPRAVY REGISTROV***" /fREG ADD %KEY%\994 /V 1 /D "REGEDIT /S %systemdrive%\install\Applications\Daemontools\Daemon.reg" /fREG ADD %KEY%\995 /VE /D "***MAZANIE A RESTART***" /fREG ADD %KEY%\995 /V 1 /D "%systemdrive%\install\cleanup.cmd" /frundll32 iernonce.dll,RunOnceExProcessDEL /Q /F %0EXITi suggest copy it toXPCD\$OEM$\$DOCS\All Users\Start Menu\Programs\Startupit will logon to windows.... del itself after running it... name as install.cmd... only one batch running 2 times installation....
embe Posted September 27, 2006 Posted September 27, 2006 (edited) i suggest copy it toXPCD\$OEM$\$DOCS\All Users\Start Menu\Programs\Startupit will logon to windows.... del itself after running it... name as install.cmd... only one batch running 2 times installation....1st of all thanks 4 reply.So to be sure: 1) merge my 2 ROEs to 1 single ROE?2) Name it as "install.cmd" and put it to XPCD\$OEM$\$DOCS\All Users\Start Menu\Programs\StartupDo I have therefore delete RunOnceEx instruction from cmdlines.txt (as there will be no ROE anymore I think)?I have tested several options yesterday but none of them works as I need.What I need is to execute 1st ROE after the 1st logon and then after 1st ROE end I need to start another ROE and so on (no reboot necessary...)I don`t want these run at a half of "Registering components" process (T@12 ?)Thanks Edited September 27, 2006 by embe
cyberloner Posted September 27, 2006 Posted September 27, 2006 i suggest copy it toXPCD\$OEM$\$DOCS\All Users\Start Menu\Programs\Startupit will logon to windows.... del itself after running it... name as install.cmd... only one batch running 2 times installation....1st of all thanks 4 reply.So to be sure: 1) merge my 2 ROEs to 1 single ROE?2) Name it as "install.cmd" and put it to XPCD\$OEM$\$DOCS\All Users\Start Menu\Programs\StartupDo I have therefore delete RunOnceEx instruction from cmdlines.txt (as there will be no ROE anymore I think)?I have tested several options yesterday but none of them works as I need.What I need is to execute 1st ROE after the 1st logon and then after 1st ROE end I need to start another ROE and so on (no reboot necessary...)I don`t want these run at a half of "Registering components" process (T@12 ?)Thanksthat's right... it will run after you really log in windows.... and install ....popup 1 and popup 2... installation...after that.. it will auto del install.cmd from your startup... as same as my installation... because i dun want copy it to c:\install.cmd something like that....why dun you give it a run.....and see
embe Posted September 27, 2006 Posted September 27, 2006 that's right... it will run after you really log in windows.... and install ....popup 1 and popup 2... installation...after that.. it will auto del install.cmd from your startup... as same as my installation... because i dun want copy it to c:\install.cmd something like that....why dun you give it a run.....and seeJust tested and even if it`s not exactly what I was looking for it`s very good option which works like a charm!Thanks mate!(Strange is that my OfficeXp shrinked with Office shrinker doesn`t work, i changed /gn switch to /gb so I can see what`s going on and error message pop ups with some missing file - i think error 1308 or so. So I removed all rows from ROE and tested just OfficeXP and the same result. So I took backup copy of shrinked OffiecXp and the same...i know this is not caused by multiple ROEs... but i don`t know what it causes and I`m lazy make office shrink again especially when it worked before. If i press ignore on that missing file it finish installation of office and office works..really strange...)
mazin Posted September 27, 2006 Posted September 27, 2006 @ embeWhy don't you just delete this line from your first RunOnceEX.cmd:rundll32 iernonce.dll,RunOnceExProcess
cyberloner Posted September 27, 2006 Posted September 27, 2006 i have that office pro before... that's why i dun shrink it.....install half and it revert back uninstall it..... some files missing as it said....glab to hear it works
embe Posted September 28, 2006 Posted September 28, 2006 @ mazinCyberloner`s option works perfect and I think I`ll use it. I don`t understand to these commands so I was just trying. Tested several options with partial success; Office XP doesn`t install not due to different time point of installation (at Registering components) but due to missing file...I planned to remove rundll32 iernonce.dll,RunOnceExProcess from 1st ROE but didn`t yet. I will test it and will see...@ cyberlonerThe problem is that i tested my installation more than 30 times in VMware and I was also forced to use it on real machine by reinstalling the system due to error caused by Net Framework 2.0 (win message:system not completely installed, please run setup again) Office is installed also on my real machine without any problem. OfficeXP - I easily managed it to work so I put instructions there for newbies like me. I don`t know why it stopped to work/starts missing 1 file...
MAVERICKS CHOICE Posted September 28, 2006 Posted September 28, 2006 Don't wanna sound like a nark but you should thoroughly test all your installers before attemping the ua with whatever method you use.
cyberloner Posted September 28, 2006 Posted September 28, 2006 Don't wanna sound like a nark but you should thoroughly test all your installers before attemping the ua with whatever method you use.true .. that's what i always do and test... change shortcut whatever....if u remove the rundll32 iernonce.dll,RunOnceExProcess command at the middle one... it will popup runoncex installation a long list that u cannot see what it is install at the bottom of it...
embe Posted September 28, 2006 Posted September 28, 2006 (edited) @ MAVERICKS CHOICEI always test on a real machine through Start\Run\ and in VMware too. I never reinstalled XP due to testing...And that`s the reason why I had to reinstall XP coz I tested Net Framework 2.0 in real machine - installer dedicated for svcpack method (I didn`t know it of course:- )@ cyberlonerif u remove the rundll32 iernonce.dll,RunOnceExProcess command at the middle one... it will popup runoncex installation a long list that u cannot see what it is install at the bottom of it...so if i return into method of 2 separtate ROEs (RunOnceEx which call for RunceOnceEx2.cmd at his end and so on) and if I remove from 1st ROE command rundll32.exe iernonce.dll,RunOnceExProcess ROE starts at first logon prior to desktop launch and it will show list of apps which are mentioned in 1st ROE and at it end calls for ROE2 the 1st will dissapear and 2nd will pop up and continues with installation? This sounds logical but as far as I remember it doesn`t work...but I`m not sure.... Edited September 28, 2006 by embe
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