[izpack-users] UninstallerListener and variables

Tim & Victoria O'Malley tvomalley at gmail.com
Fri Mar 9 19:49:57 CET 2007


So in my UninstallListener can I do the following:

Map additionalData = UninstallData.*getInstance*().getAdditionalData();

String myVar= (String)additionalData.get("myVar");

or do I need to write a handler?

Thanks



On 3/9/07, Bartz, Klaus <Klaus.Bartz at coi.de> wrote:
>
> Hi tvomalley (??),
> in the IzPack uninstaller there are no IzPack variables from install.xml
> or
> from installation process. But you can put what you wont into the
> uninstaller
> via
> UninstallData.getInstance().addAdditionalData("<Name of the data",
> <DataObject>);
> You can use RegistryInstallerListener line 146ff (writes log of registry
> data
> into uninstaller.jar) and RegistryUninstallerListener line 62ff
> (reads log of registry data and rewinds the made keys and values) as
> example.
>
> Cheers
>
> Klaus
>
> > -----Original Message-----
> > From: izpack-users-bounces at lists.berlios.de
> > [mailto:izpack-users-bounces at lists.berlios.de] On Behalf Of tvomalley
> > Sent: Thursday, March 08, 2007 4:18 PM
> > To: izpack-users at lists.berlios.de
> > Subject: [izpack-users] UninstallerListener and variables
> >
> >
> >
> > If I create a custom UninstallerListener can I get a varaible
> > that is set in my install.xml? Is there a way to pass and
> > argument to the custom UninstallerListener? Thanks
> > --
> > View this message in context:
> > http://www.nabble.com/UninstallerListener-and-variables-tf3369
> 129.html#a9374199
> Sent from the izpack users mailing list archive at Nabble.com.
>
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20070309/2d6fec34/attachment.html 


More information about the izpack-users mailing list