I have started using IzPack. And am successfully using it.
But there is one problem,I am not able to create shortcut using it.
I have studied the forms related to the problem.
I have Izpack's latest version.
I have put <native> tag,<resources>,shortcutSpec.xml.
But still it is not working.
Also I have added shortcut panel.
but installer that is created, doesn't show shortcut form while installation process.
given blow is my install.xml
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
A sample installation file.
Use it as a base for your own installers :-)
To compile it :
- go in the bin directory where you installed IzPack
- call "compile ../sample/install.xml -b ../sample"
-->
<installation version="1.0">
<!--
The info section.
The meaning of the tags should be natural ...
-->
<info>
<appname>Sample Installation</appname>
<appversion>1.4 beta 666</appversion>
<authors>
<author name="JPz" email="jpz@superman.org"/>
<author name="Hidden Man" email="hidden@hisdomain.com"/>
</authors>
<url>
http://www.anotherworld-inspace-website.net/</url>
</info>
<variables>
<variable name="desktopshortcutcheckboxenabled" value="true"/>
</variables>
<!--
The gui preferences indication.
Sets the installer window to 640x480. It will not be able to change the size.
-->
<guiprefs width="640" height="480" resizable="yes"/>
<!--
The locale section.
Asks here to include the English and French langpacks.
-->
<locale>
<langpack iso3="eng"/>
<langpack iso3="fra"/>
</locale>
<native type="izpack" name="ShellLink.dll"/>
<native type="izpack" name="ShellLink_x64.dll"/>
<!--
The resources section.
The ids must be these ones if you want to use the LicencePanel and/or the InfoPanel.
-->
<resources>
<res id="LicencePanel.licence" src="Licence.txt"/>
<res id="InfoPanel.info" src="Readme.txt"/>
<res id="shortcutSpec" src="shortcutSpec.xml" />
</resources>
<!--
The panels section.
We indicate here which panels we want to use. The order will be respected.
-->
<panels>
<panel classname="HelloPanel"/>
<panel classname="InfoPanel"/>
<panel classname="LicencePanel"/>
<panel classname="TargetPanel"/>
<panel classname="PacksPanel"/>
<panel classname="ShortcutPanel"/>
<panel classname="InstallPanel"/>
<panel classname="FinishPanel"/>
</panels>
<!--
The packs section.
We specify here our packs.
-->
<packs>
<pack name="Base" required="yes">
<description>The base files</description>
<file src="Readme.txt" targetdir="$INSTALL_PATH"/>
<file src="Licence.txt" targetdir="$INSTALL_PATH"/>
<file src="script.bat" targetdir="$INSTALL_PATH"/>
<parsable targetfile="$INSTALL_PATH/script.bat"/>
<!-- The file will be parsed -->
</pack>
<pack name="Docs" required="no">
<description>The documentation</description>
<file src="doc" targetdir="$INSTALL_PATH"/>
<!-- Reccursive adding -->
</pack>
<pack name="Sources" required="no">
<description>The sources</description>
<file src="src" targetdir="$INSTALL_PATH"/>
</pack>
</packs>
</installation>
this is shortcutspec.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<shortcuts>
<programGroup defaultName="MyApp"
location="applications"/>
<shortcut
name="wekautils"
target="$INSTALL_PATH\src\com\myCompany\tools\install\listener\Issue_Tracker.jar"
description="Launch app"
workingDirectory="$INSTALL_PATH"
iconFile="$INSTALL_PATH\images\logo.ico"
initialState="normal"
programGroup="yes"
desktop="yes"
applications="no"
startMenu="no"
startup="no">
<createForPack name="Base"/>
</shortcut>
<shortcut
name="Documentation"
target="$INSTALL_PATH\doc\doc.txt"
description="Launch documentation"
initialState="normal"
programGroup="yes"
desktop="no"
applications="no"
startMenu="no"
startup="no">
<createForPack name="Base"/>
</shortcut>
</shortcuts>