[izpack-users] Multiple shortcuts creation
Mark Hoogenboom
mark.hoogenboom at marbo5.org
Mon Jan 23 20:55:22 CET 2006
LS,
When creating multiple shortcuts, I found the order in which I specified
them mattered.
The following shortcutSpec.xml (extracted from the installer file) creates
three shortcuts, of which the first two have the target biblio.jar and the
third has the target biblio-uninstall.jar:
<shortcuts>
<programGroup location="startMenu" name="Marbo/App" />
<shortcut name="App" description="Start App"
target="$INSTALL_PATH/biblio.jar" workingDir="$INSTALL_PATH"
iconFile="$INSTALL_PATH/lib/start.ico" programGroup="yes" desktop="yes" />
<shortcut name="Manual" description="App manual"
target="$INSTALL_PATH/manual.pdf" workingDir="$INSTALL_PATH"
iconFile="$INSTALL_PATH/lib/manual.ico" programGroup="yes" />
<shortcut name="Uninstall" description="Uninstall App"
target="$INSTALL_PATH/Uninstaller/biblio-uninstall.jar"
workingDir="$INSTALL_PATH/Uninstaller"
iconFile="$INSTALL_PATH/lib/uninstall.ico" programGroup="yes" />
</shortcuts>
However, this shortcutSpec.xml creates the shortcuts with the right targets:
<shortcuts>
<programGroup location="startMenu" name="Marbo/App" />
<shortcut name="Manual" description="App manual"
target="$INSTALL_PATH/manual.pdf" workingDir="$INSTALL_PATH"
iconFile="$INSTALL_PATH/lib/manual.ico" programGroup="yes" />
<shortcut name="App" description="Start App"
target="$INSTALL_PATH/biblio.jar" workingDir="$INSTALL_PATH"
iconFile="$INSTALL_PATH/lib/start.ico" programGroup="yes" desktop="yes" />
<shortcut name="Uninstall" description="Uninstall App"
target="$INSTALL_PATH/Uninstaller/biblio-uninstall.jar"
workingDir="$INSTALL_PATH/Uninstaller"
iconFile="$INSTALL_PATH/lib/uninstall.ico" programGroup="yes" />
</shortcuts>
In both cases the ShortcutPanel doesn't give a default Program Group and the
working directory of the created shortcuts is empty. The installer is build
and run on Windows XP / Java 5.
I think Izpack is a great tool and I would really appreciate it if someone
could shed some light on these issues.
Thanks
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20060123/a571fc2e/attachment.html
More information about the izpack-users
mailing list