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
- :
- some help trying to save user settings on 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
‎Jan 06, 2010
08:40 AM
some help trying to save user settings on upgrade!
i need to make sure that certain registry values are retained after an upgrade (so the customer doesn't need to reconfigure after an upgrade).
Silly me, i figured this would be easily accomplished by (1)setting initial values in the property manager, (2)reading all the registry values of concern using the System Search view (such that any found values would overwrite the related properties), and then (3) set the reg values equal to the values of their associated properties.
what happens, unfortunately, is that all numeric values get written to the registry as string values with a "#" prepended, and all multi-string values get written as "String1[~]String2[~]String3[~]String4"
What's the MSI way of doing this? Can the correct behavior happen without scripting a whole mess of stuff?
Silly me, i figured this would be easily accomplished by (1)setting initial values in the property manager, (2)reading all the registry values of concern using the System Search view (such that any found values would overwrite the related properties), and then (3) set the reg values equal to the values of their associated properties.
what happens, unfortunately, is that all numeric values get written to the registry as string values with a "#" prepended, and all multi-string values get written as "String1[~]String2[~]String3[~]String4"
What's the MSI way of doing this? Can the correct behavior happen without scripting a whole mess of stuff?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 06, 2010
09:32 AM
(Duplicate post; follow-up of sorts [thread=191658]here[/thread].)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 06, 2010
09:38 AM
thanks Robert! Sorry for the multiple posts, but it seems like the really helpful people don't get around to checking the 2008 forum very often...i guess it would be too cumbersome for vbulletin to allow a many-to-many relationship between forums and threads, mostly because of how people would abuse it...but you know...some questions are just as valid for IS 12 as they are for 2010.
^shrug^
thanks again! I'll get back with my findings!
^shrug^
thanks again! I'll get back with my findings!