Dedicated Java System Properties
The pre-compiled installer "understands" a couple of system properties given to the JVM at runtime.
At the command line, they can be given as
The following property names and their according values are known to an IzPack installer at runtime:
|Any path according to the host OS||built-in|
This allows to initialize the installation root path the user can change for example on a TargetPanel.
The value of this system property is directly mapped to the reserved IzPack variable
There is a built-in feature of popping up a message which asks the user whether an already running instance of the same installer should be ignored or rather whether to abort. This can be inconvenient for some use cases (clustering, sub-calls when an installer calls itself with different options,...).
This option allows to disable this behavior at compile time. The value
Since: IzPack 5.0 RC5
|Whether to show Java stacktraces are on the installer's console output. This can be useful for debugging and reporting errors to installer or IzPack developers.|
|Whether to show particular runtime information on the installer's console output. This can be useful for debugging and reporting errors to installer or IzPack developers.|
|Whether to show an extra panel on GUI installers only displaying the current values and change traces of the installer's internal variables and conditions. This can be useful for debugging and reporting errors to installer or IzPack developers.|
Command line options
The installer does also take a number of command line options:
Use console installation mode instead of GUI.
In headless environments, if the graphics environment cannot be initialized, this option is selected as fallback automatically.
|ISO3 language code||-|
Using this option it is possible to preset the language the installation should run in.
This option overrides system settings and skips the language dialog, while propagating the selected language to the installer at runtime.
|A valid absolute directory path.||The directory where the installer jar itself is located.||For multi volume installation, this is the directory where all parts of the installer are searched for assembly,|
|A valid absolute file path.||The file with the variable default overrides to be processed.|
In combination with
|A valid path to a properties file.||-||See Unattended Installations Using Properties.|
|-||(no debug mode)|
Switching debug mode on. This option has no parameters.
|-||(no trace mode)|
Switching trace mode on. This option has no parameters.
|-||(no stacktrace mode)|
Switching stacktrace mode on. This option has no parameters.