Share via


ScriptInstaller Class

 

Applies To: System Center 2012 Configuration Manager

The Installer object for Script Deployment Technology. It contains all the information needed to perform supported operations of a script installation.

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 ScriptInstaller : MsiInstaller
[SerializableAttribute]
public ref class ScriptInstaller : MsiInstaller
<SerializableAttribute>
Public Class ScriptInstaller
    Inherits MsiInstaller

Constructors

Name Description
System_CAPS_pubmethod ScriptInstaller()

Initializes a new instance of the ScriptInstaller class.

Properties

Name Description
System_CAPS_pubproperty AllowUninstall

True if there is an option to uninstall; otherwise, False. (Inherited from MsiInstaller.)

System_CAPS_pubproperty Contents

(Inherited from Installer.)

System_CAPS_pubproperty DetectionMethod

Default detection method that is used for the installer. (Inherited from MsiInstaller.)

System_CAPS_pubproperty DetectionScript

Detection script that is used for the installer. (Inherited from MsiInstaller.)

System_CAPS_pubproperty EnhancedDetectionMethod

Enhanced detection method that is used for the installer. (Inherited from MsiInstaller.)

System_CAPS_pubproperty ExecuteTime

Estimated application installation time in minutes. (Inherited from MsiInstaller.)

System_CAPS_pubproperty ExecutionContext

(Inherited from Installer.)

System_CAPS_pubproperty ExitCodes

Exit codes for the installer. (Inherited from MsiInstaller.)

System_CAPS_protproperty InsideIsChangedSetter

(Inherited from BaseObject.)

System_CAPS_pubproperty InstallCommandLine

Command line to use for the installer. (Inherited from MsiInstaller.)

System_CAPS_pubproperty InstallContent

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

System_CAPS_pubproperty InstallFolder

Folder location for the installation. (Inherited from MsiInstaller.)

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. (Inherited from MsiInstaller.)

System_CAPS_pubproperty PackageCode

GUID that identifies the Windows Installer package. (Inherited from MsiInstaller.)

System_CAPS_pubproperty PatchCodes

GUID that identifies a software update. (Inherited from MsiInstaller.)

System_CAPS_pubproperty PostInstallBehavior

Information about actions after installation is completed. (Inherited from MsiInstaller.)

System_CAPS_pubproperty ProductCode

GUID that identifies the installed application. (Inherited from MsiInstaller.)

System_CAPS_pubproperty ProductVersion

Product version in string format. (Inherited from MsiInstaller.)

System_CAPS_pubproperty RedirectCommandLine

True if the command-line output can be redirected; otherwise, False. (Inherited from MsiInstaller.)

System_CAPS_pubproperty RepairCommandLine

Command line to run in order to repair the MSI Application. This field is reserved for future use. (Inherited from MsiInstaller.)

System_CAPS_pubproperty RepairFolder

Location of the repair folder. (Inherited from MsiInstaller.)

System_CAPS_pubproperty RequiresElevatedRights

True if administrator rights are required for the installation, otherwise, False. (Inherited from MsiInstaller.)

System_CAPS_pubproperty RequiresLogOn

(Inherited from Installer.)

System_CAPS_pubproperty RequiresReboot

True if client is required to reboot after installation; otherwise, False. (Inherited from MsiInstaller.)

System_CAPS_pubproperty RequiresUserInteraction

True if user interaction is required during installation: otherwise, False. (Inherited from MsiInstaller.)

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. (Inherited from MsiInstaller.)

System_CAPS_pubproperty Technology

Technology ID of the script. (Overrides MsiInstaller.Technology.)

System_CAPS_pubproperty UninstallCommandLine

Command line to run in order to uninstall the MSI Application. (Inherited from MsiInstaller.)

System_CAPS_pubproperty UninstallFolder

Folder location where the uninstall action occurs. (Inherited from MsiInstaller.)

System_CAPS_pubproperty UserInteractionMode

The installation program's visibility. (Inherited from MsiInstaller.)

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. (Inherited from MsiInstaller.)

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. (Inherited from MsiInstaller.)

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. (Inherited from MsiInstaller.)

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. (Inherited from MsiInstaller.)

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. (Inherited from MsiInstaller.)

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static TechnologyId

 

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