cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
compasstech
Level 3

System Search Wizard Registry Key Problem

I'd like to install a LabVIEW Run-time Engine from my installation CD if the RTE has NOT been installed previously. so far, I have:
1. Created a custom action that points to the exe that I'd like to install
2. Went into the "Condition Builder"
3. Selected the "Software" tab and "Create New Requirement"
4. Selected "HKEY_LOCAL_MACHINE" as the "Registry Root"
5. Copied the registry key from REGEDIT and pasted it into "Registry Key"

The copied key appears as:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{299B4500-C41F-4BA3-AB4A-CC9412E16D67}

The condition is set to run the custom action when this condition is NOT met. But the custom action runs when I test it on this PC.

Any help???
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

Perhaps remove HKEY_LOCAL_MACHINE from the beginning of the copied subkey?
0 Kudos
compasstech
Level 3

Thanks for the reply, but this did not work. To simplify things, I made the condition a requirement of the install and I have a dialog box that says "Key not Found" on startup.

I changed the key to:
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{299B4500-C41F-4BA3-AB4A-CC9412E16D67}
Key was not found

\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{299B4500-C41F-4BA3-AB4A-CC9412E16D67}
Backslash was not accepted in System Search Wizard

{299B4500-C41F-4BA3-AB4A-CC9412E16D67}
Key was not found

So I'm afraid I'm overlooking something simple, but there's not much to this. And this seems like a high level function to be not working properly. Is there a useful tutorial/example/help topic to explain the correct syntax??
0 Kudos