Win32_Product, ROOT\CIMV2

Class | Methods (7) | Properties (27) | Qualifiers (7) | Instances (40) | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

Instances of this class represent products as they are installed by MSI. A product generally correlates to a single installation package.

Win32_Product methods

Win32_Product has 7 methods (7 Local)

NameOriginReturn
AdminWin32_Productuint32 {'out':True}
AdvertiseWin32_Productuint32 {'out':True}
ConfigureWin32_Productuint32 {'out':True}
InstallWin32_Productuint32 {'out':True}
ReinstallWin32_Productuint32 {'out':True}
UninstallWin32_Productuint32 {'out':True}
UpgradeWin32_Productuint32 {'out':True}

Win32_Product properties

Win32_Product has 27 properties (20 Local, 7 Derived)

NameOriginCIMType
AssignmentTypeWin32_Product18 [uint16]
CaptionCIM_Product8 [string]
DescriptionCIM_Product8 [string]
HelpLinkWin32_Product8 [string]
HelpTelephoneWin32_Product8 [string]
key
IdentifyingNumber
CIM_Product8 [string]
InstallDateWin32_Product8 [string]
InstallDate2Win32_Product101 [datetime]
InstallLocationWin32_Product8 [string]
InstallSourceWin32_Product8 [string]
InstallStateWin32_Product2 [sint16]
LanguageWin32_Product8 [string]
LocalPackageWin32_Product8 [string]
key
Name
CIM_Product8 [string]
PackageCacheWin32_Product8 [string]
PackageCodeWin32_Product8 [string]
PackageNameWin32_Product8 [string]
ProductIDWin32_Product8 [string]
RegCompanyWin32_Product8 [string]
RegOwnerWin32_Product8 [string]
SKUNumberCIM_Product8 [string]
TransformsWin32_Product8 [string]
URLInfoAboutWin32_Product8 [string]
URLUpdateInfoWin32_Product8 [string]
VendorCIM_Product8 [string]
key
Version
CIM_Product8 [string]
WordCountWin32_Product19 [uint32]

Detailed description of Win32_Product methods

Local methods (7) of Win32_Product class

