alan.harriman
Posts: 4
Joined: Mon Dec 21, 2009 7:38 pm

Wildcard registry search

I would like to search the registry for a prerequisite installation of any version such as 4.x. Currently there seems no way to do this.

In my case I'm looking for
HKLM\Software\JetBrains\v4.5\vs09\installdir "OR"
HKLM\Software\JetBrains\v4.0\vs09\installdir
but I don't see how to "OR" that search.

We have an enterprise license, so we have all the Advanced Installer capabilities to select from but don't know how to solve this one.

I have read the following posting from 2006 but would prefer not to have to code a registry traversal in C.
http://www.advancedinstaller.com/forums ... card#p4765
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Wildcard registry search

Hi,

You can try creating two searches (one for each location) and then use the OR operator on the search properties (for example, SEARCH1 OR SEARCH2). I'm afraid that Windows Installer doesn't support multiple search locations of the same type for a search.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”