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

...

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>.

...