Hello,
J'essaye d'afficher avec IZPack le panel des raccourcis, le panel ShortcutPanel.
Mais que nenni, il en fait qu'à sa tête.

Voici mon install.xml:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
 
<installation version="1.0">
	<info>
		<appname>App</appname>
		<appversion>0.0.1</appversion>
		<javaversion>1.6.0</javaversion>
	</info>
 
	<!--  Pour les raccourcis Windows -->
	<native type="izpack" name="ShellLink.dll" />
 
	<variables>
		<!-- Fichier de log de l'installation -->
		<variable name="InstallerFrame.logfilePath"
			value="$INSTALL_PATH/install.log" />
		<variable name="DesktopShortcutCheckboxEnabled" value="true" />
		<!-- 	<variable name="desktopshortcutcheckboxenabled" value="true" />  -->
		<!-- This automatically checks the "Create Desktop Shortcuts" button. Default value is "False". -->
	</variables>
 
	<!-- Préférences apparences (possibilité Look&Feel) -->
	<guiprefs width="640" height="480" resizable="no">
		<!-- <laf name="looks">
			<os family="windows" />
			<param name="variant" value="extwin" />
			</laf>
		-->
	</guiprefs>
 
	<!-- Langues disponibles -->
	<locale>
		<langpack iso3="fra" />
	</locale>
 
	<resources>
		<res id="LicencePanel.licence" src="LICENSE.txt" />
		<res id="InfoPanel.info" src="README.txt" />
		<!-- Surcharge des textes en français des panels -->
		<res id="CustomLangpack.xml_fra"
			src="internationalization/packsLang.xml_fra" />
		<!-- Spécifications des raccourcis -->
		<res id="shortcutSpec.xml" src="shortcuts/shortcutSpec.xml" />
	</resources>
 
	<!-- Panels affichés consécutivement dans l'ordre donné -->
	<panels>
		<panel classname="HelloPanel" />
		<panel classname="InfoPanel" />
		<panel classname="LicencePanel" />
		<panel classname="TargetPanel" />
		<panel classname="PacksPanel" />
		<panel classname="InstallPanel" />
		<panel classname="ShortcutPanel" />
		<panel classname="SimpleFinishPanel" />
	</panels>
 
	<!-- Packs d'installation -->
	<packs>
 
		<!-- Exécutable et librairies [OBLIGATOIRE]. -->
		<pack name="Base" required="yes">
			<description>
				Exécutable et librairies Galileo.
			</description>
			<!-- Exécutable -->
			<fileset dir="." targetdir="$INSTALL_PATH">
				<include name="*.jar" />
			</fileset>
			<!-- Librairires dépendantes -->
			<file targetdir="$INSTALL_PATH" src="lib" />
		</pack>
	</packs>
</installation>
Et le fichier de spéc. des raccourcis shortcuts/shortcutSpec.xml.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<shortcuts>
  <skipIfNotSupported/>
  <programGroup defaultName="XXX XXX"
                location="applications||startMenu"/>
  <shortcut
    name="XXX XXX"
    target="$INSTALL_PATH\XXX.jar"
    commandLine=""
    workingDirectory="$INSTALL_PATH"
    description="Lancer XXX"
    iconFile="$INSTALL_PATH\icons\start.ico"
    iconIndex="0"
    initialState="noShow||normal||maximized||minimized"
    programGroup="yes||no"
    desktop="yes||no"
    applications="yes||no"
    startMenu="yes||no"
    startup="yes||no">
 
  <!-- <createForPack name="Base"/> -->
  </shortcut>
</shortcuts>
J'ai lancé avec les traces :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
java -DTRACE=true -DSTACKTRACE=true -jar XXX-0.0.1-standard.jar
...
Current Panel: UNKNOWN (com.izforge.izpack.panels.InstallPanel)
can show panel with id UNKNOWN (com.izforge.izpack.panels.InstallPanel) ?
no condition, show panel
Current Panel: UNKNOWN (com.izforge.izpack.panels.PacksPanel)
can show panel with id UNKNOWN (com.izforge.izpack.panels.PacksPanel) ?
no condition, show panel
Current Panel: UNKNOWN (com.izforge.izpack.panels.ShortcutPanel)
can show panel with id UNKNOWN (com.izforge.izpack.panels.ShortcutPanel) ?
no condition, show panel
writing installation information
creating info fileC:\Program Files\SAR Galileo\.installationinformation
done.
Current Panel: UNKNOWN (com.izforge.izpack.panels.ShortcutPanel)
can show panel with id UNKNOWN (com.izforge.izpack.panels.ShortcutPanel) ?
no condition, show panel
Current Panel: UNKNOWN (com.izforge.izpack.panels.InstallPanel)
can show panel with id UNKNOWN (com.izforge.izpack.panels.InstallPanel) ?
no condition, show panel
Current Panel: UNKNOWN (com.izforge.izpack.panels.SimpleFinishPanel)
can show panel with id UNKNOWN (com.izforge.izpack.panels.SimpleFinishPanel) ?
no condition, show panel
Current Panel: UNKNOWN (com.izforge.izpack.panels.SimpleFinishPanel)
can show panel with id UNKNOWN (com.izforge.izpack.panels.SimpleFinishPanel) ?
no condition, show panel
Dans les traces, on voit bien passer le Shortcutpanel mais il ne s'affiche jamais.

Pouvez-vous m'aider ?
Merci.