removing shortcuts in start menu during uninstallation - installshield
Hi,
I have some issue creating a suite of packages which are shortcuts to some network recources. The point is that there are 4 packages (4 shortcuts) which should co-exist, every shortcut should be placed in the same folder in start menu, but each under different name, e.g.: \folder_name\shortcut1, shortcut2, shortcut3, shortcut4.
When I install only one package everything is working fine. Package is installed, shortcut is placed in menu start in all programs in correct folder; during uninstallation process everything is removed including folder and shortcut in start menu. Problem occurs when I install more packages at once (finally they should co-exist). During installation process everything is going correct, i.e. shortcuts are pleaced in the same folder in start menu, each shortcut under unique name. When I try to uninstall some package then uninstallation process is done without any errors, add/removes programm entries are deleted but shortcut left in start menu.
Could somebody help me how can I solve this problem? I'm creating those packages using Installshield and they are MSI packages.
Many thanks in advance
Peter
Answers (4)
Check if component GUID is same for all packages
As suggested by piyshnasa, Use remove file table entries for each shortcut in their corresponding msi.
Also, add a RemoveFile table entry for the folder "folder_name" in each msi. This will ensure that the folder is removed during uninstallation if it is empty.. For this you have to add RemoveFile table entry without giving any file name in FileName column..