Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • name
    The name of the dynamic variable to refer to it from panels, in variable substitution and so on. Since dynamic variables are saved like a normal variable (as $INSTALL_PATH), they can be accessed like any other variable from within an IzPack installer.
  • checkonce:= "true" | "false" (optional, defaults to "false")
    Might be added to assign a dynamic variable only one time at the beginning of the installation process, which makes it behave as Mark the dynamic variable to be evaluated just once, either when the installation starts or as soon as an optional condition gets true. This makes it behave like a normal variable, although with enhanced capabilities to gather a value.
    Values gathered by a dynamic variable definition with checkonce="true" can be overridden, if there is another dynamic variable with the same key (and different conditions ) defined, which gets true later.
  • ignorefailure:= "true" | "false" (optional, defaults to "false")
    Might be used to allow the installation to continue or abort if an error occurred during gathering the value for a certain dynamic variable.
  • condition (optional)
    The assignment of a dynamic variable itself can be made dependent on a certain condition, using the condition attribute, which refers to the ID of condition defined in the installer description elsewhere.

...

A dynamic variable becomes a "normal" IzPack variable with a static key-value pair if it has set the attribute checkonce="true" and an optional condition for its evaluation becomes true. After this, it will be removed from the list of dynamic variables at installation time, but can be accessed further like a static IzPack variable if there is no further is represented with a static value as an IzPack variable. It can be overridden if there is another dynamic variable definition for the same key, which evaluates later for example based on another condition.

A dynamic variable is unset at installation time as static IzPack variable as soon as it cannot be evaluated any longer from any of the definitions for the same key. It is reinitialized with a value as soon as at least one dynamic variable definition can be evaluated in some later phase, again.

...