다음을 통해 공유


MsiInfoType Complex Type

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The MsiInfoType complex type, in Configuration Manager, provides the discovery data that is needed for querying the Windows Installer package.

<xs:complexType name="MsiInfoType">
    <xs:sequence>
        <xs:any
            processContents="skip"
            minOccurs="0"
            maxOccurs="unbounded"
            namespace="##other"
         />
    </xs:sequence>
    <xs:attribute name="ProductCode"
        type="NonEmptyStringType"
        use="required"
     />
    <xs:attribute name="Version"
        type="NonEmptyStringType"
        use="optional"
     />
    <xs:attribute name="IsPerUser"
        type="boolean"
        use="required"
     />
</xs:complexType>

Attributes

Name Type Description

IsPerUser

Boolean

Indicates whether to query Windows Installer for the computer or per-user installed instances of the application.

If true, discovery finds all per-user (managed or unmanaged) installations of the application.

If false, discovery finds the machine context installation of the application.

ProductCode

NonEmptyStringType Simple Type

The ProductCode property of the package as described in MSDN documentation about the https://go.microsoft.com/fwlink/?LinkId=110502.

Version

NonEmptyStringType Simple Type

The ProductVersion property of the package. This is a four-part version string as described in MSDN documentation about the https://go.microsoft.com/fwlink/?LinkId=110503.

The version is an optional property. If no version is specified, all versions matching the specified product code will be discovered.

See Also

Concepts

Authoring Desired Configuration Management Configuration Baselines and Configuration Items