hordanes Posted August 3, 2004 Posted August 3, 2004 Hello,So I am getting started on making a Windows DVD and had a few questions..My main question deals witht he RunOnceEx.cmdEx.REG ADD %KEY%\[B]030[/B] /VE /D "Installing Ad-aware 6 Professional" /fREG ADD %KEY%\[B]030[/B] /V 1 /D "%systemdrive%\Install\Applications\Ad-aware\Ad-aware6Professional.exe" /fI understand most of this but just do not know that the # means, and if there is any order to itREG ADD %KEY%\030 .......... what does the 030 mean, I am looking at a Pre Existing RunOnceEx.cmd and I see the # in every line and it is always different..Thanks!
Alanoll Posted August 3, 2004 Posted August 3, 2004 the number is the order everything gets installed in.The higher the number the later it goes.1 is executed before 2. The 0's just so 10 doesn't come before 2
hordanes Posted August 3, 2004 Author Posted August 3, 2004 Thanks!Makes a lot of sense now..Does the order of the software make a difference.say Install office 2003 first then work you way down the list, or can one install the programs according to the alphabet?
jrzycrim Posted August 3, 2004 Posted August 3, 2004 Those numbers are used as the key names in the RunOnceEx Registry key. The numbers aren't important in themselves. You could name them whatever you want but numbers are very convenient in this case. They will determine the order that your apps get installed. REG ADD %KEY%\050 /VE /D "WinZip V9.0" /fREG ADD %KEY%\050 /V 1 /D "\"%programfiles%\Winzip\Winzip9.exe\" -y" /fREG ADD %KEY%\050 /V 2 /D "\"%programfiles%\WinZip\winzip32.exe\" /noqp /notip /autoinstall" /fREG ADD %KEY%\050 /V 3 /D "REGEDIT /S \"%programfiles%\WinZip\WinZip.reg\"" /fREG ADD %KEY%\060 /VE /D "Diskeeper 8.0" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\Applications\diskeeper\Setup.exe /s /v/qn" /fREG ADD %KEY%\065 /VE /D "Nero 6.0.0.0" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\Install\Applications\Nero\Nero.exe -y" /fREG ADD %KEY%\065 /V 2 /D "%systemdrive%\Install\Applications\Nero\Setup.exe /SN=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /WRITE_SN /SILENT /NOREBOOT /NO_UI /NOCANCEL" /fHere's part of my RunOnceEx.cmd. /VE will set the default value of a particular key. /v {value name} just sets other values for a particular key. Again, numbers are used for convenience. It's common to group tasks that are related in the same key instead of making separate keys for every single thing that needs to be done. If you look at my winzip section, there are three values not including the default: /V 1 -Extracts my winzip archive, /V 2 Installs winzip and /V 3 imports a reg file with my serial. /VE will be used as the title in the RunOnceEx window that you see when you log on.Here's a Screen Shot of my registry with the RunOnceEx Keys added.Typically, people will count by five or ten to leave room to add things in between two keys.Oh yeah,1 is executed before 2. The 0's just so 10 doesn't come before 2 What he said
mazin Posted August 3, 2004 Posted August 3, 2004 and if there is any order to itAs for the order, I have three notes:1- If you install more than one archiving utility, make your favourite the last one. This is because each of them steals associations from others.2- Install ACDSee the last to associate pics with it, if it's your favourite viewer.3- Install antivirus programs last, if you use scripts like VBS or JS or any.
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