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
- :
- Re: Disable Advertised shortcut of Primary Output
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
Dec 10, 2012
12:29 PM
Disable Advertised shortcut of Primary Output
How can I make a regular (non-advertised) shortcut to the primary output of another project in the solution containing an InstallShield Limited Edition (ISLE) setup and deployment project?
I see that in the Shortcuts/Folders page I can right-click the target folder and have the option to make a "New Shortcut", and a "New Advertised Shortcut". If I create a "New Shortcut" to an executable file that is not a project output a normal shortcut is created. If I do the same to a sibling project's "Primary Output", the target is always an "Advertised shortcut".
Why does it ignore my selection of "New Shortcut" and not "New Advertised Shortcut"?
How can I make another same-solution project's "Primary Output" be a normal shortcut?
I see that in the Shortcuts/Folders page I can right-click the target folder and have the option to make a "New Shortcut", and a "New Advertised Shortcut". If I create a "New Shortcut" to an executable file that is not a project output a normal shortcut is created. If I do the same to a sibling project's "Primary Output", the target is always an "Advertised shortcut".
Why does it ignore my selection of "New Shortcut" and not "New Advertised Shortcut"?
How can I make another same-solution project's "Primary Output" be a normal shortcut?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 14, 2012
03:09 AM
This is a limitation of using Project Outputs .It's not possible to create a non-advertised shortcut for a file added from a Primary Output link.
This is because the Project Output is a variable that does not have a file name value until build time. At design time, the shortcut is made to point to the feature. The result of the project output is a key file. At runtime, the shortcut will launch the feature’s key file. The only way to do this type of dynamic configuration is with an advertised shortcut.
Known workaround is to define the shortcut’s target file statically, rather than via a Primary Output.
This is because the Project Output is a variable that does not have a file name value until build time. At design time, the shortcut is made to point to the feature. The result of the project output is a key file. At runtime, the shortcut will launch the feature’s key file. The only way to do this type of dynamic configuration is with an advertised shortcut.
Known workaround is to define the shortcut’s target file statically, rather than via a Primary Output.