Win32_Product, ROOT\CIMV2\ms_409

Class | Methods (7) | Properties (27) | Qualifiers (3) | Instances | 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.'
Values['Success', 'RPC Server Fault Error', 'Other']
Admin method is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 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-{'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.'
Values['Success', 'RPC Server Fault Error', 'Other']
Advertise method is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 2 namespaces
Configure method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
InstallStateuint160-{'in':True,'Values':['Default', 'Local', 'Source']}
InstallLeveluint161-{'in':True,'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.'
Values['Success', 'RPC Server Fault Error', 'Other']
Configure method is in 2 classes of ROOT\CIMV2\ms_409 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-{'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.'
Values['Success', 'RPC Server Fault Error', 'Other']
Install method is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 3 namespaces
Reinstall method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ReinstallModeuint160-{'Description':'Specifies the reinstall mode','In':True,'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.'
Values['Success', 'RPC Server Fault Error', 'Other']
Reinstall method is in 3 classes of ROOT\CIMV2\ms_409 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.'
Values['Success', 'RPC Server Fault Error', 'Other']
Uninstall method is in 2 classes of ROOT\CIMV2\ms_409 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.'
Values['Success', 'RPC Server Fault Error', 'Other']
Upgrade method is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 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.'
Values['Per-user', 'Per-machine']
AssignmentType property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 10 namespaces
HelpLink property
CIMTYPE'string'
Description'The support link for the product.'
HelpLink property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 2 namespaces
HelpTelephone property
CIMTYPE'string'
Description'The support telephone for the product.'
HelpTelephone property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 2 namespaces
InstallDate property
CIMTYPE'string'
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.'
InstallDate property is in 223 classes of ROOT\CIMV2\ms_409 and in 23 namespaces
InstallDate2 property
CIMTYPE'datetime'
Description'The InstallDate2 property represents the installation date of the product.'
InstallDate2 property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 2 namespaces
InstallLocation property
CIMTYPE'string'
Description'The location of the installed product.'
InstallLocation property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 2 namespaces
InstallSource property
CIMTYPE'string'
Description'The installation source directory of the product.'
InstallSource property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 2 namespaces
InstallState property
CIMTYPE'sint16'
Description'The installed state of the product.'
Values['Bad Configuration', 'Invalid Argument', 'Unknown Package', 'Advertised', 'Absent', 'Installed']
InstallState property is in 4 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
Language property
CIMTYPE'string'
Description'The language of the product.'
Language property is in 3 classes of ROOT\CIMV2\ms_409 and in 6 namespaces
LocalPackage property
CIMTYPE'string'
Description'The location of the locally cached package for this product.'
LocalPackage property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 2 namespaces
PackageCache property
CIMTYPE'string'
Description'The location of the locally cached package for this product.'
PackageCache property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 2 namespaces
PackageCode property
CIMTYPE'string'
Description'The identifier for the package from which this product was installed.'
PackageCode property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 2 namespaces
PackageName property
CIMTYPE'string'
Description'The original package name for the product.'
PackageName property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 4 namespaces
ProductID property
CIMTYPE'string'
Description'The product ID.'
ProductID property is in 2 classes of ROOT\CIMV2\ms_409 and in 14 namespaces
RegCompany property
CIMTYPE'string'
Description'The company registered to use the product.'
RegCompany property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 2 namespaces
RegOwner property
CIMTYPE'string'
Description'The owner registered to use the product.'
RegOwner property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 2 namespaces
Transforms property
CIMTYPE'string'
Description'The transforms of the product.'
Transforms property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 8 namespaces
URLInfoAbout property
CIMTYPE'string'
Description'The URL information for the product.'
URLInfoAbout property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 2 namespaces
URLUpdateInfo property
CIMTYPE'string'
Description'The URL update information the product.'
URLUpdateInfo property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 and in 2 namespaces
WordCount property
CIMTYPE'uint32'
Description'Summary information word count for the product'
WordCount property is in 1 class (Win32_Product) of ROOT\CIMV2\ms_409 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.'
Caption property is in 273 classes of ROOT\CIMV2\ms_409 and in 37 namespaces
Description property
CIMTYPE'string'
Description'A textual description of the product.'
Description property is in 329 classes of ROOT\CIMV2\ms_409 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
IdentifyingNumber property is in 8 classes of ROOT\CIMV2\ms_409 and in 4 namespaces
Name property
CIMTYPE'string'
Description'Commonly used product name.'
keyTrue
Name property is in 306 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
SKUNumber property
CIMTYPE'string'
Description'Product SKU (stock keeping unit) information.'
SKUNumber property is in 3 classes of ROOT\CIMV2\ms_409 and in 4 namespaces
Vendor property
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.'
Vendor property is in 8 classes of ROOT\CIMV2\ms_409 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
Version property is in 96 classes of ROOT\CIMV2\ms_409 and in 142 namespaces

Win32_Product Qualifiers

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

Win32_Product System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\CIMV2\ms_409:Win32_Product'___SYSTEM8
__NAMESPACE'ROOT\CIMV2\ms_409'___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:11
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
CIM_CompatibleProduct030----
CIM_FRUIncludesProduct020----
CIM_Product270----
CIM_ProductFRU020----
CIM_ProductParentChild020----
CIM_ProductPhysicalElements020----
CIM_ProductProductDependency030----
CIM_ProductSoftwareFeatures020----
CIM_ProductSupport020----
SoftwareLicensingProduct06117----
Win32_ComputerSystemProduct080----
comments powered by Disqus
WUtils.com