Used on Windows only to do some work from a special process that gets created with elevated privileges.
1.0
28
Introduced
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"] .getService(Components.interfaces.nsIWinAppHelper);
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 |
Attributes
Attribute | Type | Description |
userCanElevate | boolean | Read only. Returns true only if all the following conditions are all true at once:
Otherwise it returns false. |
Methods
Obsolete since Gecko 1.9 (Firefox 3)
fixReg()
Invokes helper.exe
with the /fixreg
parameter. Note that this parameter was never actually supported.
void fixReg();
Parameters
None.
Obsolete since Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0)
postUpdate()
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 );
Parameters
logFile
The file to use for the uninstallation log. The path is passed tohelper.exe
as the/uninstalllog
parameter.