XPInstall API Reference:Install Object:Methods:logComment


Adds a comment line to the installation log.

Method of

Install object


int logComment( String aComment );


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


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


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,