OverviewExamples
SetupData.WriteToLogFile ( |
boolean AddTimestamp = true ) |
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.
(string) The text you want to output to the log file.
(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. |
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions