Application to Run Tab

InstallShield 2018 » InstallShield Prerequisite Editor

The Application to Run tab of the InstallShield Prerequisite Editor is where you specify how an InstallShield prerequisite should be installed on the target machine.

Settings on the Application to Run Tab

Setting

Description

Specify the application you wish to launch

Select the file—typically a Setup.exe setup launcher or an .msi package—that should be launched on the target machine if the InstallShield prerequisite is installed. Only files that have been specified on the Files to Include tab are included in this list.

Project • If you specify an .msi file and you indicate on the Behavior tab that the progress should be shown, the Setup.exe setup launcher captures progress messages and uses Windows Installer APIs instead of MsiExec.exe to launch the .msi package at run time.

If you specify any other file type, or if you specify an .msi file for which progress should not be shown, the Setup.exe setup launcher runs the file with either the open verb (for .msi and .exe files) or the default verb (for all other file types) at run time.

Requires Windows Installer engine and/or .NET Framework to be installed first

If the Windows Installer engine, the .NET Framework (Dotnetfx.exe), or both must be installed before this InstallShield prerequisite is installed, select this check box.

Note • Selecting this check box does not add the Windows Installer engine or the .NET Framework to your installation. It only specifies that if they are included in the installation, they should be installed before this InstallShield prerequisite is installed. To include the Windows Installer engine or the .NET Framework with your installation, you must add them to your project. To learn how, see Adding Windows Installer Redistributables to Projects or Adding .NET Framework Redistributables to Projects.

Specify the command line for the application

If applicable, type the command line for the file selected in the Specify the application you wish to launch list. Do not include the name of the file in this box.

For information on command-line parameters that you can specify, see Specifying Command-Line Parameters for an InstallShield Prerequisite.

Note • If a setup prerequisite is configured to be hidden (that is, it is not included in the setup prerequisite run-time dialog as one of the prerequisites that need to be installed), it is launched with its silent command-line parameters—not its standard command-line parameters. Therefore, if it is possible that the The prerequisite should be hidden from the installation list check box on the Behavior tab will be selected, specify command-line parameters in the Specify the command line for the application when the setup is running in silent mode box.

Specify the command line for the application when the setup is running in silent mode

If applicable, type the appropriate command line. Do not include the name of the file in this box.

For information on command-line parameters that you can specify, see Specifying Command-Line Parameters for an InstallShield Prerequisite.

Note • Using the /s command-line parameter to launch an installation that includes an InstallShield prerequisite does not automatically run the prerequisite installation silently. You may also need to specify a valid silent command-line parameter for the InstallShield prerequisite in this Specify the command line for the application when the setup is running in silent mode setting on the Application to Run tab.

Specify the return code (in decimal) the application returns if a reboot is required

If the selected InstallShield prerequisite application requires that the target machine be restarted after the application is installed, type the return code in this box.

Tip • If multiple return codes exist, list each one separated by a comma.

If you do not know the return codes for the file that you are launching as the InstallShield prerequisite, contact the author of the file.

For more information on InstallShield prerequisites that require a restart, see Restarting a Target Machine for InstallShield Prerequisite Installations.

See Also