ControlCondition Table

[This is preliminary documentation and subject to change.]

The ControlCondition table allows the author to specify special actions to be applied to controls based on the value of a property. For example, using this table the author could choose to hide a control based on the VersionNT property.

The ControlCondition table has the following columns.

Column Type Key Nullable
Dialog_ Identifier Y N
Control_ Identifier Y N
Action Text Y N
Condition Condition Y N

Columns

Dialog_
An external key that, combined with the Control_ key, uniquely identifies a control.

External key to column one of the Dialog table.

Control_
An external key that, combined with the Dialog_ key, uniquely identifies a control.

External key to column two of the Control table.

Action
The desired action to be taken on the specified control.

The possible actions are shown in the following table.
Value Meaning
Default Set control as the default.
Disable Disable the control.
Enable Enable the control.
Hide Hide the control.
Show Display the control.

Condition
A standard conditional statement that specifies under which conditions the action should be triggered. This column may not be left blank. If this statement does not evaluate to TRUE, the action does not take place. If it is set to 1, the action is always applied. For information on the conditional syntax, see MsiEvaluateCondition.