Using AI 7.7:
The bug is that it starts with "HKEY_LOCAL_MACHINE", but then switches to "HKEY_CLASSES_ROOT" on it's own!
Steps to reproduce:
1. Go to the "Custom Behavior" -> "Search".
2. Press the wizard button "New Search Wizard".
3. Press "next"
4. Choose "Search for a registry value"
5. Give any name of Property (or leave the default "RESULT_PROPERTY").
6. Press "next".
7. At this stage: the default Root is "HKEY_LOCAL_MACHINE". Enter Key by copy/pasting it, for example I used: "SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5".
8. Enter Value, I put: "SP".
9. Then press "Next".
10. You are offered to test: which you can: and already instead of getting "#1" (that's if you have .net 3.5 sp1 installed), you get "" (nothing).
11. Go to this new created Search, and you will clearly see that now the Root is: "HKEY_CLASSES_ROOT"!!!
Since I now know this bug exists: I always return to the Search and fix it: but believe me that I spent a LOT of time not understanding what went wrong until I found it.
Dashut.
FOLLOW US
Get the latest news in Application Packaging