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
- :
- Why is our Minor Upgrade overwriting settings in HKCU?
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
‎Aug 04, 2009
07:00 AM
Why is our Minor Upgrade overwriting settings in HKCU?
We have a basic MSI project which uses a setup.exe and installs per-machine. There are a few earlier versions of our product that are upgraded by the current setup. The upgrades function just fine, except the users' settings stored in HKCU are overwritten.
As I understand it, I need to set REINSTALLMODE to "voms" to keep this from happening. I must be missing something, because I have tried to do this a number of different ways and my MSI logs show that the property always gets changed back to "vomus".
Would someone please help me understand why this is happening and what I can do to resolve the issue?
Thanks in advance
-Dave
As I understand it, I need to set REINSTALLMODE to "voms" to keep this from happening. I must be missing something, because I have tried to do this a number of different ways and my MSI logs show that the property always gets changed back to "vomus".
Would someone please help me understand why this is happening and what I can do to resolve the issue?
Thanks in advance
-Dave
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 06, 2009
10:15 AM
The only post I could find related to this is here.
Unfortunately, I still have not managed to successfully set this property for the case of a minor upgrade.
if I try to set a msi command line item for the release to: REINSTALLMODE=voms then our setup runs in maintenance mode (to change or repair the previous installation) but no upgrade appears to have taken place.
I must be missing something simple, and fundamental, but I'm all out of ideas.
Unfortunately, I still have not managed to successfully set this property for the case of a minor upgrade.
if I try to set a msi command line item for the release to: REINSTALLMODE=voms then our setup runs in maintenance mode (to change or repair the previous installation) but no upgrade appears to have taken place.
I must be missing something simple, and fundamental, but I'm all out of ideas.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 12, 2009
07:04 AM
I got it, but I'm not thrilled with how I had to do it.
I added a condition "Not IS_MINOR_UPGRADE" to the RemoveRegistryValues action, which happens to be fine in this case, since the upgrade doesn't need to remove any of the HKLM values.
I added a condition "Not IS_MINOR_UPGRADE" to the RemoveRegistryValues action, which happens to be fine in this case, since the upgrade doesn't need to remove any of the HKLM values.