- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- File & Shortcut won't remove after uninstall
- 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
File & Shortcut won't remove after uninstall
Hello,
I encountered a strange behavior, not sure if that's a bug or unexpected action by install shield.
I searched online and just found another topic here with no solution!
My Basic MSI project has one EXE file on target machine with shortcut in Start Menu and desktop!
Anyway it's a single file with 3 shortcuts on Start Menu, one is normal, two with different arguments.
Problem is that if I add more than one shortcut to a single exe file, after uninstalling the test project, the shortcuts on start menu and desktop, among with the exe file itself is not removed from the target system!
I have used a different GUID for each shortcut component!
Any clue?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
You could manually delete them, via the DeleteShortcut command in install script. See https://docs.revenera.com/installshield22helplib/Subsystems/installshield22langref/installshield22langref.htm#CSHID=helplibrary%2FCreateShortcutEx1.htm|StartTopic=helplibrary%2FCreateShortcutEx1.htm and https://docs.revenera.com/installshield22helplib/Subsystems/installshield22langref/installshield22langref.htm#CSHID=helplibrary%2FCreateShortcutEx1.htm|StartTopic=helplibrary%2FCreateShortcutEx1.htm. Hope this helps!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Thanks, while it might fix the issue, but:
I need to find the root of issue, if this is a limitation of Microsoft MSI projects I can understand, otherwise this solution does not seem to be very perfect, why this should happen at first place? And can you create a sample project with 2 or 3 shortcuts to a single EXE and have them removed after uninstall successfully?