IzPack offers the possibility to set a list of default installation directories depending on the target installation platform.
When the compiled installer is executed, IzPack chooses the one matching the assigned platform.
This can be achieved by explicitly setting variables with the prefix: TargetPanel.dir
.
IzPack recognizes this as a built-in variable which can be user-modified.
...
OS | Parent Directory |
---|---|
Windows | ProgramFiles environment variable |
Mac OSX | /Applications |
Others | /usr/local/ if writeable, or System.getProperty("user.home") if not |
Differences Changes from 4.3.6
The range of values the variable can have has been significantly enhanced, as per IZPACK-829.
...
Changes from earlier versions
Prior to 4.3.6In 4.3.5, resources were used rather than variables. Resources were searched for with the following names
...