/build/static/layout/Breadcrumb_cap_w.png

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


0 Comments   [ + ] Show comments

Answers (4)

Answer Summary:
Check if component GUID is same for all packages
Posted by: piyushnasa 12 years ago
Red Belt
3

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.

Posted by: piyushnasa 12 years ago
Red Belt
2

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

Posted by: jagadeish 12 years ago
Red Belt
1

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

Posted by: mahendraKumar 12 years ago
Senior Yellow Belt
0

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

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