List Info

Thread: Detecting an upgrade




Detecting an upgrade
user name
2007-06-04 04:05:42
Hi,

I'm currently evaluating IzPack for a new software product.
Looks great so 
far! Still two questions I couldn't answer myself by looking
at the 
documentation:

1) Is it possible to detect a "re-install"? Ie.
detect that the software 
has already been installed (by looking at the registry or
some other 
well-known location). In this case I want the installer to
behave 
differently. E.g. the installer should provide options to
re-install the 
software or to uninstall it. Ideally it should also detect
"upgrades", 
that is the case if the previously installed software has a
lower version 
number than the one to be installed.

2) I see that IzPack optionally generates an uninstaller. On
Windows, will 
those uninstallers automatically be registered in the
Software registry?


Thanks, in advance, for your answers,

Dirk Moebius
-- 
Software Consultant
MBB Gelma GmbH, Germany
http://www.mbb-gelma.de/

_______________________________________________
izpack-users mailing list
izpack-userslists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-users


Re: Detecting an upgrade
user name
2007-06-04 04:42:24
1) Yes, look at the Registry Action in the documentation. Write your ApplicationKey to the registry and read it to detect an old installation before.

2) Yes, if you include the Registry Action like described in the Documentation.

Markus

2007/6/4, Dirk.Moebiusdorma.com">Dirk.Moebiusdorma.com < Dirk.Moebiusdorma.com">Dirk.Moebiusdorma.com>:
Hi,

I&#39;m currently evaluating IzPack for a new software product. Looks great so
far! Still two questions I couldn';t answer myself by looking at the
documentation:

1) Is it possible to detect a "re-install";? Ie. detect that the software
has already been installed (by looking at the registry or some other
well-known location). In this case I want the installer to behave
differently. E.g. the installer should provide options to re-install the
software or to uninstall it. Ideally it should also detect "upgrades",
that is the case if the previously installed software has a lower version
number than the one to be installed.

2) I see that IzPack optionally generates an uninstaller. On Windows, will
those uninstallers automatically be registered in the Software registry?


Thanks, in advance, for your answers,

Dirk Moebius
--
Software Consultant
MBB Gelma GmbH, Germany
http://www.mbb-gelma.de/
_______________________________________________
izpack-users mailing list
izpack-userslists.berlios.de">izpack-userslists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-users

Re: Detecting an upgrade
country flaguser name
Germany
2007-06-04 04:46:21
Hi Dirk,

1)
IzPack do not support real maintenance like MSI. But it
is possible to detect an already installed program. See
CheckedHelloPanel. For the different handling of files etc.
there exist no class, but you are free to write your own
panels and custom actions. One big problem is, that a
secound
installation will overwrite the first uninstaller. I prefer
to
uninstall first and install a new version secound.

2) Look into your registry. Are there an entry for IzPack

If you add the RegistryInstallerListener it will be done
automatically
or you can extend the entry with some informations like your
web page.
This is used in IzPack self.
See the installation description file of IzPack
%IZ_HOME%srcdist-filesIzPack-install.xml

Cheers

Klaus

Am 04.06.2007, 11:05 Uhr, schrieb <Dirk.Moebiusdorma.com>:

> Hi,
>
> I'm currently evaluating IzPack for a new software
product. Looks great  
> so
> far! Still two questions I couldn't answer myself by
looking at the
> documentation:
>
> 1) Is it possible to detect a "re-install"?
Ie. detect that the software
> has already been installed (by looking at the registry
or some other
> well-known location). In this case I want the installer
to behave
> differently. E.g. the installer should provide options
to re-install the
> software or to uninstall it. Ideally it should also
detect "upgrades",
> that is the case if the previously installed software
has a lower version
> number than the one to be installed.
>
> 2) I see that IzPack optionally generates an
uninstaller. On Windows,  
> will
> those uninstallers automatically be registered in the
Software registry?
>
>
> Thanks, in advance, for your answers,
>
> Dirk Moebius



-- 
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/

_______________________________________________
izpack-users mailing list
izpack-userslists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-users


Antwort: Detecting an upgrade
user name
2007-06-05 07:24:10
Markus & Klaus: thanks for your answers. I'll
give it a try...

Dirk Moebius
-- 
Software Consultant
MBB Gelma GmbH, Germany
http://www.mbb-gelma.de/


_______________________________________________
izpack-users mailing list
izpack-userslists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-users


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )