Launch Condition Management in Deployment
The Launch Conditions Editor allows you to specify conditions that must be met in order to successfully run an installation. For example, you might want to check for a specific version of an operating system — if a user attempts to install on a system that does not meet the condition, the installation will not occur.
Searches can be performed on a target computer to determine if a particular file, registry key, or Microsoft Windows Installer component exists.
Predefined launch conditions allow you to add a both search and a launch condition in a single step. The Property property for the search is automatically referenced in the Condition property of the launch condition.
Note To learn more about condition syntax, see Deployment Conditions.
Searches and conditional evaluations are performed at the beginning of an installation and are performed in the order that they are shown in the Launch Conditions Editor.
The following topics describe tasks that can be performed using the Launch Conditions Editor.
In This Section
- Adding a File Launch Condition
Explains how to determine if a file exists on a target computer and roll back installation if it does not. - Adding a .NET Framework Launch Condition
Describes how to determine if the .NET runtime files are installed on a target computer and roll back installation if they are not. - Adding a Registry Launch Condition
Explains how to determine if a registry entry exists on a target computer and roll back installation if it does not. - Adding a Windows Installer Launch Condition
Explains how to determine if a Windows Installer component exists on a target computer and roll back installation if it does not. - Adding an Internet Information Services Launch Condition
Describes how to determine if Internet Information Services is installed on a target computer and roll back installation if it is not. - Adding a File Search in the Launch Conditions Editor
Describes how to determine if a file exists on a target computer. - Adding a Registry Search in the Launch Conditions Editor
Explains how to determine if a registry key exists on a target computer. - Adding a Windows Installer Search in the Launch Conditions Editor
Explains how to determine if a Windows Installer component exists on a target computer. - Adding a Launch Condition for Microsoft Data Access Components
Demonstrates how to determine if data-access components should be installed. - Adding a Launch Condition in the Launch Conditions Editor
Describes how to specify conditions that must be met for installation. - Adding Predefined Launch Conditions
Describes how to add preconfigured launch conditions. - Using a Registry Launch Condition to Specify a Target Directory
Demonstrates how to change a target directory based on conditions.
Related Sections
- Properties for the Launch Conditions Editor
Describes properties for the Launch Conditions Editor. - File Installation Management in Deployment
Describes the File System Editor, which allows you to add project outputs, files, and other items to a deployment project and specify where they will be installed on the target computer. - Registry Settings Management in Deployment
Describes the Registry Editor, which allows you to specify registry keys and values to be added to the registry of the target computer. - File Types Management in Deployment
Describes the File Types Editor, which is used to establish file associations on the target computer. - User Interface Management in Deployment
Describes the User Interface Editor, which can be used to specify and set properties for predefined dialog boxes that are displayed during installation on the target computer. - Custom Actions Management in Deployment
Describes the Custom Actions Editor, which allows you to specify additional actions to be performed on the target computer at the end of an installation. - What's New in Deployment
Describes new features related to setup and deployment.