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
- :
- Major upgrade does not cleanup Add/Remove entry
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
‎Oct 08, 2008
12:25 AM
Major upgrade does not cleanup Add/Remove entry
With Installshield 2009 SP2, I created a setup with Project Assistant to install a single text file. I created a major upgrade item, taking care to bump the product code with another build. When I run the version 2.0 setup, it completes successfully, but there are now two entries in Add/Remove programs. The item for the previous version is broken. It seems like under the Uninstall registry key, there is an entry left:
InstallShield_{40CD94F8-5B90-4F5B-BADF-5112210B8806}
Normally, for each install, two entries would be created:
{40CD94F8-5B90-4F5B-BADF-5112210B8806}
InstallShield_{40CD94F8-5B90-4F5B-BADF-5112210B8806}
but the one with InstallShield_ prefix is not removed during the major upgrade - so now there are 3 entries - 2 new and 1 old. I confirmed in the msi log file that indeed the upgrade ran:
InstallShield 23:39:50: Begin SetAllUsers()
InstallShield 23:39:50: Getting records from Upgrade table
InstallShield 23:39:50: UpgradeCode: {3C40A277-30FB-468A-BAD7-0C6F80CC443C} MinVersion: 1.00.0000 MaxVersion: 99.00.0000 Language: Attributes: 769
InstallShield 23:39:50: Checking related product {A0003B85-9E69-4B69-95C1-021DD41B5894}
InstallShield 23:39:50: trial2 {A0003B85-9E69-4B69-95C1-021DD41B5894} 1033 1.00.0000 ***Related***
MSI (c) (E4!98) [23:39:50:703]: PROPERTY CHANGE: Adding IS_MAJOR_UPGRADE property. Its value is 'Yes'.
InstallShield 23:39:50: ALLUSERS of related product {A0003B85-9E69-4B69-95C1-021DD41B5894} is = 1
MSI (c) (E4!98) [23:39:50:703]: PROPERTY CHANGE: Adding ALLUSERS property. Its value is '1'.
InstallShield 23:39:50: End SetAllUsers()
Action ended 23:39:50: ISSetAllUsers. Return value 1.
The windows installer cleanup tool does not see this item, so it seems like InstallShield doesn't cleanup.
Thanks for any insight.
InstallShield_{40CD94F8-5B90-4F5B-BADF-5112210B8806}
Normally, for each install, two entries would be created:
{40CD94F8-5B90-4F5B-BADF-5112210B8806}
InstallShield_{40CD94F8-5B90-4F5B-BADF-5112210B8806}
but the one with InstallShield_ prefix is not removed during the major upgrade - so now there are 3 entries - 2 new and 1 old. I confirmed in the msi log file that indeed the upgrade ran:
InstallShield 23:39:50: Begin SetAllUsers()
InstallShield 23:39:50: Getting records from Upgrade table
InstallShield 23:39:50: UpgradeCode: {3C40A277-30FB-468A-BAD7-0C6F80CC443C} MinVersion: 1.00.0000 MaxVersion: 99.00.0000 Language: Attributes: 769
InstallShield 23:39:50: Checking related product {A0003B85-9E69-4B69-95C1-021DD41B5894}
InstallShield 23:39:50: trial2 {A0003B85-9E69-4B69-95C1-021DD41B5894} 1033 1.00.0000 ***Related***
MSI (c) (E4!98) [23:39:50:703]: PROPERTY CHANGE: Adding IS_MAJOR_UPGRADE property. Its value is 'Yes'.
InstallShield 23:39:50: ALLUSERS of related product {A0003B85-9E69-4B69-95C1-021DD41B5894} is = 1
MSI (c) (E4!98) [23:39:50:703]: PROPERTY CHANGE: Adding ALLUSERS property. Its value is '1'.
InstallShield 23:39:50: End SetAllUsers()
Action ended 23:39:50: ISSetAllUsers. Return value 1.
The windows installer cleanup tool does not see this item, so it seems like InstallShield doesn't cleanup.
Thanks for any insight.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 08, 2008
05:08 AM
I could swear there were a couple of posts in here about this. ...
You may have to create a custom action to delete the key unfortunately. 😞
You may have to create a custom action to delete the key unfortunately. 😞
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 08, 2008
08:10 AM
DLee65 wrote:
I could swear there were a couple of posts in here about this. ...
You may have to create a custom action to delete the key unfortunately. 😞
exactly...but if you have a different solution, just let us know;)
the link to the other thread:
http://community.installshield.com/showthread.php?t=183491
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 08, 2008
08:40 AM
This is a toy/test installation, Installscript MSI. I'm trying to do the minimum number of steps to get a fully functional major upgrade.
I ran the setup on windows XP on my home PC XP SP3 and inside of a VM, XP SP 2. What causes the problem? Is it: misconfiguration of setup, target machine OS, windows installer or Installshield? Is there a sample (bare bones) ISM project file that works everywhere?
I ran the setup on windows XP on my home PC XP SP3 and inside of a VM, XP SP 2. What causes the problem? Is it: misconfiguration of setup, target machine OS, windows installer or Installshield? Is there a sample (bare bones) ISM project file that works everywhere?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 08, 2008
09:01 AM
I can only speculate that the registry entry InstallShield_{MY-VERY-GREAT-GUID} is not added to the MSI tables that Setup.exe is writing the registry entry, or something like that.
I am fairly certain that this is an InstallShield problem, although perhaps some of the forum monitors can chime in on this issue.
I am fairly certain that this is an InstallShield problem, although perhaps some of the forum monitors can chime in on this issue.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)