Run PostSetup Applications


RunPostSetupCommands

You can launch any number of commands after an INF section is executed.  Both Standard and Custom LDIDs can be used in post-install command sections.

Syntax:

[InstallSection]
RunPostSetupCommands=Section1[:flag][,<Section2[:flag]>
]

[Section1]
myapp1.exe
myapp2.exe

[Section2]
myapp3.exe
myapp4.exe


Flag

FlagMeaning
1Quiet Mode
2No Delay
4Delay Command

The delayed commands will be add to RunOnceEx or RunOnce branch based on the same logic as delayed register OCXs method.  We check the EXPLORER.EXE version or presence of IERUNONCE.DLL to determine where to add the values.  If added to RunOnceEx, starting subkey is 990.

Keep in mind that on Windows 95/98/ME systems without IERUNONCE.DLL, all of the delay commands will be added to RunOnce branch.  Due RegEnum limits the order can not be guaranteed, so we recommend the user use this feature in the IE 4.0 context.

Note:

The RunPostSetupCommands section is executed immediately before the end prompt.