MSI.Log

boolean MSI.Log ( 

number  hInstall,

string  LogText )

Description

Logs a string of text to the installs log file.

Note: Logging to the MSI log file only works when the LuaScript is called from an execute sequence. This action will fail if it is called from a control event in the GUI.

Parameters

hInstall

(number) The handle to the installation.

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

LogText

(string) The string of text to write to the log file.

Returns

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

See also:  Related Actions