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
- :
- Re: why the Property value of a checkbox is not stored in MSI
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Sep 06, 2011
08:28 AM
why the Property value of a checkbox is not stored in MSI
Hi All,
Can any one tell me why the Property value of a checkbox is not stored in the cached MSI?
I am having one Basic MSI Project which has one checkBox that is having a Property value which is bydefault set to 1. After uninstallation i tried to see the cached MSI and it was not storing that Property value anywhere. So during uninstallation i tried to retrive the value of the property and it showed nothing. Can some one explain to me why this behaviour is happening ?
Can any one tell me why the Property value of a checkbox is not stored in the cached MSI?
I am having one Basic MSI Project which has one checkBox that is having a Property value which is bydefault set to 1. After uninstallation i tried to see the cached MSI and it was not storing that Property value anywhere. So during uninstallation i tried to retrive the value of the property and it showed nothing. Can some one explain to me why this behaviour is happening ?
(4) Replies
‎Sep 07, 2011
12:50 PM
Windows Installer does not persist most properties; the biggest exception to this is the properties that match the directories into which components are installed. If you want to persist the state of your checkbox, it's common to store the value of the associated property into a registry value and to add a system search to read it back into the same property.
‎Sep 07, 2011
01:29 PM
hi thankyou, the problem that has present itself for me is that i have one msi that is already released. And in that there are 3 checkboxes and depending on whether they were selected during the installation, i need to create a registry entry, so what i was thinking was that to get the cached msi and try to get the property and depending on the property of the checkbox i can set the value. Now i am clueless , what should be the right approach here
‎Sep 08, 2011
11:01 AM
Well, you could look for the results of previously setting those checkboxes. Perhaps each results in some specific feature, component, file, or registry item being installed; maybe you could query that and set your checkbox's property accordingly, either through a system search or a custom action.