Export (0) Print
Expand All

Session.Sequence method

The Sequence method of the Session object opens a query on the specified table, ordering the actions by the numbers in the Sequence column. For each row fetched, the DoAction method is called, provided that any supplied condition expression does not evaluate to False. Returns an enumeration msiDoActionStatusEnum, as described in the DoAction method.

Syntax


Session.Sequence(
  table
)

Parameters

table

Required string name of the table to use for sequencing.

Return value

This method does not return a value.

Remarks

This method is normally called internally by top-level actions.

An action sequence containing actions that update the system, such as the InstallFiles and WriteRegistryValues actions, cannot be run by calling the Sequence method. The exception to this rule is if the Sequence method 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.

Requirements

Version

Windows Installer 5.0 on Windows Server 2012, Windows 8, Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003 or Windows XP

DLL

Msi.dll

IID

IID_ISession is defined as 000C109E-0000-0000-C000-000000000046

 

 

Community Additions

ADD
Show:
© 2014 Microsoft