views:

463

answers:

6

I'm looking for a free cross-platform installer generator that is fully Java-driven (meaning workflow and plugins are written in Java). Ideally the installer should download the JRE on-demand instead of bundling it directly into the installer. Does something like this already exist?

Please note that InstallAnywhere no longer offers a free edition.

+4  A: 

lzPack is a good one

dfa
My team used this to package up Eclipse. The feedback was all positive. No idea if it can auto-download a JRE, though.
hbunny
I don't think it can auto-download JRE, as it needs JRE in the first place.
Peter Štibraný
I down-voted this because IzPack's workflow is XML driven.
Gili
You didn't specify anything about implementation in your question. You asked for a cross-platform generator and this answer is a cross-platform generator
Rich Seller
My question explicitly states: "meaning workflow and plugins are written in Java"
Gili
We used to bundle a JRE and then run izpack through a exe-converter. It worked. Using IzPack to generate a web Installer is pretty simple. You could run that through an exe-converter an get exactly what you asked for except it uses xml for the workflow.
Tim Williscroft
A: 

openInstaller from the Glassfish project may be worth looking at as well.

Robert Christie
It seems to be XML-driven.
Gili
+12  A: 
codedevour
+1 for completeness
dfa
it'd be good to linky em tho =)
Chii
@chii: its done.
codedevour
IzPack, Antigen, Launch4J, Antstaller, Packlet are all XML-driven.Java Service Wrapper and VAInstaller are driven by property files.Lift Off Java Install and Mini Installer are driven by custom configuration files.JSmooth looks like it's GUI-driven (no scripting) plus version 0.9.9-7 crashes under Windows7.
Gili
A: 

Update: For cross-platform builds there is an IzPack plugin for Maven.


If you're using Maven 1 or 2 for your builds, there is the NSIS plugin (for Windows only).

Both wrap the NSIS command line installer script compiler to generate a windows installer exe from a setup.nsi script.

Rich Seller
NSIS is not cross-platform.
Gili
Unfortunately, IzPack is XML-driven. I'm looking for a Java-driven workflow.
Gili
+1  A: 

Here is a list: Open Source Installers Generators in Java

Jesper
+1  A: 

I've been using this: http://bitrock.com , they allow you to use it for both open and closed software

Giancarlo
Not free for commercial use and somewhat XML-driven.
Gili