Information and steps for creating a shortcut with Wise Installation Systems
|Article:HOWTO1655|||||Created: 2006-01-16|||||Updated: 2006-01-16|||||Article URL http://www.symantec.com/docs/HOWTO1655|
How can I create a shortcut using Wise Installation Systems?
A shortcut is a file with an .lnk extension if it executes a Windows program, and a .pif extension if it executes a DOS program. This is observed regardless of how it was installed. Even if a shortcut to a DOS program is saved with an .lnk extension, or even if a shortcut to a Windows program is saved with a .pif extension, Windows will change the links to the appropriate extensions. If the link is on the Windows desktop, under the Start Menu, or within the Programs menu of the Start Menu, then the directories might not be in their default locations.
By using the Installation Expert and going to the Icon menu, clicking on the add button, we will automatically set up the shortcut for you, using the default settings.
To customize your shortcut or to add it manually you will first need to find out the shortcuts' locations, you should use the Get Registry Key Value script item.
The values to be retrieved are as follows:
HKEY_CURRENT_USER for the current user's configuration.
HKEY_LOCAL_MACHINE for the Common Groups'.
HKEY_USERS for the Default Users' configuration.
The registry key to be queried within the above locations is:
When querying the Default Users it is:
The values to be queried are:
Desktop - for the desktop directory.
Start Menu - for the Start Menu directory.
Programs - for the Programs submenu which resides on the Start Menu.
Startup - for the Startup directory.
If you create the install to the Start Menu, then it will appear above the Programs submenu. If you create it to Programs, it will appear in the Programs submenu.
If you create a link inside of a folder, which itself resides on the Start Menu or the Programs submenu, then the folder will appear as a submenu of its own with the link inside of it.
The Installation Expert can do this for you. When you create a shortcut, you can select Details. There will be a combo box available for shortcut placement, and an option to have the shortcuts created under the Common groups in NT.
Article URL http://www.symantec.com/docs/HOWTO1655