This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Conditional Desktop Shortcut
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 20, 2008
04:40 PM
Conditional Desktop Shortcut
Is there a way to programmatically (Installscript) add a desktop shortcut that is not a folder?
I know that I can add shortcuts through the Installation Designer but I want to conditionally add a shortcut to the desktop that is NOT a folder, rather a shortcut to an application.
AddFolderIcon seems to be the only way to programmatically add a shortcut but it only has folders as an option.
Thanks in advance for any help that the community can provide.
I know that I can add shortcuts through the Installation Designer but I want to conditionally add a shortcut to the desktop that is NOT a folder, rather a shortcut to an application.
AddFolderIcon seems to be the only way to programmatically add a shortcut but it only has folders as an option.
Thanks in advance for any help that the community can provide.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 20, 2008
05:17 PM
The shortcut target you set in AddFolderIcon doesn't need to be a folder; it needs to be in a folder, of course, but the target can be anything. Please see the various AddFolderIcon examples in the online help.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)