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
- :
- Creating a shortcut programmatically?
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
Jun 11, 2007
02:33 PM
Creating a shortcut programmatically?
Project Type: InstallScript MSI
I’ve been looking through the docs and it seems that the only example uses AddFolderIcon(). Is this the correct method or am I missing something? I want to change a shortcut target depending on user input.
I’ve been looking through the docs and it seems that the only example uses AddFolderIcon(). Is this the correct method or am I missing something? I want to change a shortcut target depending on user input.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 11, 2007
03:17 PM
That's correct. It's a Windows Installer limitation that the ShortCut table isn't formattable so if you want to use a property to drive the name of a Shortcut, you have to do it via custom action.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)