Customizing a Compare InstallAnywhere Variable Numerically Rule
InstallAnywhere 2020 SP1
You can use the Compare InstallAnywhere Variables Numerically rule to compare two InstallAnywhere variables numerically or to compare an InstallAnywhere variable against a specific value.
When this rule is applied, it converts the content of the variables into numeric values and then compares them. Integer, floating point, long and double operations are supported in this rule. However if the value represented by the variable is not parseable as a numeric value, then the rule returns false.
To add a Compare InstallAnywhere Variable Numerically rule to an Action Group, action, or panel:
|
1.
|
In the Advanced Designer, on the Sequence page, select the action group, action, or panel to which you would like to add a Compare InstallAnywhere Variable Numerically rule. |
|
3.
|
Click the Add Rule button. The Choose a Rule dialog box opens. |
|
4.
|
Select Compare InstallAnywhere Variable Numerically and then click the Add button. InstallAnywhere adds the rule to the rules list. |
|
5.
|
In the Operand 1 and Operand 2 text boxes on the Compare InstallAnywhere Variable Numerically customizer, enter the two InstallAnywhere variables that you want to compare, or enter an InstallAnywhere variable as one operand and enter a specific value as the second operand. |
Note • For the operands, you can enter either a variable or (such as $MY_VARIABLE$) or a literal, specific value (such as 4502).
|
6.
|
In the list, select one of the following operators: |
|
•
|
greater than or equal to (>=) |
|
•
|
less than or equal to (<=) |
|
•
|
greater than or equal to (>=) |
Open topic with navigation