Expand Minimize

Win32_SoftwareElementResource class

The Win32_SoftwareElementResource association WMI class relates an Installer feature with an action used to register and publish the feature.

Note  For more information about support or requirements for installation on a specific operating system, see Operating System Availability of WMI Components.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties and methods are in alphabetic order, not MOF order.

Syntax

[Provider("MSIProv"), Dynamic]class Win32_SoftwareElementResource : Win32_ManagedSystemElementResource
{
  Win32_SoftwareElement REF Element;
  Win32_MSIResource     REF Setting;
};

Members

The Win32_SoftwareElementResource class has these types of members:

Properties

The Win32_SoftwareElementResource class has these properties.

Element
Data type: Win32_SoftwareElement
Access type: Read-only
Qualifiers: Key, Dynamic

Reference to a Win32_SoftwareElement instance.

Setting
Data type: Win32_MSIResource
Access type: Read-only
Qualifiers: Key, Dynamic

Reference to a Win32_MSIResource instance.

Remarks

The Win32_SoftwareElementResource class is derived from Win32_ManagedSystemElementResource.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

MOF

Msi.mof

DLL

Msiprov.dll

See also

Installed Applications Classes

 

 

Show:
© 2014 Microsoft. All rights reserved.