Microsoft.Deployment.WindowsInstaller Namespace

DTF API

Copy image CopyHover image
Deployment Tools Foundation Microsoft.Deployment.WindowsInstaller Namespace
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller
Complete class library for the Windows Installer APIs.
Types
All Types Classes Structures Interfaces Enumerations Delegates
Icon Type Description
ActionResult
Specifies a return status value for custom actions.

BadQuerySyntaxException
ColumnCollection
Collection of column information related to a TableInfo or View.

ColumnInfo
Defines a single column of a table in an installer database.

ComponentAttributes
Available values for the Attributes column of the Component table.

ComponentInfo
Provides access to information about a component within the context of an installation session.

ComponentInfoCollection
Accessor for information about components within the context of an installation session.

ComponentInstallation
Represents an instance of a registered component.

ControlAttributes
Defines flags for the Attributes column of the Control table.

CustomActionAttribute
Marks a method as a custom action entry point.

CustomActionData
Contains a collection of key-value pairs suitable for passing between immediate and deferred/rollback/commit custom actions.

CustomActionTypes
Defines flags for the Type column of the CustomAction table.

Database
Accesses a Windows Installer database.

DatabaseOpenMode
Specifies the open mode for a Database.

DialogAttributes
Defines flags for the Attributes column of the Dialog table.

ExternalUIHandler
Defines a callback function that the installer calls for progress notification and error messages.

ExternalUIRecordHandler
[MSI 3.1] Defines a callback function that the installer calls for record-based progress notification and error messages.

FeatureAttributes
Available values for the Attributes column of the Feature table.

FeatureInfo
Provides access to information about a feature within the context of an installation session.

FeatureInfoCollection
Accessor for information about features within the context of an installation session.

FeatureInstallation
Represents an instance of a feature of an installed product.

FileAttributes
Available values for the Attributes column of the File table.

IEmbeddedUI
[MSI 4.5] Interface for an embedded external user interface for an installation.

InapplicablePatchHandler
Receives an exception from DetermineApplicablePatches(String, array<String>[]()[][], InapplicablePatchHandler, String, UserContexts) indicating the reason a particular patch is not applicable to a product.

IniFileAction
Defines values for the Action column of the IniFile and RemoveIniFile tables.

Installation
Subclasses of this abstract class represent a unique instance of a registered product or patch installation.

InstallationPart
Subclasses of this abstract class represent an instance of a registered feature or component.

InstallCanceledException
User Canceled the installation.

InstallCost
Represents a per-drive disk space cost for an installation.

Installer
Provides static methods for installing and configuring products and patches.

InstallerException
Base class for Windows Installer exceptions.

InstallerHandle
Base class for Windows Installer handle types (Database, View, Record, SummaryInfo).

InstallLogModes
InstallMessage
InstallMode
InstallRunMode
Specifies the run mode for GetMode(InstallRunMode).

InstallState
Installed state of a Component or Feature.

InstallType
Specifies the type of installation for ApplyPatch(String, String, InstallType, String).

InstallUIOptions
Level of the installation user interface, specified with SetInternalUI(InstallUIOptions).

InvalidHandleException
A method was called on an invalid installer handle. The handle may have been already closed.

LocatorTypes
Defines values for the Type column of the CompLocator, IniLocator, and RegLocator tables.

MediaDisk
Represents a media disk source of a product or a patch.

MergeException
A failure occurred when executing Merge(Database, String). The exception may contain details about the merge conflict.

MessageButtons
Specifies constants defining which buttons to display for a message. This can be cast to the MessageBoxButtons enum in System.Windows.Forms and System.Windows.

MessageDefaultButton
Specifies constants defining the default button on a message. This can be cast to the MessageBoxDefaultButton enum in System.Windows.Forms and System.Windows.

MessageIcon
Specifies constants defining which information to display. This can be cast to the MessageBoxIcon enum in System.Windows.Forms and System.Windows.

MessageResult
Specifies a return status value for message handlers. These values are returned by Message(InstallMessage, Record), ExternalUIHandler, and ProcessMessage(InstallMessage, Record, MessageButtons, MessageIcon, MessageDefaultButton).

PatchInstallation
The Patch object represents a unique instance of a patch that has been registered or applied.

PatchStates
Specifies the different patch states for GetPatches(String, String, String, UserContexts, PatchStates).

ProductInstallation
Represents a unique instance of a product that is either advertised, installed or unknown.

ComponentInstallation..::..Qualifier
Holds data about a component qualifier.

Record
The Record object is a container for holding and transferring a variable number of values. Fields within the record are numerically indexed and can contain strings, integers, streams, and null values. Record fields are indexed starting with 1. Field 0 is a special format field.

RegistryRoot
Defines values for the Root column of the Registry, RemoveRegistry, and RegLocator tables.

ReinstallModes
RemoveFileModes
Defines values for the InstallMode column of the RemoveFile table.

ServiceAttributes
Defines values for the ServiceType, StartType, and ErrorControl columns of the ServiceInstall table.

ServiceControlEvents
Defines values for the Event column of the ServiceControl table.

Session
The Session object controls the installation process. It opens the install database, which contains the installation tables and data.

ShortcutTarget
Holds information about the target of a shortcut file.

SourceList
A list of sources for an installed product or patch.

SourceMediaList
A list of source media for an installed product or patch.

SummaryInfo
Provides access to summary information of a Windows Installer database.

TableCollection
Contains information about all the tables in a Windows Installer database.

TableInfo
Defines a table in an installation database.

TextStyles
Defines values for the StyleBits column of the TextStyle table.

Transaction
[MSI 4.5] Handle to a multi-session install transaction.

TransactionAttributes
Attributes for Transaction methods.

TransformErrors
TransformValidations
UpgradeAttributes
Defines values for the Attributes column of the Upgrade table.

FeatureInstallation..::..UsageData
Holds data about the usage of a feature.

UserContexts
ValidationError
Defines the type of error encountered by the Validate(Record), ValidateNew(Record), or ValidateFields(Record) methods of the View class.

ValidationErrorInfo
Contains specific information about an error encountered by the Validate(Record), ValidateNew(Record), or ValidateFields(Record) methods of the View class.

View
A View represents a result set obtained when processing a query using the OpenView(String, array<Object>[]()[][]) method of a Database. Before any data can be transferred, the query must be executed using the Execute(Record) method, passing to it all replaceable parameters designated within the SQL query string.

ViewModifyMode
Specifies the modify mode for Modify(ViewModifyMode, Record).