Admin method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
PackageLocationstring0-{'Description':'The path to the package that is to be admined','in':True}
TargetLocationstring1-{'Description':'The location for the administrative image to be installed at.','in':True}
Optionsstring2-{'Description':'The command line options for the upgrade. These should be in the form of property=setting','in':True}
Description'This method will preform an administrative install of an associated Win32_Product using the installation package provided through PackageLocation and any command line options that are supplied. The method can return the following values:
0 - Success.
2147549445 - RPC Server Fault Error.
Other - For integer values other than those listed above, refer to the documentation on error codes returned by the Windows Installer API and the Win32 error codes.'
ImplementedTrue
staticTrue
ValueMap['0', '2147549445', '..']
Values['Success', 'RPC Server Fault Error', 'Other']
Admin method is in 1 class (Win32_Product) of ROOT\cimv2 and in 2 namespaces
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
PackageLocationstring0-{'Description':'The path to the package that is to be advertised','in':True}
Optionsstring1-{'Description':'The command line options for the advetisement. These should be in the form of property=setting','in':True}
AllUsersboolean2-{'DEPRECATED':True,'Description':'DEPRECATED. The AllUsers input parameter has been deprecated as the functionality implied is not supported. The operation will effect all users on the machine. Indicates whether the operation should be applied to the current user (FALSE) or all users on the machine (TRUE).','in':True}
Description'This method will advertise an associated Win32_Product using the installation package provided through PackageLocation and any command line options that are supplied. The method can return the following values:
0 - Success.
2147549445 - RPC Server Fault Error.
Other - For integer values other than those listed above, refer to the documentation on error codes returned by the Windows Installer API and the Win32 error codes.'
ImplementedTrue
staticTrue
ValueMap['0', '2147549445', '..']
Values['Success', 'RPC Server Fault Error', 'Other']
Advertise method is in 1 class (Win32_Product) of ROOT\cimv2 and in 2 namespaces
Configure method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
InstallStateuint160-{'in':True,'Valuemap':['1', '2', '3'],'Values':['Default', 'Local', 'Source']}
InstallLeveluint161-{'in':True,'Valuemap':['1', '2', '3'],'Values':['Default', 'Minimum', 'Maximum']}
Optionsstring2-{'Description':'The command line options for configure. These should be in the form of property=setting','in':True}
Description'This method will configure the associated instance of Win32_Product to the specified install state and level. The method can return the following values:
0 - Success.
2147549445 - RPC Server Fault Error.
Other - For integer values other than those listed above, refer to the documentation on error codes returned by the Windows Installer API and the Win32 error codes.'
ImplementedTrue
ValueMap['0', '2147549445', '..']
Values['Success', 'RPC Server Fault Error', 'Other']
Configure method is in 2 classes of ROOT\cimv2 and in 4 namespaces
Install method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
PackageLocationstring0-{'Description':'The path to the package that is to be installed','in':True}
Optionsstring1-{'Description':'The command line options for the install. These should be in the form of property=setting','in':True}
AllUsersboolean2-{'DEPRECATED':True,'Description':'DEPRECATED. The AllUsers input parameter has been deprecated as the functionality implied is not supported. The operation will effect all users on the machine. Indicates whether the operation should be applied to the current user (FALSE) or all users on the machine (TRUE).','in':True}
Description'This method Will install an associated Win32_Product using the installation package provided through PackageLocation and any command line options that are supplied. The method can return the following values:
0 - Success.
2147549445 - RPC Server Fault Error.
Other - For integer values other than those listed above, refer to the documentation on error codes returned by the Windows Installer API and the Win32 error codes.'
ImplementedTrue
staticTrue
ValueMap['0', '2147549445', '..']
Values['Success', 'RPC Server Fault Error', 'Other']
Install method is in 1 class (Win32_Product) of ROOT\cimv2 and in 3 namespaces
Reinstall method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ReinstallModeuint160-{'Description':'Specifies the reinstall mode','In':True,'Valuemap':['1', '2', '3', '4', '5', '6', '7', '8', '9', '10'],'Values':['FileMissing', 'FileOlderVersion', 'FileEqualVersion', 'FileExact', 'FileVerify', 'FileReplace', 'UserData', 'MachineData', 'Shortcut', 'Package']}
Description'This method will reinstall the associated instance of Win32_Product using the specified reinstallation mode. The method can return the following values:
0 - Success.
2147549445 - RPC Server Fault Error.
Other - For integer values other than those listed above, refer to the documentation on error codes returned by the Windows Installer API and the Win32 error codes.'
ImplementedTrue
ValueMap['0', '2147549445', '..']
Values['Success', 'RPC Server Fault Error', 'Other']
Reinstall method is in 3 classes of ROOT\cimv2 and in 2 namespaces
Uninstall method
Returnuint32 {'out':True}
Description'This method will uninstall the associated instance of Win32_Product. The method can return the following values:
0 - Success.
2147549445 - RPC Server Fault Error.
Other - For integer values other than those listed above, refer to the documentation on error codes returned by the Windows Installer API and the Win32 error codes.'
ImplementedTrue
ValueMap['0', '2147549445', '..']
Values['Success', 'RPC Server Fault Error', 'Other']
Uninstall method is in 2 classes of ROOT\cimv2 and in 5 namespaces
Upgrade method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
PackageLocationstring0-{'Description':'The path to the package that contains the upgrade','in':True}
Optionsstring1-{'Description':'The command line options for the upgrade. These should be in the form of property=setting','in':True}
Description'This method will upgrade the associated Win32_Product using the upgrade package provided through PackageLocation and any command line options that are supplied. The method can return the following values:
0 - Success.
2147549445 - RPC Server Fault Error.
Other - For integer values other than those listed above, refer to the documentation on error codes returned by the Windows Installer API and the Win32 error codes.'
ImplementedTrue
ValueMap['0', '2147549445', '..']
Values['Success', 'RPC Server Fault Error', 'Other']
Upgrade method is in 1 class (Win32_Product) of ROOT\cimv2 and in 5 namespaces

