Problem with Shortcut Panel. Not showing.

2 views
Skip to first unread message

Andrey Pletenev

unread,
Nov 20, 2025, 4:28:58 AMNov 20
to izpack-dev
Hi, everyone!
Could you please advise what might be wrong with my shortcutSpec.xml?

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<izpack:shortcuts version="5.0"
    <lateShortcutInstall/>
    <shortcut name="Test shortcut" target="$INSTALL_PATH\cmd.exe" startup="true">
    </shortcut>
</izpack:shortcuts>

The problem is that the Shortcut Panel is simply not showing.

In my installer XML, I have:
<natives>
     <native type="izpack" name="ShellLink.dll"/>
     <native type="izpack" name="ShellLink_x64.dll"/>
</natives>

<resources>
      <res id="default_shortcut_spec.xml" src="shortcutSpec.xml"/>
</resources>

<panels>
     <panel classname="CheckedHelloPanel"/>
     <panel classname="InstallationGroupPanel"/>
     <panel classname="TreePacksPanel"/>
     <panel classname="ShortcutPanel"/>
     <panel classname="TargetPanel"/>
     <panel classname="InstallPanel"/>
     <panel classname="SimpleFinishPanel"/>
</panels>

There are no compilation or runtime errors in the console.

andrea...@gmail.com

unread,
Nov 21, 2025, 1:52:37 AMNov 21
to izpack-dev
Hi,

According to https://izpack.atlassian.net/wiki/spaces/IZPACK/pages/491537/Desktop+Shortcuts the id of the shortcut must be (prefix)+shortcutSpec.xml.
In your case:
<resources>
      <res id="shortcutSpec.xml" src="shortcutSpec.xml"/>
</resources>

Does this help?

Cheers,
Andreas

Andrey Pletenev

unread,
Nov 21, 2025, 3:46:20 AMNov 21
to izpack-dev
Thank you! The problem has been solved.

Best regards,
Andrey

пятница, 21 ноября 2025 г. в 13:52:37 UTC+7, andrea...@gmail.com:
Reply all
Reply to author
Forward
0 new messages