Launch Condition Tab (Project Properties Dialog Box)

   

Use this dialog box to set any conditions that must be true before your installer will launch the setup program.

To reach this dialog box:

  1. Select your installer project in the Project Explorer window.

  2. From the end of the Project menu, select the InstallerProjectName Properties option.

  3. Use the right arrow in the dialog box to navigate to the Launch Condition tab.

Options

Condition

Lists any conditions that must be satisfied (that is, evaluate to True) in order for the installation to launch. (You set launch conditions with the Add button.) For example, this is a common launch condition:

VersionNT>=500

This condition stipulates that the product installation will not launch unless the installer determines the target machine operating system is Microsoft® Windows® 2000 (formerly called Microsoft® Windows NT® 5.0) or later.

Note   For more information about conditions, see Add or Edit Launch Condition Dialog Box. You can also search in the MSDN™ Library under the topics, Platform SDK, Setup and Systems Management Services, Setup, and Windows Installer Programmer's Reference, for any of these terms:

Error Message

Shows the error message text your user will see if the corresponding condition is not met (evaluates to False) and the installation terminates. (You set the error message text for launch condition failure with the Add button.)

Add

Select this button to add a launch condition. It displays the Add or Edit Launch Condition dialog box, where you can specify the launch condition.

Edit

Choose this button to change the selected launch condition. It displays the Add or Edit Launch Condition dialog box, where you can change the launch condition.

Remove

Choose this button to delete the selected launch condition.

Apply

Accept the launch conditions listed, and do not close the Project Properties dialog box.