Allows the user to select the packs to be installed. This panel also allows grouping of packs. Look at InstallationGroupPanel description to get more details.
IzPack automatically sets reserved variables depending on the packs selected by the user or an unattended installation (auto-install.xml) to be installed:
<packname> is the name attribute
<pack name="..."> of the pack selected. If the pack is selected, the condition validates true.
The contents of PacksPanel can be translated, in order to present a different name and description of the packs for each language.
In order to provide internationalization for the PacksPanel, you have to add a resource packsLang.xml_xyz to the installation descriptor (install.xml) where xyz is the ISO3 code of the language in lowercase.
<resources> <res id="packsLang.xml_eng" src="i18n/myPacksLang.xml_eng"/> </resources>
The IzPack translation file uses reserved IDs for the single translation items.
For translating the short name of the pack use the pack
name as the
id attribute of each translation item. For translating a pack description use the pack name suffixed by
.description as the translation item key.
<langpack> <str id="myApplicationPack" txt="Main Application"/> <str id="myApplicationPack.description" txt="A description of my main application package"/> [...] </langpack>