06/12/2012 12525 views


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


Answer Summary:
Check if component GUID is same for all packages
0 Comments   [ + ] Show comments


Community Chosen Answer


I think you have used one package as a template and changed the same package to create others. Check your component GUID if it is same for all the packages. Change the Component GUID in your package.

Answered 06/12/2012 by: piyushnasa
Red Belt

All Answers


If this still does not work, use Remove File table in MSI to delete the shortcuts. Read MSI.chm for more details.

Answered 06/12/2012 by: piyushnasa
Red Belt


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..

Answered 06/15/2012 by: jagadeish
Red Belt


piyushnasa is correct ... addtionally check if components are marked shared or permanent.

Answered 06/13/2012 by: mahendraKumar
Senior Yellow Belt