InstallationTypePanel
Usage
This panel allows choosing between two installation types:
- normal installation
(default, if modify.izpack.install not set or false) - modifying a previous installation
For this purpose it presents two radiobuttons to the user:
- New installation
- Modify installation
It uses the reserved internal IzPack variable modify.izpack.install
as input and output for controlling the behavior of other panels, like the TargetPanel.
Further, it may check the $INSTALL_PATH/.installationinformation file, which must have been written by a previous installation to be able to modify it.
If "Modify installation" is chosen the installers loads packs already installed in a previous installation and removes them from the packs to be actually installed. Therefore, on subsequentially opening a PacksPanel, there is just the set of packs presented to the user, which actually haven't been installed to this time.
Further this has influence on PathInputPanel and TargetPanel, requiring them to not only check the existing target installation path, but also the .installationinformation file. The installation is not allowed to go on if this condition is not fulfilled.
See also Header - <info> and TreePacksPanel for more information about how the installation information can be handled by the installer.
The
.installinformation
file depends on Java serialization which might change between JRE and IzPack versions.Customization
Built-in Variable | Description | Default Value |
---|---|---|
| Can be initially set in the <variable> section to change the default settings on opening this panel first. |
|
Translations
Key | Default (English) | Description |
---|---|---|
InstallationTypePanel.info | Please choose the type of installation: | The label text above the radiobuttons |
InstallationTypePanel.normal | New installation | The label of the first radiobutton |
InstallationTypePanel.modify | Modify installation | The label of the second radiobutton |