Prefixes for the execution commands

RunProgram="hidcon:fm0:nowait:install.cmd"
RunProgram="NoWait:HidCon:fM0:install.cmd"
RunProgram="nowait:hidcon:\"%ProgramFiles%\\install.cmd\""

Prefix

Description

fmX

Appearance mode and display duration for 'FinishMessage' dialog window, where X is:

  • 0 - do not display the windows
  • 1 - display the window
  • N (N= 2...999) - display the window for N seconds. The countdown is displayed on the "OK" button. When time expires, the window closes and the module finishesits operation.

You can force 'FinishMessage' window appearance ('fm1', 'fmN' switches) or block it with 'fm0' switch (if 'FinishMessage' is present in the config file) by specifying the corresponding prefix before the command you need to execute. For example,

RunProgram="fm0:setup.exe"
AutoInstall="fm1:setup.exe"
AutoInstall3="fm20:setup.exe"

executes "setup.exe" and hides 'FinishMessage' window in the first case (standard mode), but displays it in the second and third cases, even though an automated scenario ('AutoInstall' or 'AutoInstallX') blocks 'FinishMessage' window by default.

For multiple instances of 'RunProgram', 'AutoInstall', and 'AutoInstallX' parameters only the first 'fmX' prefix found in the parameter value is used. It does not have to be in the first string of the installation scenario. For example, for

RunProgram="setup1.exe"
RunProgram="fm0:setup2.exe"
RunProgram="fm1:setup3.exe"

'fm0' prefix is used while 'fm1' prefix is ignored.

If 'FinishMessage' parameter is not present in the config file, all prefixes are ignored.

These prefixes can be OVERRIDDEN from the command line with '-fmX' switch.

hidcon

Hides console windows. For example,

RunProgram="hidcon:install.cmd"

executes "install.cmd" and completely hides its console window.

nowait

Forces not to wait until an execution command completes its operation.

By default the execution commands within every installation scenario are processed according to the order of appearance in the config file, and the next command waits until the previous command is complete. If 'nowait' prefix is used, the commands that appear after the command with this prefix are executed immediately (i.e. launching the next executable, deleting folders, creating shortcuts, etc).

This prefix is disabled when the SFX archive is extracted to a temporary folder.