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
- :
- How to presist Public Properties between Install & UnInstall?
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 29, 2009
11:11 AM
How to presist Public Properties between Install & UnInstall?
How to presist/preserve Public Properties between Install & UnInstall?
While launching MSI package, I take some input from user in public properties via command line parameters. I can get modified property values in Install phase.
However, while UnInstalling these public properties don't preserve their values. They contain original unmodified values. I need, during UnInstall, the properties values that were modified during Install phase?
How can I do that? I am using InstallShield 2010 Basic MSI project.
Thanks
Naveed
While launching MSI package, I take some input from user in public properties via command line parameters. I can get modified property values in Install phase.
However, while UnInstalling these public properties don't preserve their values. They contain original unmodified values. I need, during UnInstall, the properties values that were modified during Install phase?
How can I do that? I am using InstallShield 2010 Basic MSI project.
Thanks
Naveed
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 29, 2009
11:26 AM
You have to do this manually. One approach would be to set registry keys in a known location (perhaps under the application's Uninstall key, or its HKLM\Software\... key), and to read them in with system searches.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)