View Full Version : Creating a shortcut programmatically?

06-11-2007, 02:33 PM
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.

Christopher Painter
06-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.