[This is preliminary documentation and subject to change.]
The Condition table can be used to modify the selection state of any entry in the Feature table based on a conditional expression.
The Condition table has the following columns.
Column | Type | Key | Nullable |
---|---|---|---|
Feature_ | Identifier | Y | N |
Level | Integer | Y | N |
Condition | Condition | Y |
External key into column one of the Feature table.
If Condition evaluates to True, the corresponding Level value in the Feature table is set to the value specified in the Condition table Level column.
Using this mechanism, any feature can be permanently disabled (by setting the Level to 0), set to be always installed (by setting the Level to 1), or set to a different install priority (by setting Level to an intermediate value). The Level may be set based on any conditional statement, such as a test for platform, operating system, or a particular property setting.
This table is referred to when the CostFinalize action is executed.