Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The specification for application shortcuts is provided to the Shortcut Panel in the XML file format. The root element is <shortcuts>. It should be added to the <resources> section  It must be referred in the <resources> section by a resource definition with the ID "shortcutSpec.xml".:

Code Block
languagehtml/xml
<res id="shortcutSpec.xml" src="my-installer-files/shortcutSpec.xml/>

 All contents in the referred file must be nested to the following root element:

Code Block
languagexml
<izpack:shortcuts version="5.0"
                  xmlns:izpack="http://izpack.org/schema/shortcuts"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://izpack.org/schema/shortcuts http://izpack.org/schema/5.0/izpack-shortcuts-5.0.xsd">

...
</izpack:shortcuts>


Nested Elements 

defaultCurrentUser

...

The <lateShortcutInstall/> tag has no attributes or content.  Delays the creation of shortcuts until after all packs have been installed (instead of creating shortcuts as soon as 'Next' is clicked). Specify this if you want to show ShortcutPanel before InstallPanel.

previousDisabled

The <previousDisabled/> tag has no attributes or content. Specify this if you want to disable the previous navigation button for this panel. (Since: IzPack 5.1.3)

programGroup

Allows you to specify the name of the menu, or more precisely the folder, in which the shortcuts will be grouped. The exact location and appearance of the program group depends on the specific target system on which the application will be installed. This can be partially controlled by the location parameter.

...

AttributeDescriptionRequired
runAsAdministrator

Determines if the target of the shortcut should be run with administrator privileges
(since 5.0.0-rc1)

No; defaults to false.

...


createForPack

This is an optional nested element, with one required attribute, name, specifying the name of a pack that must be selected for this shortcut to be created. Multiple <createForPack> elements can be nested in the same <shortcut>.

...