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: Registry entries
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 06, 2007
09:48 AM
Registry entries
Hi, our app needs to write some registry entries for our app's own use. Currently we write them to HKLM, but this of course would generating error if the app is installed by users other than administrators.
I set the Registry entries in InstallShield's IDE under Registry. So is there a way to set the entries in the IDE so that they falls to HKCU automatically instead of HKLM when the user installing is not an administrator? Or do I have to do it in InstallScript and write all the conditions and codes?
Thanks!
I set the Registry entries in InstallShield's IDE under Registry. So is there a way to set the entries in the IDE so that they falls to HKCU automatically instead of HKLM when the user installing is not an administrator? Or do I have to do it in InstallScript and write all the conditions and codes?
Thanks!
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 06, 2007
09:55 AM
It's based on per-user vs. per-machine installations, but one option is to put registry keys under HKEY_USER_SELECTABLE, which resolves to either HKCU or HKLM.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 06, 2007
10:27 AM
doh...never notice there is a "HKEY_USER_SELECTABLE" section just at the bottom.
Just tried and it worked. Thanks!
Just tried and it worked. Thanks!