Share via


MsiInstaller Class

 

Applies To: System Center 2012 Configuration Manager

Implementation of the MsiInstaller class. The Installer object for MSI type of Deployment Technology. It contains all the information needed to perform supported operations of the MSI Deployment Technology contained inside an application.

Namespace:   Microsoft.ConfigurationManagement.ApplicationManagement
Assembly:  Microsoft.ConfigurationManagement.ApplicationManagement.MsiInstaller (in Microsoft.ConfigurationManagement.ApplicationManagement.MsiInstaller.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.ApplicationManagement.BaseObject
    Microsoft.ConfigurationManagement.ApplicationManagement.Installer
      Microsoft.ConfigurationManagement.ApplicationManagement.MsiInstaller
        Microsoft.ConfigurationManagement.ApplicationManagement.ScriptInstaller

Syntax

[SerializableAttribute]
public class MsiInstaller : Installer
[SerializableAttribute]
public ref class MsiInstaller : Installer
<SerializableAttribute>
Public Class MsiInstaller
    Inherits Installer

Constructors

Name Description
System_CAPS_pubmethod MsiInstaller()

Initializes a new instance of the MsiInstaller class.

Properties

Name Description
System_CAPS_pubproperty AllowUninstall

True if there is an option to uninstall; otherwise, False.

System_CAPS_pubproperty Contents

(Inherited from Installer.)

System_CAPS_pubproperty DetectionMethod

Default detection method that is used for the installer.

System_CAPS_pubproperty DetectionScript

Detection script that is used for the installer.

System_CAPS_pubproperty EnhancedDetectionMethod

Enhanced detection method that is used for the installer.

System_CAPS_pubproperty ExecuteTime

Estimated application installation time in minutes.

System_CAPS_pubproperty ExecutionContext

(Inherited from Installer.)

System_CAPS_pubproperty ExitCodes

Exit codes for the installer.

System_CAPS_protproperty InsideIsChangedSetter

(Inherited from BaseObject.)

System_CAPS_pubproperty InstallCommandLine

Command line to use for the installer.

System_CAPS_pubproperty InstallContent

MsiInstaller content reference pointing to the location of the MSI installer package and all necessary files are stored for installation.

System_CAPS_pubproperty InstallFolder

Folder location for the installation.

System_CAPS_pubproperty IsChanged

(Inherited from BaseObject.)

System_CAPS_pubproperty IsReadOnly

(Inherited from BaseObject.)

System_CAPS_pubproperty MaxExecuteTime

Maximum time that the installer is allowed to complete installation before exiting.

System_CAPS_pubproperty PackageCode

GUID that identifies the Windows Installer package.

System_CAPS_pubproperty PatchCodes

GUID that identifies a software update.

System_CAPS_pubproperty PostInstallBehavior

Information about actions after installation is completed.

System_CAPS_pubproperty ProductCode

GUID that identifies the installed application.

System_CAPS_pubproperty ProductVersion

Product version in string format.

System_CAPS_pubproperty RedirectCommandLine

True if the command-line output can be redirected; otherwise, False.

System_CAPS_pubproperty RepairCommandLine

Command line to run in order to repair the MSI Application. This field is reserved for future use.

System_CAPS_pubproperty RepairFolder

Location of the repair folder.

System_CAPS_pubproperty RequiresElevatedRights

True if administrator rights are required for the installation, otherwise, False.

System_CAPS_pubproperty RequiresLogOn

(Inherited from Installer.)

System_CAPS_pubproperty RequiresReboot

True if client is required to reboot after installation; otherwise, False.

System_CAPS_pubproperty RequiresUserInteraction

True if user interaction is required during installation: otherwise, False.

System_CAPS_pubproperty SourceUpdateProductCode

Windows Installer product code representing the MSI Installer file that will be automatically updated or repaired from content source files on an available distribution point.

System_CAPS_pubproperty Technology

Windows Installer package file (.msi file) technology ID. (Overrides Installer.Technology.)

System_CAPS_pubproperty UninstallCommandLine

Command line to run in order to uninstall the MSI Application.

System_CAPS_pubproperty UninstallFolder

Folder location where the uninstall action occurs.

System_CAPS_pubproperty UserInteractionMode

The installation program's visibility.

Methods

Name Description
System_CAPS_protmethod AttachTracker(IChangeTracker)

(Inherited from BaseObject.)

System_CAPS_pubmethod ChangeId()

(Inherited from BaseObject.)

System_CAPS_protmethod CheckIsChanged()

(Inherited from BaseObject.)

System_CAPS_pubmethod Clone()

(Inherited from BaseObject.)

System_CAPS_pubmethod Copy()

(Inherited from BaseObject.)

System_CAPS_pubmethod CopyFrom(IAppMgmtObject)

(Inherited from BaseObject.)

System_CAPS_pubmethod CreateDetectAction()

Creates a Detect Action synclet with parameters and content information for the client. The client will use this information to detect the application. (Overrides Installer.CreateDetectAction().)

System_CAPS_pubmethod CreateInstallAction()

Creates a Install Action synclet with parameters and content information for the client. The client will use this information to install the application. (Overrides Installer.CreateInstallAction().)

System_CAPS_pubmethod CreateUninstallAction()

Creates an Uninstall Action synclet with parameters and content information for the client. The client will use this information to uninstall the application. (Overrides Installer.CreateUninstallAction().)

System_CAPS_protmethod DetachTracker(IChangeTracker)

(Inherited from BaseObject.)

System_CAPS_protmethod EnumerateFields()

(Inherited from BaseObject.)

System_CAPS_pubmethod EnumerateLocalizedProperties()

(Inherited from BaseObject.)

System_CAPS_protmethod EnumerateTrackerChildren()

(Inherited from BaseObject.)

System_CAPS_pubmethod Equals(Object)

(Inherited from BaseObject.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from BaseObject.)

System_CAPS_pubmethod GetResourceId(String)

(Inherited from BaseObject.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnChanged(Object, ChangeEventArgs)

Defines the operations to perform when the MsiInstaller object has its properties changed. (Overrides BaseObject.OnChanged(Object, ChangeEventArgs).)

System_CAPS_pubmethod OnChangeId(Object, ChangeEventArgs)

(Inherited from BaseObject.)

System_CAPS_protmethod OnChanging(Object, ChangeEventArgs)

(Inherited from BaseObject.)

System_CAPS_protmethod OnDeserialized()

(Inherited from BaseObject.)

System_CAPS_protmethod OnDeserializing()

(Inherited from BaseObject.)

System_CAPS_protmethod OnSerialized()

(Inherited from BaseObject.)

System_CAPS_protmethod OnSerializing()

(Inherited from BaseObject.)

System_CAPS_protmethod SetIsChanged(Boolean)

(Inherited from BaseObject.)

System_CAPS_protmethod SetProp<T>(String, T, T)

(Inherited from BaseObject.)

System_CAPS_pubmethod SetResourceId(String, String)

(Inherited from BaseObject.)

System_CAPS_pubmethod ToString()

(Inherited from BaseObject.)

System_CAPS_pubmethod Validate()

(Inherited from BaseObject.)

System_CAPS_pubmethod ValidateProperty(PropertyInfo)

(Inherited from BaseObject.)

System_CAPS_pubmethod ValidateProperty(PropertyInfo, Object)

Validates specified properties of the MsiInstaller object. (Overrides BaseObject.ValidateProperty(PropertyInfo, Object).)

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static TechnologyId

Windows Installer package file (.msi file) technology ID constant.

Events

Name Description
System_CAPS_protevent OnChangedEvent

(Inherited from BaseObject.)

System_CAPS_protevent OnChangingEvent

(Inherited from BaseObject.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privevent IChangeTracker.OnChangedEvent

(Inherited from BaseObject.)

System_CAPS_pubinterfaceSystem_CAPS_privevent IChangeTracker.OnChangingEvent

(Inherited from BaseObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IChangeTracker.OnChanged(Object, ChangeEventArgs)

(Inherited from BaseObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IChangeTracker.OnChanging(Object, ChangeEventArgs)

(Inherited from BaseObject.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IChangeTracker.IsChanged

(Inherited from BaseObject.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IChangeTracker.IsReadOnly

(Inherited from BaseObject.)

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.ConfigurationManagement.ApplicationManagement Namespace

Return to top