Jump to content

Timing issues with GuiRunOnce


Recommended Posts

What are the %KEY%\001 and %KEY%\005 meaning? in terms of the numbers? is that some sort of timing convention?

This is my apps.cmd file:

cmdow @ /HID
@ECHO OFF

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

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

REG ADD %KEY%\001 /VE /D "Installing Lavasoft Ad-Aware 6.181 Personal" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\Applications\AdAware\aaw6181.exe /s" /f

REG ADD %KEY%\005 /VE /D "Installing WinRAR 3.20" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\WinRAR\wrar320.exe /silent" /f

REG ADD %KEY%\015 /VE /D "Installing Nero Burning ROM v6.3.1.6" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Applications\Nero\Nero6316.exe /SILENT /NOREBOOT /SN=1A23-0055-8030-1715-3516-4751 /WRITE_SN" /f

REG ADD %KEY%\025 /VE /D "Installing Adobe Acrobat Reader 6.0.1" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AR6.msi /QB" /f

REG ADD %KEY%\030 /VE /D "Installing K-Lite Codec Pack 2.25 Full" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Applications\K-Lite\K-Lite.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\035 /VE /D "Installing WinAMP 5.03a" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\Applications\Winamp\Winamp.msi xwav=1 xjump=1 xregopt=1 xmodernskin=1 xavs=1 xdcout=1 /QB" /f

REG ADD %KEY%\037 /VE /D "Installing Power DVD 5 Trial" /f
REG ADD %KEY%\037 /V 1 /D "%systemdrive%\install\Applications\DVD\Setup.exe -s" /f

REG ADD %KEY%\040 /VE /D "Installing Clone CD 4.3.2.2" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\Applications\Clone\CCDSilent.exe SetupCloneCD4322.exe" /f

REG ADD %KEY%\047 /VE /D "Installing CDex 1.50" /f
REG ADD %KEY%\047 /V 1 /D "%systemdrive%\install\Applications\CDEX\cdex_151.exe /S" /f

REG ADD %KEY%\050 /VE /D "Installing Daemon Tools 3.44" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\Applications\daemon\daemon.msi /qb REBOOT=Suppress" /f

REG ADD %KEY%\053 /VE /D "Installing ISOBuster 1.5" /f
REG ADD %KEY%\053 /V 1 /D "%systemdrive%\install\Applications\ISOBuster\IsoBuster15.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\053 /V 2 /D "taskkill.exe /F /IM isobuster.exe" /f

REG ADD %KEY%\056 /VE /D "Installing Tweak UI Powertoy 2.10.0" /f
REG ADD %KEY%\056 /V 1 /D "%systemdrive%\install\Applications\Powertoys\TweakUI.msi /qb" /f

REG ADD %KEY%\060 /VE /D "Installing Folding@Home v4" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\fah.cmd" /f

REG ADD %KEY%\065 /VE /D "Applying Registry Tweaks" /f
REG ADD %KEY%\065 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweak.reg" /f

REG ADD %KEY%\070 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

Link to comment
Share on other sites


what do u mean time convention?

001 is not going to take 1 min or 1 sec to complete nor 70 will take 70min?

its just the order they're supposed to follow..

and I don't understand why ppl all of a sudden deviate from multiples of 5 and go on with 37 47 53??

either go like 1-2-3-4-5- or u know follow a pattern

i find it pretty funny to be doing that :)

Link to comment
Share on other sites

No timing convention, the 4 number gaps between each entry allows you to add an entry at a later date if needed. Useful if you want to maintain an alphabetical list.

Link to comment
Share on other sites

Food for thought - But irregardless of numbering when its added to the reg it will be in numerical order no matter what. So that tells us if we want to install something before something else then set the numbers that way.

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