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
- :
- Include value of [ProductName] in shortcut name ?
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
‎Mar 03, 2014
04:39 AM
Include value of [ProductName] in shortcut name ?
Hi
I have basic MSI project
I need that shortcuts being created on the Desktop will contain the Product Number or Product Name
So I have set the shortcut "Display Name" property to be MyApp[ProductNumber] and MyApp[ProductName]
But the shortcut name created has the MyApp[ProductNumber] and string and not the value
Any idea how to do that ?
I have basic MSI project
I need that shortcuts being created on the Desktop will contain the Product Number or Product Name
So I have set the shortcut "Display Name" property to be MyApp[ProductNumber] and MyApp[ProductName]
But the shortcut name created has the MyApp[ProductNumber] and string and not the value
Any idea how to do that ?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 03, 2014
03:07 PM
Unfortunately the underlying database column in the Shortcut table doesn't use the "Formatted" data type, hence the property references are not resolved. If you need to tweak the values, your best bet may be to create the necessary rows in the table as part of a custom action, or, if possible, statically modify these before build with some sort of automation.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 03, 2014
03:28 PM
I will cast a vote for putting that in the next version! (Shortcut Table to use "Formatted" data type.)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 04, 2014
09:29 AM
The request you are making would have to go to Microsoft. I once heard of an email alias "msiwish" but I don't know whether it's monitored. I suppose in theory we could build up some of what I just described in an ISShortcut table, but either that has to turn into Shortcut table entries, or it would lose support for, say, advertising.
Although back to the original request in this thread, it's possible that the localized settings (Display Resource, Description Resource) might allow the desired behavior from resources that are updated as part of the application build, instead of either run-time or pre-installation-build. So that might be a better option than the ones I offered earlier.
Although back to the original request in this thread, it's possible that the localized settings (Display Resource, Description Resource) might allow the desired behavior from resources that are updated as part of the application build, instead of either run-time or pre-installation-build. So that might be a better option than the ones I offered earlier.