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

Jump to: navigation, search

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

NameTypeDescriptionRequired
ActionEnumerationUsed 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
  • default
  • enable
  • disable
  • hide
  • show
LevelIntegerUsed only under Feature elements and is required. Allows modifying the level of a Feature based on the result of this condition.
MessageStringUsed 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

Personal tools