We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS


Used on Windows only to do some work from a special process that gets created with elevated privileges.
Gecko 1.8
Inherits from: nsISupports Last changed in Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0)

Implemented by: @mozilla.org/xre/app-info;1. To create an instance, use:

var xulAppInfo = Components.classes["@mozilla.org/xre/app-info;1"]

The nsIXULAppInfo and nsIXULRuntime interfaces are also implemented by "xre/app-info".

Method overview

void fixReg(); Obsolete since Gecko 1.9
void postUpdate(in nsILocalFile logFile); Obsolete since Gecko 1.9.2


Attribute Type Description
userCanElevate boolean

Read only. Returns true only if all the following conditions are all true at once:

  • The operating system is at least Windows Vista
  • User Account Control is enabled
  • The user is an Administrator
  • The application is not already running with elevated permissions

Otherwise it returns false.



Obsolete since Gecko 1.9 (Firefox 3)

Invokes helper.exe with the /fixreg parameter. Note that this parameter was never actually supported.

void fixReg();



Obsolete since Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0)

Invokes helper.exe with the /postupdate parameter. This updates the uninstallation log so that the application can be uninstalled correctly after an update.

void postUpdate(
  in nsILocalFile logFile

The file to use for the uninstallation log. The path is passed to helper.exe as the /uninstalllog parameter.

Document Tags and Contributors

Contributors to this page: Sheppy, Neil, trevorh
Last updated by: Sheppy,