[izpack-users] Windows XP Registry Entries cleaning up
Daniel Silva
ddso.01 at gmail.com
Mon Jul 23 19:53:25 CEST 2007
Hi Klaus, thans for the reply.
the "registryEntries", native\COIOSHelper.dll and the
com\izforge\izpack\event\RegistryUninstallerListener.class
are all there.
I really dont know if the key are persistent or not. How do I know that?
Even izPack entries are not erase when I uninstall it.
On 7/23/07, Bartz, Klaus <Klaus.Bartz at coi.de> wrote:
>
> Hi Daniel,
> sorry for late answer, but I was on a workshop.
> I do not really know why uninstall do not work correctly with your
> program.
> We use $UNINSTALL_NAME instead of $APP_NAME, but this should produce only
> problems
> with multiple installations of the same program.
>
> Try with some additional other keys, may be with the root HKCU.
>
> Are all keys persistent, or only some?
> Look into your uninstaller.jar (may be with an unzipper or with jar).
> Is there a file "registryEntries" in the root? It is a java object stream,
> but with some editors
> you can look into. If you can, is there the entry
> SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\<your APP_NAME> ?
> Is in the uninstaller
> com\izforge\izpack\event\RegistryUninstallerListener.class
> and
> native\COIOSHelper.dll ?
>
> Cheers
>
> Klaus
>
> -----Original Message-----
> *From:* izpack-users-bounces at lists.berlios.de [mailto:
> izpack-users-bounces at lists.berlios.de] *On Behalf Of *Daniel Silva
> *Sent:* Monday, July 16, 2007 10:38 PM
> *To:* izpack-users at lists.berlios.de
> *Subject:* [izpack-users] Windows XP Registry Entries cleaning up
>
> 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
>
>
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
>
>
--
Abraços,
Daniel Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20070723/064e8de6/attachment.html
More information about the izpack-users
mailing list