SetupData.WriteToLogFile

SetupData.WriteToLogFile ( 

string  Text,

boolean AddTimestamp = true )

Description

Writes a string of text to the install or uninstall log file.

Note: The text will be appended to the log file as-is. Line breaks (\r\n) are not automatically included.

Note: If the Create log file option in Project Settings is not set in the install, or the Create log file option in Uninstall Settings is not set in the uninstall, this action will not generate an error. Instead, it will simply have no effect.

Parameters

Text

(string) The text you want to output to the log file.

AddTimestamp

(boolean) Whether to prepend a time stamp to the Text. Choose from:

VALUE

DESCRIPTION

true

Prepend a time stamp to the text in the form [06/18/2004 13:17:48]. (Default)

false

Don't prepend a time stamp.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions