Summary
Contains within it one to any number of launchcondition elements.
Launch conditions are conditions that all must be satisfied for the
installation to begin.
Parameters
Attribute |
Type |
Description |
Required |
name |
string |
A name used to identify the launch condition. |
True |
condition |
string |
Expression that must evaluate to True for installation to begin. |
True |
Nested Elements:
<description>
Localizable text to display when the condition fails and the installation must be terminated.
</description>
Examples
Create a check to make sure that IIS 5.x is installed.
<launchconditions>
<launchcondition name="CheckIIS" condition="(IISVERSION = "#5")" >
<description>
This setup requires Internet information Server 5.x. Please install Internet Information Server and run this setup again.
</description>
</launchcondition>
</launchconditions>
Syntax
[BuildElement("launchconditions", ProcessXml = false)]
public SchemaElement[] InstallerLaunchConditionsElement { get; set; }
Attributes
Type |
Description |
BuildElement |
|
Value
Type |
Description |
SchemaElement[] |
|