[izpack-users] problem creating shortcuts

Bartz, Klaus Klaus.Bartz at coi.de
Fri Aug 4 14:22:16 CEST 2006


Hi Mika,
the dll has not to be in your source tree else in the IzPack tree:
(see last mail).
May be the IzPack installation self can help you:
The definition files
are in
%IZ_HOME%\src\dist-files

The ant script
%IZ_HOME%\src\build.xml
contains the "tag"
generate.installer
if you have ant in your PATH, go into %IZ_HOME%/src, call simple
ant
and then
ant generate.installer

or with path...


Rest how ever...

Cheers

Klaus


>-----Original Message-----
>From: izpack-users-bounces at lists.berlios.de
>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of mika
>Sent: Friday, August 04, 2006 2:15 PM
>To: izpack-users at lists.berlios.de
>Subject: Re: [izpack-users] problem creating shortcuts
>
>
>Hi,
>
>install.xml:
><installation version="1.0">
>  <info>
>    <appname>Check for VirusUpdate</appname>
>    <appversion>0.9 beta</appversion>
>    <authors>
>      <author name="Maik Schlotter" email="Maik.Schlotter at gmx.net" />
>    </authors>
>  </info>
>
>  <guiprefs resizable="no" width="800" height="600" />
>
>  <locale>
>    <langpack iso3="deu" />
>    <langpack iso3="por" />
>  </locale>
>
>  <resources>
>    <res 
>src="c:\programme\izpack\mysample\shortcut_specification.xml" 
>id="shortcutSpec.xml" />
>  </resources>
>
>  <panels>
>    <panel classname="HelloPanel" />
>    <panel classname="TargetPanel" />
>    <panel classname="PacksPanel" />
>    <panel classname="InstallPanel" />
>    <panel classname="ShortcutPanel" />
>    <panel classname="FinishPanel" />
>  </panels>
>
>  <packs>
>    <pack name="classes" required="yes">
>      <description>Die Klassen</description>
>      <file src="class" targetdir="$INSTALL_PATH" />
>    </pack>
>    <pack name="executable" required="yes" os="windows">
>      <description>Die Windows Startdatei</description>
>      <file src="win" targetdir="$INSTALL_PATH" />
>    </pack>
>    <pack name="documentation and licence" required="no" 
>preselected="no">
>      <description>Die Dokumentation und 
>Lizensbestimmungen</description>
>    </pack>
>    <pack name="    documentation" required="no">
>      <description>Die Dokumentation</description>
>      <depends packname="documentation and licence" />
>      <file src="txts\doc\documentation.txt" 
>targetdir="$INSTALL_PATH\documentation" />
>    </pack>
>    <pack name="    licence" required="no">
>      <description>Die Lizensbestimmungen</description>
>      <depends packname="documentation and licence" />
>      <file src="txts\licence\licence.txt" 
>targetdir="$INSTALL_PATH\licence" />
>    </pack>
>  </packs>
>  <native type="izpack" name="native\ShellLink.dll" />

wrong, has to be
    <native type="izpack" name="ShellLink.dll"/>



></installation>
>
>shortcutSpec.xml:
><shortcuts>
>  <skipIfNotSupported />
>  <programGroup defaultName="MyApp\CheckVirusUpdate"
>                location="startMenu" />
>  <shortcut name="Involve Checking"
>		target="$INSTALL_PATH\win\CheckVirusUpdate.bat"
>		description="This involves Checking wheather 
>there are new updates"
>		initialState="noShow"
>		startMenu="yes">
>    <createForPack name="executable" />
>  </shortcut>
></shortcuts>
>
>BTW, I placed the shortcutSpec.xml in the same directory like 
>the install.xml.
>
>Thanks,
>mika
>-- 
>
>
>Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
>"Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl
>_______________________________________________
>izpack-users mailing list
>izpack-users at lists.berlios.de
>http://bat.berlios.de/mailman/listinfo/izpack-users
>



More information about the izpack-users mailing list