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
- :
- Property value reset during (minor) upgrade
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 05, 2007
10:43 AM
Property value reset during (minor) upgrade
Hi,
In my setup there is a checkbox associated with a public property CHECK. This property is set to 1 in the property manager, hence the checkbox is checked by default.
Now I recognised, that, when installing my setup as a minor upgrade, the property CHECK is reset to its default value of 1 - regardless of which checkbox state has been selected during the first installation.
Is there a way to keep the value of a public property during a minor upgrade?
Best regards, H.
In my setup there is a checkbox associated with a public property CHECK. This property is set to 1 in the property manager, hence the checkbox is checked by default.
Now I recognised, that, when installing my setup as a minor upgrade, the property CHECK is reset to its default value of 1 - regardless of which checkbox state has been selected during the first installation.
Is there a way to keep the value of a public property during a minor upgrade?
Best regards, H.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 05, 2007
01:48 PM
To the best of my understanding, the only way is to store the value someplace safe on the target computer, then read it out during the upgrade. For example, on install, you might write a registry key. Then on upgrade (if Installed), read the value of the registry key to set your property.
How's that work for you?
How's that work for you?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 05, 2007
03:00 PM
Hi Sairen,
Thanks for your reply. Storing the value on the target machine will work. I only thought there might be some simpler way. H.
Thanks for your reply. Storing the value on the target machine will work. I only thought there might be some simpler way. H.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)