Pete_ Posted August 21, 2006 Posted August 21, 2006 Hi! I have question about RunOnceEx, i copied the following from MSFN site RunOneEx help:@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AdobeReader6\AR6.msi /qn" /fREG ADD %KEY%\010 /VE /D "Alcohol 120" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\alcohol\setup.exe /qn" /fREG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\install\alcohol\register.reg" /fREG ADD %KEY%\015 /VE /D "Diskeeper 8" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\DiskeeperPro_8.0.459.exe /s /v/qn" /fREG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /fREG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fWhat are those numbers right after %KEY%\ -declaration, 050,010, so on? Do they have to be specific numbers for each program to install, or is it same which numbers you type there? Thanks again! ;D
Yzöwl Posted August 21, 2006 Posted August 21, 2006 The numbers create a working 'numerical' order for the various installations. It is very useful when specific things need to be installed before others. The lowest number numerically will install first; i.e. \015 will install before \018 or \020 etc.
Pete_ Posted August 21, 2006 Author Posted August 21, 2006 The numbers create a working 'numerical' order for the various installations. It is very useful when specific things need to be installed before others. The lowest number numerically will install first; i.e. \015 will install before \018 or \020 etc.But they can be any numbers, for example. starting from 10 and ending 100 ?or 5 to 50, 4 to 30 so on?
Yzöwl Posted August 21, 2006 Posted August 21, 2006 well not exactly!110100111213141516171819220212223however depending on numbers010203040506070809101112131415161718192021The guide uses increments of five only to lessen any editing if you need to slot an application in at a later date.
Pete_ Posted August 22, 2006 Author Posted August 22, 2006 well not exactly!110100111213141516171819220212223however depending on numbers010203040506070809101112131415161718192021The guide uses increments of five only to lessen any editing if you need to slot an application in at a later date.Good, then i made it correctly, I noticed that five increment is good, as i have now added few apps i dint remember to add first time
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