Question

I'm not looking for java-web-start, I'm looking for a thick-client application installation toolkit. I've got a stand-alone application that consists of several files (jar files, data files, etc) and would need to do some pretty standard installation tasks, like asking the user for target directories, have them locate some parts of their system - choose some of the per-machine or per-user configuration options and possibly try to detect some of the machine settings for them.

I'm looking for something which is like the MSI or other wizard driven installation applications. What's a good installer for Java? It would be ideal if it were cross-platform capable (Linux, Mac OSX and Windows).

Was it helpful?

Solution

Not an MSI-Installer but crossplatform: izPack

It's xml-file based with it's own GUI or ant task (whtaever you prefer)

OTHER TIPS

Launch4j -- open source -- http://launch4j.sourceforge.net/

InstallJammer -- http://www.installjammer.com/

If you are looking for an Open Source solution, take a look here: http://java-source.net/open-source/installer-generators

I have used InstallAnywhere and I think that it is a good solution too.

AntInstaller enables you to create cross-platform installers where the installation itself is performed using an ANT script. The GUI is configured with an XML config file.

We used it to create quite complex installers. For complex GUIs however, the configuration can get very difficult. The next time I would probably try izPack because it seems to support ANT as well but has nicer GUIs.

I suggest izPack with packJacket

The Nullsoft Scriptable Install System NSIS (originally used for winamp) creates really nice installers for windows, and it's very powerful. It has a compiler that runs under linux, but the resulting installer is windows-only, unfortunately.

It's pretty heavy-weight, but worth keeping in mind if you might have to do any vaguely complex or non-standard things during installation.

I have used it since it integrates nicely with my (linux) build system, and I'd want to use packages for installing on linux anyway.

Although it is not Java-based, about half of our customers use BitRock InstallBuilder to package Java applications. It is cross-platform and supports all the OS that you require (Linux, Windows, Mac). The installer is native, so there are certain advantages to it, such as not requiring a self-extraction step or the need to bundle a JRE, so the installers tend to be smaller in size

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top