...
IzPack can execute Java classes provided by third party developers.
This can be useful used to extend IzPack's functionality in a number of ways
...
Code Block | ||||
---|---|---|---|---|
| ||||
<installation> ... <resources> <res id="ProcessPanel.Spec.xml" src="installer/ProcessPanel.Spec.xml"/> ... </resources> ... </installation> |
b. Reference your JAR
In At the top level of the install.xml file's top level, add a reference the to your JAR file containing your the class.
This is partially documented at:
http://izpack.org/documentation/installation-files.html#the-jar-merging-element-jar
...
Code Block | ||||
---|---|---|---|---|
| ||||
<installation> <resources> <res id="ProcessPanel.Spec.xml" src="installer/ProcessPanel.Spec.xml"/> </resources> ... <jar src="path/to/hello.jar" stage="install"/> .... </installation> |
A good place to put this is near Adding the jar
element inear the <resources> definition is a good idea.
c. Use a ProcessPanel to execute your Java class
...