Enumerating installed software - source?

  • Thread starter Thread starter Homer J. Simpson
  • Start date Start date
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?
 
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."
 
Back
Top