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
- :
- Multiple shortcuts created during installation
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
Jan 10, 2011
02:13 PM
Multiple shortcuts created during installation
Using a InstallScript project, I create two desktop shortcuts for the application being installed. The setup has been working properly for some time now until recently. The problem we have now is that the user installing the application had a desktop shortcut with the exact name. After the installation, there were 4 shortcuts with the same name and target as the original shortcut. The one created by the install project was not created.
The shortcut has the 'Replace existing (if found)' parameter set to Yes. It looks as it just copies the original shortcut instead of modifying with the new one.
Any ideas?
The shortcut has the 'Replace existing (if found)' parameter set to Yes. It looks as it just copies the original shortcut instead of modifying with the new one.
Any ideas?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 17, 2011
08:52 AM
If I had to guess it is b/c your component ID does not match for the shortcut.
If you generate a new component ID when you update the path and then run the installer again you will end up with a new shortcut. If it matches the original it should update it. There is also a flag in the component section for "never overwrite" make sure this is not set as I think it will supersede the other setting you mentioned.
Hope this helps.
Cheers
If you generate a new component ID when you update the path and then run the installer again you will end up with a new shortcut. If it matches the original it should update it. There is also a flag in the component section for "never overwrite" make sure this is not set as I think it will supersede the other setting you mentioned.
Hope this helps.
Cheers
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)