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
- :
- Remove old shortcuts when applying a patch?
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
Sep 12, 2016
10:46 AM
Remove old shortcuts when applying a patch?
My base product installer creates a desktop shortcut "MyApp" (MyApp.lnk). (key name NewShortcut1)
My patch installer creates a shortcut "MyApp SP1" (MyApp SP1.lnk) (key name NewShortcut1) I just changed the display name.
From what I understand from googling about that, I need to use the direct editor and add an entry in the "RemoveFile" table; the documentation is not really clear about how this beast should be used.
I created an entry like this:
FileKey: remove_old_shortcut
Component_: bin_exe (this is the component in which the shortcut is created, as seen in the shortcut property)
FileName: MyApp SP1.lnk
DirProperty: DesktopFolder
InstallMode: 1
Question:
FileKey: Is this (should it be) the key name of the shortcut ? or is it the file key of the table entry ?
InstallMode: when I install the patch, I assume I need to delete the old shortcut which is when I put 1 (install when the component is installed ?)
Thanks.
Max.
My patch installer creates a shortcut "MyApp SP1" (MyApp SP1.lnk) (key name NewShortcut1) I just changed the display name.
From what I understand from googling about that, I need to use the direct editor and add an entry in the "RemoveFile" table; the documentation is not really clear about how this beast should be used.
I created an entry like this:
FileKey: remove_old_shortcut
Component_: bin_exe (this is the component in which the shortcut is created, as seen in the shortcut property)
FileName: MyApp SP1.lnk
DirProperty: DesktopFolder
InstallMode: 1
Question:
FileKey: Is this (should it be) the key name of the shortcut ? or is it the file key of the table entry ?
InstallMode: when I install the patch, I assume I need to delete the old shortcut which is when I put 1 (install when the component is installed ?)
Thanks.
Max.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 21, 2016
08:37 AM
That seemed to have worked.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)