Message-ID: <1760776024.37.1427867649190.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_36_1123486464.1427867649189" ------=_Part_36_1123486464.1427867649189 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The RegistryInstallerListener and RegistryUninstallerListener pr= ovide Windows registry access during an installation or uninstallation.
Due to the lack o= f Unicode support, there is no support from the IzPack project of this feat= ure for Windows 95, Windows 98 and Windows ME, but just for Windows NT and = higher.
The listeners themselves are only able to write into the Windows registr= y at installation and delete the writing at uninstall time.
To add registry support to an installation some changes in the installat=
ion definition file (
install.xml) are to be made. First the de=
claration of the listener themselves:
Now we need to ad=
d the native registry support to
install.xml, see also Windows Registry Access=
:For cleanup purposes it is recommended to add the uninstaller liste=
ner to not leave :trash: entries in the registry after uninstalling a produ=
The DLL file should be placed in
/bin/native/3rdparty. The stage
both marks this dll not only to be put into the in=
stallation jar file but also to be put into the uninstaller jar file. This =
is automatically performed by the packager and installation.
With these two changes the registry support will be incorporated into yo= ur installation. Without any more actions an uninstall key will be crated i= n the registry at the installation. If you open the software manager of Win= dows, there will be an entry with the variables $APP_NAME $APP_VER, e.g.:= p>
The variables will be defined from the entries
<appversion> in the <info> element of the installation defi=
If you would like to have more informations in the uninstaller key or to=
create other keys or values in the registry, you should create a specifica=
tion file. The file should be then refered to in
install.xml as resource:
id has to be
See also CheckedHello= Panel for getting information on how to use those registry entries in a= n installer.