/
Exists Condition
Exists Condition
The Exists Condition
The Exists Condition can be used to check whether an object given by a nested parameter exists. Objects can be variables or files.
Example:
<condition type="exists" id="installedSomePlugin"> <file>${INSTALL_PATH}/plugins/some_plugin.jar</file> </condition>
The Exists condition has been introduced in IzPack 5.0.
Warning
Exists replaces the former VariableExistence condition, which might break existing environments.
Nested Elements
The nested elements of the Exists condition don't have any further attributes, but receive contents in the text embedded. IzPack variables are dynamically resolved for each value.
variable
The variable name when a variable is to be checked whether it has been defined anywhere in the installation process.
file
The file name of a file or directory which is to be checked to exist.
, multiple selections available,
Related content
Conditions
Conditions
Read with this
Panels
Panels
Read with this
Displaying panels and fields read-only
Displaying panels and fields read-only
Read with this
Sample IzPack 5 userInputSpec.xml
Sample IzPack 5 userInputSpec.xml
Read with this
Fields
Fields
Read with this
Dynamic Variables
Dynamic Variables
Read with this