Detailed description of Win32_Product properties

Local properties (20) of Win32_Product class

AssignmentType property
CIMTYPE'uint16'
Description'Assignment type of the product.'
readTrue
Values['Per-user', 'Per-machine']
AssignmentType property is in 1 class (Win32_Product) of ROOT\cimv2 and in 10 namespaces
HelpLink property
CIMTYPE'string'
Description'The support link for the product.'
readTrue
HelpLink property is in 1 class (Win32_Product) of ROOT\cimv2 and in 2 namespaces
HelpTelephone property
CIMTYPE'string'
Description'The support telephone for the product.'
readTrue
HelpTelephone property is in 1 class (Win32_Product) of ROOT\cimv2 and in 2 namespaces
InstallDate property
CIMTYPE'string'
DEPRECATEDTrue
Description'The installation date. The InstallDate property has been deprecated in favor of the InstallDate2 property which is of type DateTime rather than String. New implementations should use the InstallDate2 property.'
readTrue
InstallDate property is in 227 classes of ROOT\cimv2 and in 23 namespaces
InstallDate2 property
CIMTYPE'datetime'
Description'The InstallDate2 property represents the installation date of the product.'
readTrue
InstallDate2 property is in 1 class (Win32_Product) of ROOT\cimv2 and in 2 namespaces
InstallLocation property
CIMTYPE'string'
Description'The location of the installed product.'
readTrue
InstallLocation property is in 1 class (Win32_Product) of ROOT\cimv2 and in 2 namespaces
InstallSource property
CIMTYPE'string'
Description'The installation source directory of the product.'
readTrue
InstallSource property is in 1 class (Win32_Product) of ROOT\cimv2 and in 2 namespaces
InstallState property
CIMTYPE'sint16'
Description'The installed state of the product.'
readTrue
ValueMap['-6', '-2', '-1', '1', '2', '5']
Values['Bad Configuration', 'Invalid Argument', 'Unknown Package', 'Advertised', 'Absent', 'Installed']
InstallState property is in 4 classes of ROOT\cimv2 and in 2 namespaces
Language property
CIMTYPE'string'
Description'The language of the product.'
readTrue
Language property is in 3 classes of ROOT\cimv2 and in 6 namespaces
LocalPackage property
CIMTYPE'string'
Description'The location of the locally cached package for this product.'
readTrue
LocalPackage property is in 1 class (Win32_Product) of ROOT\cimv2 and in 2 namespaces
PackageCache property
CIMTYPE'string'
Description'The location of the locally cached package for this product.'
readTrue
PackageCache property is in 1 class (Win32_Product) of ROOT\cimv2 and in 2 namespaces
PackageCode property
CIMTYPE'string'
Description'The identifier for the package from which this product was installed.'
readTrue
PackageCode property is in 1 class (Win32_Product) of ROOT\cimv2 and in 2 namespaces
PackageName property
CIMTYPE'string'
Description'The original package name for the product.'
readTrue
PackageName property is in 1 class (Win32_Product) of ROOT\cimv2 and in 4 namespaces
ProductID property
CIMTYPE'string'
Description'The product ID.'
readTrue
ProductID property is in 2 classes of ROOT\cimv2 and in 14 namespaces
RegCompany property
CIMTYPE'string'
Description'The company registered to use the product.'
readTrue
RegCompany property is in 1 class (Win32_Product) of ROOT\cimv2 and in 2 namespaces
RegOwner property
CIMTYPE'string'
Description'The owner registered to use the product.'
readTrue
RegOwner property is in 1 class (Win32_Product) of ROOT\cimv2 and in 2 namespaces
Transforms property
CIMTYPE'string'
Description'The transforms of the product.'
readTrue
Transforms property is in 1 class (Win32_Product) of ROOT\cimv2 and in 8 namespaces
URLInfoAbout property
CIMTYPE'string'
Description'The URL information for the product.'
readTrue
URLInfoAbout property is in 1 class (Win32_Product) of ROOT\cimv2 and in 2 namespaces
URLUpdateInfo property
CIMTYPE'string'
Description'The URL update information the product.'
readTrue
URLUpdateInfo property is in 1 class (Win32_Product) of ROOT\cimv2 and in 2 namespaces
WordCount property
CIMTYPE'uint32'
Description'Summary information word count for the product'
readTrue
WordCount property is in 1 class (Win32_Product) of ROOT\cimv2 and in 2 namespaces

