Versions Compared

Key

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

...

The executeFile element has the following attributes:

AttributeValueDefaultDescriptionMandatory
name
string(not set)Name of the file to executeyes
workingDir
string(not set)Working directory of the process spawned by the ProcessBuilder objectno
onErrorask | failask

Controls the behaviour when the file exits with a non-zero exit code.

ask: Prompt the user whether or not to continue.

fail: Do not allow continuation.


Since: IzPack 5.1

.0

no

In addition to <arg> elements, the <executefile> element also accepts <env> elements to set variables in the environment of the target process. This can be useful if this process requires some environment variables, such as its installation directory, to work properly. An <env> element has the following syntax: <env>variable=value</env>. Note the element supports variable substitution, for example: <env>MY_PRODUCT_HOME=$INSTALL_PATH</env>.

...