How to get IzPack tocheck for an existing version of the software?

Posted by bguiz on Stack Overflow See other posts from Stack Overflow or by bguiz
Published on 2009-12-04T06:08:26Z Indexed on 2010/03/19 5:41 UTC
Read the original article Hit count: 376

Hi,

I have an application for which we use IzPack to create the installer. The installer is working fine in its current state, however, I need to add functionality that enables it to check whether an existing version of the software has been installed.

I understand IzPack supports this out of the box using its CheckedHelloPanel, unfortunately that only works for Windows, as it appears to depend on the windows registry.

Is there a way to configure IzPack such that it is able to detect existing installations?

I need to be able to detect whether there is one and merely display a message notifying the user... Bonus points for how to give the user the option to trigger the uninstaller of the existing installation.


  • Assume that the software will only be installed using the new installer
  • IzPack only: please do not suggest alternatives, as we cannot change that now
  • If you suggest using <validator>, please include a code sample of the validator class, because I have considered this, but don't know where to start

© Stack Overflow or respective owner

Related posts about izpack

Related posts about java