Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to look up the install location of a product in the registry, based on the GUID product code. Under Win XP the keys of products installed were located at

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

For example, if I had the GUID {034759DA-E21A-4795-BFB3-C66D17FAD183} I could look up

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{034759DA-E21A-4795-BFB3-C66D17FAD183}

and there would be a value containing the install location for the product.

However, the Registry doesn't appear to follow this same setup in Win 7 x64. Does anyone know how I can do what I did in XP, but in Windows 7? Thanks.

share|improve this question
1  
Looks exactly like that to me in Windows 7 Professional x64. Everything's right there in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall. – nhinkle Dec 11 '10 at 23:21
up vote 0 down vote accepted

Just checked my Win7 x64 system and the registry shows an InstallLocation key for most of the entries.

share|improve this answer
    
But are the entries listed as GUIDs located under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall? – anom217 Dec 10 '10 at 16:39
    
Yes they are. I just looked at your original post again and you don't have a "\" between \Uninstall and the GUID. Could just be a typo here, but you'll definitely need that in the registry search. – LeoB Dec 10 '10 at 16:45
    
That was just a typo in the post. Hmm, the product I'm working with doesn't seem to create the proper entry under Uninstall in Win7 x64. I just installed Java, and it had the keys where I expected them. Thanks for the input. – anom217 Dec 10 '10 at 16:53

For 32-bit applications installed onto 64-bit Operating System, browse to the following

HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
share|improve this answer
    
Confirmed, thank you Annino! – Emmanuel Bourg Nov 9 '12 at 10:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .