This documentation applies from version 5.0.0-beta11, which is not yet released.
ConfigurationInstallerListener is new to IzPack 5.0, and since beta10 has been completely refactored. See the original documentation for all IzPack releases before beta11, and consider upgrading to the latest release/pre-release version as soon as possible. Following the final release of 5.0.0, the old documentation will be removed.
Create, update, patch, and merge application configuration settings during installation. Supported configuration types are:
- property/option files
- INI files
- XML files
- Windows registry (and 'registry editor' files)
Conditional execution and dynamic variables are supported in the specification of configuration actions. Add the
ConfigurationInstallerListener to your installer by adding the following tag inside the
<listener classname="ConfigurationInstallerListener" stage="install"/>
This listener does not currently support either the
compile listener stages.
The following are required in addition to the
listener declaration in
Required XML resource file defining all configuration actions and variables. The resource ID for the default spec file in
ConfigurationActionsSpec.xml. For details of configuration spec options, see Configuration Actions Specification.
<res id="ConfigurationActionsSpec.xml" src="resources/configurationSpec.xml"/>
This tag should be defined in the
<resources> element in