Derived properties (7) of Win32_Product class

Caption property
CIMTYPE'string'
Description'A short textual description (one-line string) for the Product.'
MaxLen64
readTrue
Caption property is in 1050 classes of ROOT\cimv2 and in 37 namespaces
Description property
CIMTYPE'string'
Description'A textual description of the product.'
readTrue
Description property is in 1061 classes of ROOT\cimv2 and in 142 namespaces
IdentifyingNumber property
CIMTYPE'string'
Description'Product identification such as a serial number on software, a die number on a hardware chip, or (for non-commercial Products) a project number.'
keyTrue
MappingStrings['MIF.DMTF|ComponentID|001.4']
MaxLen64
readTrue
IdentifyingNumber property is in 8 classes of ROOT\cimv2 and in 4 namespaces
Name property
CIMTYPE'string'
Description'Commonly used product name.'
keyTrue
MappingStrings['MIF.DMTF|ComponentID|001.2']
MaxLen256
readTrue
Name property is in 1046 classes of ROOT\cimv2 and in 142 namespaces
SKUNumber property
CIMTYPE'string'
Description'Product SKU (stock keeping unit) information.'
MaxLen64
readTrue
SKUNumber property is in 3 classes of ROOT\cimv2 and in 4 namespaces
Vendor property
CIM_KeyTrue
CIMTYPE'string'
Description'The name of the Product's supplier, or entity selling the Product (the manufacturer, reseller, OEM, etc.). Corresponds to the Vendor property in the Product object in the DMTF Solution Exchange Standard.'
MappingStrings['MIF.DMTF|ComponentID|001.1']
MaxLen256
readTrue
Vendor property is in 8 classes of ROOT\cimv2 and in 6 namespaces
Version property
CIMTYPE'string'
Description'Product version information. Corresponds to the Version property in the product object in the DMTF Solution Exchange Standard.'
keyTrue
MappingStrings['MIF.DMTF|ComponentID|001.3']
MaxLen64
readTrue
Version property is in 101 classes of ROOT\cimv2 and in 142 namespaces

Win32_Product Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'Instances of this class represent products as they are installed by MSI. A product generally correlates to a single installation package.'
dynamicTrue
Locale1033
MappingStrings['Microsoft.MSI']
provider'MSIProv'
SupportsUpdateTrue
UUID'{CE3324AA-DB34-11d2-85FC-0000F8102E5F}'

Win32_Product System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:Win32_Product'___SYSTEM8
__NAMESPACE'ROOT\cimv2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_Product']___SYSTEM8
__PROPERTY_COUNT27___SYSTEM3
__RELPATH'Win32_Product'___SYSTEM8
__DYNASTY'CIM_Product'___SYSTEM8
__SUPERCLASS'CIM_Product'___SYSTEM8
__CLASS'Win32_Product'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_Product

Number of classes:14
comments powered by Disqus
WUtils.com