On Mon, Jun 17, 2013 at 12:05 PM, Kevin D <[email protected]>wrote:

> Josh,
>
> You mentioned:
>
> Unfortunately, Windows does not have an API for retrieving installed
>> packages.
>>
>
> Does this include the WMI class 
> Win32_Product<http://msdn.microsoft.com/en-us/library/windows/desktop/aa394378%28v=vs.85%29.aspx>?
> Win32_product provides a limited set of information about all products
> installed using MSI/Windows Installer.  Although Windows Installer is a
> standard, not all compiled installers use this method.
>
> -Kev
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/puppet-users.
>
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

Win32_Product has issues. Simply enumerating the set of installed packages
will cause a consistency check to be performed on all packages:

http://sdmsoftware.com/group-policy-blog/wmi/why-win32_product-is-bad-news/
http://gregramsey.net/2012/02/20/win32_product-is-evil/
http://support.microsoft.com/kb/974524

Josh

-- 
Josh Cooper
Developer, Puppet Labs

*Join us at PuppetConf 2013, August 22-23 in San Francisco - *
http://bit.ly/pupconf13*
**Register now and take advantage of the Early Bird discount - save 25%!*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to