Message-ID: <1497949717.1835.1432576083948.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_1834_963626592.1432576083948" ------=_Part_1834_963626592.1432576083948 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The IzPack project includes a set of utilities that you may find useful.=
These projects live outside the regular IzPack installer Subversion repo= sitory. You can access it from http://sv= n.berlios.de/svnroot/repos/izpack/izpack-utils/ instead of http://svn.berlios.de/svnroot/repos/izpack/izpack-src/= for IzPack itself.
They will be shipped in the official IzPack releases under their own pac= k.
The 7-Zip project (see http://www.7-zip.org/) provides a so-called = SFX for installers, i.e., an image that can be use to create self-extractin= g Windows executables. Once its content has been extracted, such a self-ext= racting executable can launch an executable or a file. In the later case, i= t is assumed that there exists an association between a file extension and = a software component.
7-Zip SFX for installers works as follows:
The IzPack Windows executable wrapper takes an IzPack-generated installe= r JAR file, and wraps it inside a Windows SFX executable. This has several = advantages, among these two ones:
And of course, you can ship a JAR and a Windows executable from the very= same IzPack installer descriptor!
We have customized the SFX image from the 7-Zip project as follows:
While the rest of the work is licensed under the Apache License version = 2, the sole SFX module is licensed under the Lesser GNU General Public Lice= nse version 2 or later as required by the 7-Zip project.
izpack2exe is written in Python. It depends on 7-Zip an= d optionnaly UPX, a tool that can compresses executables.
In official IzPack releases, we provide this tool batteries-included= on Windows, i.e., we will provide:
The usage is quite easy:
A typical wrapping will be done like:
izpack2app is the Mac OS X brother of izpack2ex= e. It bundles a JAR installer inside an application bundle, so tha= t your installer will look like a regular Mac OS X application.
To do that, we started from the Mac OS X Jar Bundler tool that = you can find under /Developer/Java. We bundled a Jar installer, th= en stripped it. Indeed, an application bundle is nothing else but a structu= red set of files and directories.
What izpack2app does is simply:
izpack2app is written in Python. It does not require an= y third-party module to work. Python is bundled with Mac OS X and is mainst= ream on Linux and other Unix variants. We ship it as a Windows executable i= n the official IzPack releases (and of course also as a Python application!= ).
The usage is straightforward:
wraps installer.jar as Installer.app
izpack2jnlp is able to generate Java Web Start JNLP fil= es so that IzPack-based installers can also be shipped via Java Web Start.<= /p>
izpack2jnlp is written in Python and does not need thir= d-party modules to work.
Please note that it only generates JNLP files: you must sign you= r installer JAR before you actually upload them to a web server as= Java Web Start refuses to launch unsigned JARs.
You need to pass a few arguments on the command-line, run:
to see them.