Launch Conditions are a useful tool in restricting your installation to only run under certain circumstances.
Also called Install Conditions, these are one or more conditions that must be met in order for your installation to run. For example, you can test for a specific operating system or minimum system requirements. If the conditions do not evaluate to True at run time, an error message is displayed and the product is not installed.
The first place you can set restrictions for your installation is on the Installation Requirements page of the Project Assistant. Have look at the screenshot below.
Setting Launch Conditions in the Project Assistant
This page is convenient as it allows you to quickly set which Windows systems your installation can run on. You can also require that some of the more common software packages are installed in order for your installation to continue.
When you set a Launch Condition here, it will automatically create an Install Condition property for you in the General section of the General Information view. Here is a screenshot of that.
Setting Launch Conditions in the General Information view
The difference between using the General Information view as opposed to the Project Assistant for this is that, in the General Information view, you will have to use the Product Condition Builder to create the condition. Whereas in the Project Assistant, the Install Condition, or Launch Condition, is created for you.
Remember Launch Conditions the next time you want to restrict your installation to only run on certain Windows systems.