...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?> <installation version="1.0"> <info> <appname>Hello World Application</appname> <appversion>1.0</appversion> <authors> <author name="Your Givenname and Lastname" email="givenname.lastname@hello-world.org"/> </authors> <url>http://www.hello-world.de/</url> </info> <guiprefs width="640" height="480" resizable="yes"/> <locale> <langpack iso3="eng"/> <langpack iso3="deu"/> </locale> <resources> <res id="installer.langsel.img" src="images/helloworld_image1.png" /> <res id="Installer.image" src="images/helloworld_image2.png" /> <res id="LicencePanel.licence" src="Licence.txt"/> <res id="InfoPanel.info" src="Readme.txt"/> </resources> <panels> <panel classname="HelloPanel"/> <panel classname="InfoPanel"/> <panel classname="LicencePanel"/> <panel classname="TargetPanel"/> <panel classname="PacksPanel"/> <panel classname="InstallPanel"/> <panel classname="FinishPanel"/> </panels> <packs> <pack name="InspectITHelloWorld" required="yes"> <description>Hello World Application Runnables</description> <file src="/home/user/workspace/IzPackInstallerHelloWorldInstaller/bin/HelloWorld.class" targetdir="$INSTALL_PATH"/> <file src="/home/user/workspace/IzPackInstallerHelloWorldInstaller/bin/HelloWorld$1.class" targetdir="$INSTALL_PATH"/> <file src="/home/user/workspace/IzPackInstallerHelloWorldInstaller/bin/HelloWorld$2.class" targetdir="$INSTALL_PATH"/> </pack> </packs> </installation> |
...
If you reached this section and done all the pastings and installations in the right order then right now you can build your first installer containing the compiled source code of the HelloWorld application. In the Ant View of Eclipse you can find the new created target named mk_installer and by executing it the following steps should be done one by one: source code compilation -> taking compiled source code and creating an installer by using a defined directory (used in tutorial: /home/user/Desktop/Files4Installer) -> placing the created jar file in a specified directory (used in tutorial: /home/user/Desktop/HelloWorld).
...