The Edit Condition Dialog This dialog allows
you to edit a conditional statement.
ExpressionThis field contains the resulted conditional statement. Use the
[ Validate ] button to validate it. If the condition is invalid, you will be prompted with an error
message that will indicate the beginning of the error.
Insert OperandThis section allows you to insert operands in the statement. PropertyInsert reference to an installer property which
is already created in your package. Environment Variables Insert reference to an
environment variable. FolderInsert reference to an installation folder. Component ActionInsert a reference to the action
state of a component (for example if a component will be installed or
not). Component StateInsert reference to the installed
state of a component (for example if a component is already installed
when the installation runs). Feature ActionInsert reference to the action state of
a feature (for example if a feature will be installed or not). Feature StateInsert reference to the installed state
of a feature (for example if a feature is already installed when the
installation runs). ConstantAdd a constant to the conditional statement. These constants represent the feature and component state values
used in conditional expressions. You can use the following: - INSTALLSTATE_UNKNOWN (-1) - No action to be taken on the feature
or component.
- INSTALLSTATE_ADVERTISED (1) - Advertised feature. This state is
not available for components.
- INSTALLSTATE_ABSENT (2) - Feature or component is not present.
- INSTALLSTATE_LOCAL (3) - Feature or component is on the local
computer.
- INSTALLSTATE_SOURCE (4) - Feature or component will run from the
source.
Insert OperatorIn this section you can insert operators in the conditional
statement. Use the [ Insert ] button to add the selected
one. Logical operators:- IMP - TRUE if left term is FALSE or right term is TRUE.
- EQV - TRUE if both terms are TRUE or both terms are FALSE.
- XOR - TRUE if either but not both terms are TRUE.
- OR - TRUE if either or both terms are TRUE.
- AND - TRUE if both terms are TRUE.
- NOT - Unary operator; inverts state of following term.
Comparative operators:- = - TRUE if left value is equal to right value.
- ~= - TRUE if left value is equal to right value. The comparison is
case insensitive.
- <> - TRUE if left value is not equal to right value.
- ~<> - TRUE if left value is not equal to right
value. The comparison is case insensitive.
- > - TRUE if left value is greater than right value.
- ~> - TRUE if left value is greater than right value. The
comparison is case insensitive.
- >= - TRUE if left value is greater than or equal to right
value.
- ~>= - TRUE if left value is greater than or equal to right
value. The comparison is case insensitive.
- < - TRUE if left value is less than right value.
- ~< - TRUE if left value is less than right value. The
comparison is case insensitive.
- <= - TRUE if left value is less than or equal to right
value.
- ~<= - TRUE if left value is less than or equal to right
value. The comparison is case insensitive.
SubString/Bitwise OperatorsSubstring operators can
occur between two string values. - >< - TRUE if left string contains the right string.
- ~>< - TRUE if left string contains the right string.
The comparison is case insensitive.
- << - TRUE if left string starts with the right
string.
- ~<< - TRUE if left string starts with the right
string. The comparison is case insensitive.
- >> - TRUE if left string ends with the right string.
- ~>> - TRUE if left string ends with the right
string. The comparison is case insensitive.
Bitwise operators can be used between two integer values. - >< - TRUE if the left and right integers have any
bits in common.
- << - TRUE if the high 16-bits of the left integer
are equal to the right integer.
- >> - TRUE if the low 16-bits of the left integer are
equal to the right integer.
Predefined conditions Select a predefined condition. Use the [ Insert ]
button or double click it in the list to do that. When adding a predefine condition that contains reference to a
component or a feature, you will be prompted to select one from the
project.
|