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: Request sample: Registry Key Eligibility Condition
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
‎Nov 03, 2011
08:56 AM
Request sample: Registry Key Eligibility Condition
For a Suite project type, can anyone provide the proper syntax to use on the "Registry Key" line of an "Eligibility Condition"?
I've tried this:
HKEY_LOCAL_MACHINE\MyKey\MySubKey
HKEY_LOCAL_MACHINE/MyKey/MySubKey
enclosing in double quotes
enclosing in brackets
But nothing works. I know the key exists, but I get a runtime error. I'm convinced my Registry Key syntax is wrong -- do I need curly brackets, angle brackets, single quotes?
Thanks for any information.
I've tried this:
HKEY_LOCAL_MACHINE\MyKey\MySubKey
HKEY_LOCAL_MACHINE/MyKey/MySubKey
enclosing in double quotes
enclosing in brackets
But nothing works. I know the key exists, but I get a runtime error. I'm convinced my Registry Key syntax is wrong -- do I need curly brackets, angle brackets, single quotes?
Thanks for any information.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2011
11:04 AM
The syntax should be:
HKLM\MyKey\MySubKey
HKLM\MyKey\MySubKey
- HKLM - HKEY_LOCAL_MACHINE
- HKCU - HKEY_CURRENT_USER
- HKCR - HKEY_CLASSES_ROOT
- HKU - HKEY_USERS
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2011
11:48 AM
Thanks! That fixed it! 🙂
Abbreviated "hive" names are what I needed.
Abbreviated "hive" names are what I needed.