izpack og oprettelse af shortcut virker ikke
Er der nogen der kender noget til izpack, der kan fortælle mig hvorfor jeg ikke kan få shortcut panelet frem? Jeg får ingen fejl og mens jeg under installationen( af den installer jeg har lavet via izpack) af min installer kan få vist alle andre paneler, kommer shortcut panelet slet ikke frem. Det meste af min install.xml seer således ud:<native type="izpack" name="ShellLink.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.xml" src="win_shortcut_specification.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="InstallPanel"/>
<panel classname="ShortcutPanel"/> <-- den er sat til
<panel classname="SimpleFinishPanel"/>
</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="run_aPlus.bat" targetdir="$INSTALL_PATH"/>
<parsable targetfile="$INSTALL_PATH/run_aPlus.bat"/>
</pack>
<pack name="Core" required="yes">
<description>The core</description>
<file src="aPlus.jar" targetdir="$INSTALL_PATH"/>
<file src="db" targetdir="$INSTALL_PATH"/>
<file src="diverse" targetdir="$INSTALL_PATH"/>
<file src="formular" targetdir="$INSTALL_PATH"/>
<file src="lib" targetdir="$INSTALL_PATH"/>
</pack>
</packs>
og min win_shortcut_specification.xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <shortcuts>
<programGroup defaultName="Admin Client" location="applications" />
- <shortcut name="Admin Client"
programGroup="yes"
desktop="yes"
applications="no"
startMenu="no"
startup="no"
target="$INSTALL_PATH\run_aPlus.bat"
workingDirectory="$INSTALL_PATH"
description="Run Admin Client"
initialState="noShow">
<createForPack name="Core" />
</shortcut>
</shortcuts>
Dette er udskrift når jeg opretter installer:
Adding resource : IzPack.uninstaller ...
Setting the installer informations ...
Setting the GUI preferences ...
Adding langpack : eng ...
Adding resource : flag.eng ...
Adding resource : LicencePanel.licence ...
Adding resource : InfoPanel.info ...
Adding resource : shortcutSpec.xml ...
Adding native library : ShellLink.dll ...
Adding content of jar : /C:/Programmer/IzPack/bin/panels/HelloPanel.jar ...
Adding content of jar : /C:/Programmer/IzPack/bin/panels/InfoPanel.jar ...
Adding content of jar : /C:/Programmer/IzPack/bin/panels/LicencePanel.jar ...
Adding content of jar : /C:/Programmer/IzPack/bin/panels/TargetPanel.jar ...
Adding content of jar : /C:/Programmer/IzPack/bin/panels/PacksPanel.jar ...
Adding content of jar : /C:/Programmer/IzPack/bin/panels/InstallPanel.jar ...
Adding content of jar : /C:/Programmer/IzPack/bin/panels/ShortcutPanel.jar ..
Adding content of jar : /C:/Programmer/IzPack/bin/panels/SimpleFinishPanel.ja
..
Building installer jar: C:\Programmer\IzPack\bin\..\aPlus_installer\install.j
[ Begin ]
Copying the skeleton installer ...
Copying 7 files into installer ...
Copying contents of 8 jars into installer ...
Writing Packs ...
Writing Pack #0 : Base
Writing Pack #1 : Core
[ End ]
Build time: Sun Sep 18 13:00:09 CEST 2005
Alt seer ud til at funke undtagen at shortcut panelet slet ikke kommer frem. Nogen ideer?
