Share via


WindowsInstallerItem Class

 

Applies To: Windows Server Update Services

Represents the Windows Installer Item.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Inheritance Hierarchy

System.Object
  Microsoft.UpdateServices.Administration.InstallableItem
    Microsoft.UpdateServices.Administration.WindowsInstallerItem

Syntax

public class WindowsInstallerItem : InstallableItem
public ref class WindowsInstallerItem : InstallableItem
type WindowsInstallerItem = 
    class
        inherit InstallableItem
    end
Public Class WindowsInstallerItem
    Inherits InstallableItem

Constructors

Name Description
System_CAPS_pubmethod WindowsInstallerItem()

Default constructor.

System_CAPS_pubmethod WindowsInstallerItem(String)

Create a WindowsInstallerItem and set MSI related properties. Currently only MSIFile property and ProductCode are set.

Properties

Name Description
System_CAPS_pubproperty ApplicabilityMetadata

Gets or sets the metadata applicability rules of this installable item.(Inherited from InstallableItem.)

System_CAPS_pubproperty Id

Gets the GUID of the item.(Inherited from InstallableItem.)

System_CAPS_pubproperty InstallBehavior

Gets or sets the installation behavior.(Inherited from InstallableItem.)

System_CAPS_pubproperty InstallCommandLine

Get/Set Install command

System_CAPS_pubproperty IsInstallableApplicabilityRule

Gets or sets the rules for determining whether or not this item is installable on a given computer.(Inherited from InstallableItem.)

System_CAPS_pubproperty IsInstalledApplicabilityRule

Gets or sets the rules for determining whether or not this item is already installed on a given computer.(Inherited from InstallableItem.)

System_CAPS_pubproperty IsSupersededApplicabilityRule

Gets or sets the rules for determining whether or not this item is superseded by another update on a given computer.(Inherited from InstallableItem.)

System_CAPS_pubproperty Languages

Gets the collection of languages supported by this item.(Inherited from InstallableItem.)

System_CAPS_pubproperty OriginalSourceFile

Gets or sets the original source of this update. (Inherited from InstallableItem.)

System_CAPS_pubproperty UninstallBehavior

Get or sets the uninstallation behavior.(Inherited from InstallableItem.)

System_CAPS_pubproperty UninstallCommandLine

Get/Set Unintall command.

System_CAPS_pubproperty WindowsInstallerFile

Get/Set MSIFile

System_CAPS_pubproperty WindowsInstallerProductCode

Get/Set ProductCode.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod GetXml(String, String)

This property value is for internal use only. It may be removed in a later release.(Inherited from InstallableItem.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top