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: How to conditionally write a Registry string?
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
Jun 15, 2012
05:13 AM
How to conditionally write a Registry string?
Hi,
I need to write some registry strings to HKEY_LOCAL_MACHINE\Software... iff (if and only if) they don't already exist - in case I absolutely do not want to overwrite them.
This is a very common demand and surely InstallShield must provide a way of doing so? - All other installers I've been using can do that with ease. How do one do that with Installshield?
Thanks in advance for any pointers.
I need to write some registry strings to HKEY_LOCAL_MACHINE\Software... iff (if and only if) they don't already exist - in case I absolutely do not want to overwrite them.
This is a very common demand and surely InstallShield must provide a way of doing so? - All other installers I've been using can do that with ease. How do one do that with Installshield?
Thanks in advance for any pointers.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 18, 2012
05:11 PM
Sigh - 32 reads of this thread but no reply...
Is this all to easy to you? I might add that I have right-clicked the Keys and marked them "Install if absend - uninstall if present", but it doesn't seem to do nothing.
Each installation program I have still overwrites the previous found registry keys. What am I doing wrong?
Any hints are welcome!
Is this all to easy to you? I might add that I have right-clicked the Keys and marked them "Install if absend - uninstall if present", but it doesn't seem to do nothing.
Each installation program I have still overwrites the previous found registry keys. What am I doing wrong?
Any hints are welcome!
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)