Automatic account creation is now enabled. Captcha authentication required for account creation and editing unless you are trusted here.
Condition Element
From WiX Wiki at MindCapers
Contents |
Description
Conditions for components, controls, features, and products. The condition is specified in the inner text of the element.
Windows Installer references
Component Table, ControlCondition Table, Condition Table, LaunchCondition Table
Parents
Inner Text
Text (xs:string) Under a Component element, the condition becomes the condition of the component. Under a Control element, the condition becomes a ControlCondition entry. Under a Feature element, the condition becomes a Condition entry. Under a Fragment or Product element, the condition becomes a LaunchCondition entry.
Children
None
Attributes
| Name | Type | Description | Required |
|---|---|---|---|
| Action | Enumeration | Used only under Control elements and is required. Allows specific actions to be applied to a control based on the result of this condition. This attribute's value should be one of the following
| |
| Level | Integer | Used only under Feature elements and is required. Allows modifying the level of a Feature based on the result of this condition. | |
| Message | String | Used only under Fragment or Product elements and is required. Set the value to the text to display when the condition fails and the installation must be terminated. |
See Also
WiX Schema, ComponentRef, Media, Conditional Inner Text
Content derived from WiX Manual, licensed under the Open Source Initiative OSI - Common Public License Version 1.0. Additional information is licensed under the GNU Free Doc License. Version 3.0.3015.0

