Editing the SHORTCUT Node
A SHORTCUT node represents shortcut definitions associated with certain package nodes. A SHORTCUT node is processed in order to create the shortcuts for a package that is being installed. In a SHORTCUT node, you must edit only the create attribute for each of the PROGRAMSMENU, STARTMENU, DESKTOP, and QUICKLAUNCH subnodes. A value Y set for the create attribute creates the shortcuts.
A sample SHORTCUT node in an XML file that creates a shortcut only in the Programs menu is as shown:
<SHORTCUT allusers="Y" id="schematics_shortcut">
<NAME>Creo Schematics [VERSION]</NAME>
<ICON>[LP]/install/nt/schematic.ico</ICON>
<INDEX>0</INDEX>
<PATH>[LP]/bin/schematics.exe</PATH>
<WIN7APPID>PTC.Creo_Schematics.[VERSION]</WIN7APPID>
<STARTINDIR>[DOCUMENTS_ALLUSERS]</STARTINDIR>
<PROGRAMSMENU create="Y" installed="Y">PTC</PROGRAMSMENU>
<DESKTOP create="Y" installed="Y"/>
</SHORTCUT>