Sunil Kumar Sahoo
Sunil Kumar Sahoo

Reputation: 53657

How to use izPack to create an installer

Hi I have installed izPack in linux operating system. I have my own java application in jar format. I want to create a installer of that jar file for a linux operating system. I want to display license agreement when some one wants to install using that installer

So can anyone tell me the step by step approach to create installer using izpack.

Thanks Sunil Kumar Sahoo

Upvotes: 4

Views: 21412

Answers (5)

Aravinthan K
Aravinthan K

Reputation: 1861

Visit Here for Simple Example .

Upvotes: 2

Meher Zeb
Meher Zeb

Reputation: 11

You need to add.

  1. License.txt file with the same level of bin directory. Now add the following line to panel
  2. add panel tage like "panel classname="LicencePanel" " in panels tag
  3. add file tage like "file src="Licence.txt" targetdir="$INSTALL_PATH" " in "packet" tag.

Upvotes: 1

Angelo Fuchs
Angelo Fuchs

Reputation: 9941

You wrote that you already have the install.xml as documented at the izpack homepage

So the next step would be to compile the installer.jar from it.

Either you follow the getting started guide from izpack or you use a plugin to include the izpack action to your deployment process.

There is a plugin for maven (see here http://izpack.codehaus.org/izpack-maven-plugin/usage.html for how to use it) and there also is one for ant, its documented at the izpack page. http://izpack.org/documentation/sample-install-definition.html

Upvotes: 2

Muhammad Imran Tariq
Muhammad Imran Tariq

Reputation: 23352

Hello In the link below you will find a nice help about izpack installer.

http://www.imrantariq.com/blog/?p=89

Link below contains a detailed pdf to make installer with izpack.

http://www.imrantariq.com/blog/?attachment_id=112

cheers

Imran tariq

Upvotes: 4

SingleShot
SingleShot

Reputation: 19131

Creating an installer with IzPack is fairly straightforward and well-documented. Unfortunately the specifics are highly dependent on the product to be installed, so your best bet is to read the documentation and look at the sample.

Upvotes: 10

Related Questions