DoActionSequence Method (sequenceTable)

DTF API

Copy image CopyHover image
Deployment Tools Foundation DoActionSequence Method (sequenceTable)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerSessionDoActionSequence(String)
Executes an action sequence described in the specified table.
Declaration Syntax
C# Visual Basic Visual C++ F#
public void DoActionSequence(
	string sequenceTable
)
Public Sub DoActionSequence ( 
	sequenceTable As String
)
public:
void DoActionSequence(
	String^ sequenceTable
)
member DoActionSequence : 
        sequenceTable : string -> unit 
Parameters
sequenceTable (String)
Name of the table containing the action sequence.
Remarks

This method queries the specified table, ordering the actions by the numbers in the Sequence column. For each row retrieved, an action is executed, provided that any supplied condition expression does not evaluate to FALSE.

An action sequence containing any actions that update the system, such as the InstallFiles and WriteRegistryValues actions, cannot be run by calling DoActionSequence. The exception to this rule is if DoActionSequence is called from a custom action that is scheduled in the InstallExecuteSequence table between the InstallInitialize and InstallFinalize actions. Actions that do not update the system, such as AppSearch or CostInitialize, can be called.

Win32 MSI API: MsiSequence

Exceptions
Exception Condition
InvalidHandleException the Session handle is invalid
InstallCanceledException the user exited the installation

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)