Message-ID: <1120140312.298596.1368931564250.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_298595_2060281220.1368931564250" ------=_Part_298595_2060281220.1368931564250 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 t= he Windows registry at installation and delete the writing at uninstall tim= e.
To add registry support to an installation some changes in the ins=
tallation definition file (
install.xml) are to be made. First =
the declaration of the listener themselves:
<= listeners> <listener installer=3D"RegistryInstallerListener" uninstaller=3D"Reg= istryUninstallerListener" > <os family=3D"windows"/> </listener> </listeners>=09=09
For cleanup purposes it is recommended to add the uninstalle= r listener to not leave :trash: entries in the registry after uninstalling = a product.
we need to add the native registry support to=C2=A0
install.xml, see also=C2=A0Windows Registry Access=
The DLL file should be placed in=C2=A0
both=C2=A0marks this dll not only to be put=
into the installation 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 y= our installation. Without any more actions an uninstall key will be crated = in the registry at the installation. If you open the software manager of Wi= ndows, 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 insta=
llation definition file.
If you would like to have more informations =
in the uninstaller key or to create other keys or values in the registry, y=
ou should create a specification file. The file should be then refered to i=
id has to be=C2=A0
See also=C2=A0CheckedHelloPanel for getting information on how to use those reg= istry entries in an installer.=C2=A0------=_Part_298595_2060281220.1368931564250--