Jump to content

Recommended Posts

Posted

Hi!

I have question about RunOnceEx, i copied the following from MSFN site RunOneEx help:

@echo off

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

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

REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AdobeReader6\AR6.msi /qn" /f

REG ADD %KEY%\010 /VE /D "Alcohol 120" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\alcohol\setup.exe /qn" /f

REG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\install\alcohol\register.reg" /f

REG ADD %KEY%\015 /VE /D "Diskeeper 8" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\DiskeeperPro_8.0.459.exe /s /v/qn" /f

REG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /f

REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /f

REG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

What 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? :D

Thanks again! ;D


Posted

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.

Posted
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? :)

Posted

well not exactly!

1

10

100

11

12

13

14

15

16

17

18

19

2

20

21

22

23

however depending on numbers

01

02

03

04

05

06

07

08

09

10

11

12

13

14

15

16

17

18

19

20

21

The guide uses increments of five only to lessen any editing if you need to slot an application in at a later date.

Posted
well not exactly!

1

10

100

11

12

13

14

15

16

17

18

19

2

20

21

22

23

however depending on numbers

01

02

03

04

05

06

07

08

09

10

11

12

13

14

15

16

17

18

19

20

21

The 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 :)

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