PDA

View Full Version : System Search Wizard Registry Key Problem



compasstech
05-04-2008, 08:11 AM
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???

RobertDickau
05-04-2008, 05:14 PM
Perhaps remove HKEY_LOCAL_MACHINE from the beginning of the copied subkey?

compasstech
05-04-2008, 08:40 PM
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??