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: System Search Wizard Registry Key Problem
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
‎May 04, 2008
08:11 AM
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???
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???
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2008
05:14 PM
Perhaps remove HKEY_LOCAL_MACHINE from the beginning of the copied subkey?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 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??
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??