[izpack-users] Multiple shortcuts creation

Marc Eppelmann marc.eppelmann at gmx.de
Tue Jan 24 18:00:11 CET 2006


Hi Mark,

I advise at first, to use defaulName instead of name in the following
line in your spec.xml.
Also please try location="applications" at first.

Cheers
Marc

<programGroup defaultName="Marbo/App" location="applications"/>

Mark Hoogenboom schrieb:
> 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




More information about the izpack-users mailing list