cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Shuttledude
Level 7

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.
Labels (1)
0 Kudos
(2) Replies
hidenori
Level 17

The syntax should be:

HKLM\MyKey\MySubKey


  • HKLM - HKEY_LOCAL_MACHINE
  • HKCU - HKEY_CURRENT_USER
  • HKCR - HKEY_CLASSES_ROOT
  • HKU - HKEY_USERS
0 Kudos
Shuttledude
Level 7

Thanks! That fixed it! 🙂
Abbreviated "hive" names are what I needed.
0 Kudos