cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
MiltonNet
Level 4

How to display ProductName in shotcut?

I don't want to hard code product name in the shortcut. I tried using [ProductName] but it create a shortcut with [ProductName]. It failed to resolve actual product name?

Is there a way to display product name in the short cut?
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

Alas, there's not a simple way in Basic MSI. The technical reason is that the Name field of the Shortcut table, which contains your shortcut's display name, doesn't use the Formatted data type, which is the primary type that expands [PropertyName] expressions.

There are some custom action options available to you, if you want to go down that road, but I don't think there's anything straightforward...
0 Kudos
MiltonNet
Level 4

Thanks for the reply. Actually I am working with InstallshieldMSI project.
And I figured out how to create shorcuts using installscript. I used AddFolderIcon() function do the job. 🙂

Thanks
0 Kudos