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: Storing the property value
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
‎Dec 19, 2007
02:11 AM
Storing the property value
:confused: We defined a public property in Property table and it takes the value from end user’s dialog during installation. This property value is also the value of a registry key.
However, I used a custom action to retrieve the property value during repair and found it is reset to default already. So is the registry key.
Question:
1. Is there any way to keep the property value so I can retrieve during repair time?
2. The registry key is the key path of a component and it will be repaired although it is not corrupted or missing. Is this the expected behavior? How can I preserve the registry key value during repair?
Thanks a lot for your advice.
However, I used a custom action to retrieve the property value during repair and found it is reset to default already. So is the registry key.
Question:
1. Is there any way to keep the property value so I can retrieve during repair time?
2. The registry key is the key path of a component and it will be repaired although it is not corrupted or missing. Is this the expected behavior? How can I preserve the registry key value during repair?
Thanks a lot for your advice.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 21, 2007
03:20 AM
Since Windows Installer does not persist modified property values after installation ends, you will have to save the values somewhere, either in registry or some file, and read the values yourself during maintenance.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 09, 2008
02:38 AM
😛
Thank you for the reply and you are right
Thank you for the reply and you are right