[izpack-users] Windows XP Registry Entries cleaning up
Daniel Silva
ddso.01 at gmail.com
Mon Jul 16 22:38:09 CEST 2007
Hi,
I´ve just started using izPack for my applications and I had some trouble
with Windows XP registry entries.
I have a InstallSpec.xml file for the installer creating procedure with the
following lines
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<installation version="1.0">
(...)
<native type="izpack" name="ShellLink.dll"/>
<native type="3rdparty" name="COIOSHelper.dll" stage="both">
<os family="windows"/>
</native>
(...)
<resources>
(...)
<res src="./spec/RegistrySpec.xml" id="RegistrySpec.xml"/>
(...)
</resources>
(...)
<listeners>
<listener installer="SummaryLoggerInstallerListener"/>
<listener installer="RegistryInstallerListener"
uninstaller="RegistryUninstallerListener">
<os family="windows"/>
</listener>
</listeners>
(...)
</installation>
And a RegistrySpec.xml like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<registry>
<pack name="UninstallStuff">
<value name="DisplayName"
keypath="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$APP_NAME"
root="HKLM"
string="$APP_NAME"/>
<value name="UninstallString"
keypath="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$APP_NAME"
root="HKLM"
string=""$JAVA_HOME\bin\javaw.exe" -jar
"$INSTALL_PATH\Uninstaller\uninstaller.jar""/>
<value name="DisplayIcon"
keypath="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$APP_NAME"
root="HKLM"
string="$INSTALL_PATH\icons\SCarimbo.ico"/>
<value name="HelpLink"
keypath="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$APP_NAME"
root="HKLM"
string="$APP_URL"/>
</pack>
</registry>
I'm using CheckedHelloPanel, so $APP_NAME is declared. My problem is that
when I uninstall the application, the registry entries are not erased. The
application is still listed as installed in Control Panel -> Add or Remove
Programs.
Am I doing something wrong?
Obs.: I've notice that when I uninstall izPack itself, its registry entries
are not erased either.
--
Abraços,
Daniel Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20070716/78868ab8/attachment.html
More information about the izpack-users
mailing list