Enumerating installed software - source?

H

Homer J. Simpson

Long story short:

select * from Win32_Product
versus
The keys under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

Ignoring the hotfixes appearing under the Uninstall key, the list returned
through WMI is still about half the length of what's listed in my Uninstall
subtree.

Why the discrepancy? Where does WMI pick up its data? Where, in the WMI
namespace, could I get something closer to what I'm seeing under the
Uninstall registry key?
 
G

Guest

Homer J. Simpson said:
Long story short:

select * from Win32_Product
versus
The keys under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

Ignoring the hotfixes appearing under the Uninstall key, the list returned
through WMI is still about half the length of what's listed in my Uninstall
subtree.

Why the discrepancy?


(From WMI reference) "The Win32_Product WMI class represents products as
they are installed by Windows Installer. A product generally correlates to a
single installation package."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top