This panel allows the user to modify the default installation path on the target computer.
<panel classname="TargetPanel"> <validator classname="com.izforge.izpack.installer.validator.ConditionValidator"/> </panel>
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.
For a more detailed description see Setting Default Installation Directories.
|Built-in Variable||Description||Default Value|
|The platform-specific default installation path, which can be overridden by the user in TargetPanel.|
(gathered automatically according to the OS and platform)
|Whether to show the "Target directory will be created" dialog if a directory does not exist.|
The headline of the panel (the one with the white background).
GUI only: This is a standard translation for all type of graphical panels, if the <guiprefs> modifier useHeadingForSummary is set "yes".This has no effect on console installations.
The summary caption text of the panel.
GUI only: This is a standard translation for all type of graphical panels, if the <guiprefs> modifier useHeadingForSummary is not set or different to "yes". This has no effect on console installations.
|TargetPanel.info||Select the installation path:||The label text above the target directory edit field.|
|TargetPanel.browse||Browse...||The label text of the directory chooser button.|
|TargetPanel.warn||The directory already exists! Are you sure you want to install here and possibly overwrite existing files?|
|TargetPanel.incompatibleInstallation||Incompatible installation detected. Uninstall it first, or choose another directory to install to.|
|TargetPanel.empty_target||You have not specified a target location! Is this correct?|
|TargetPanel.notwritable||This directory can not be written! Please choose another directory!|
|TargetPanel.createdir||The target directory will be created:|
|TargetPanel.nodir||This file is not a directory! Please choose a directory!|
|PathInputPanel.intro||Intro text with an explanation, rarely used, is empty by default.|
|PathInputPanel.extendedIntro||Mult-line intro text with an explanation, rarely used, not set by default.|
|PathInputPanel.required||The chosen directory should exist.|
|PathInputPanel.required.forModificationInstallation||The chosen directory should exist.||The alternative for PathInputPanel.required, if the IzPack variable modify.izpack.install is set "true" and an .installationinformation file exists in the target folder.|
See the InstallationTypePanel for more installation how the modify.izpack.install variable is automatically set.
|PathInputPanel.notValid||The chosen directory does not contain the required product.|