Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

XPInstall API Reference:Install Object:Methods:logComment

logComment

Adds a comment line to the installation log.

Method of

Install object

Syntax

int logComment( String aComment );

Parameters

The sole input parameter is a string whose value will be written to the log during the installation process.

Returns

An integer error code. For a list of possible values, see Return Codes.

Description

The install log is created in the product directory by default (where the browser executable is) if it can be, and if the installation doesn't have proper permission, the install log is written to the user's profile directory. Respectively, these directories correspond to the "Program" and "Current User" keywords for the getFolder method.

Document Tags and Contributors

 Last updated by: Anonymous,