Variable Condition

The Variable Condition

The Variable Condition can be used to check if a variable has a specific value.

Example:

<condition type="variable" id="warfilesetup">
  <name>izpack.setuptype</name>
  <value>warfile</value>
</condition>

Nested Elements

The Variable condition takes two mandatory elements, name and value.

name

Contains the name of the variable.

value

Contains the value to match.