MSI.DoAction

boolean MSI.DoAction ( 

number  hInstall,

string  Action )

Description

Calls the MsiDoAction function that executes a built-in action, custom action, or user-interface wizard action.

Parameters

hInstall

(number) The handle to the install.

Note:  _hInstall is the default for this parameter. See Global Variables for more information.

Action

(string) The action to execute. If you leave this blank it will attempt to run the default defined as "INSTALL".

Returns

(boolean)  Returns true if the action succeeds, or false if it failed. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions