Install Firefox Add-ons for all Users
It is possible to install Firefox add-ons for all users that use a computer instead of installing them for every user separately. This is helpful if you are the computer guy in the family for instance and want everyone to have a basic set of extensions enabled that add functionality and security to the accounts.
The process of installing Firefox add-ons globally looks like the following. Download the xpi file instead of clicking on it which would install it directly. Once the add-on has been downloaded you use the following command at the run prompt (type Windows R): firefox -install-global-extension .
Let me give you an example: firefox -install-global-extension c:\extension.xpi. The add-on will be silently installed and is available normally afterwards in the Tools > Add-ons menu of Firefox. Only administrators may uninstall the add-on but it is working for all users who are running Firefox.
Update: Themes can also be installed globally in the browser. The command -install-global-theme is needed to do that, followed by the theme's path.
Update 2: As of Firefox 220.127.116.11, it is no longer possible to install extensions or themes globally from a network share. Only themes and extensions residing on the same local disk or mapped drives can be installed this way.
Update 3: The option to install extensions globally has been removed from all versions of the web browser starting with Firefox 3.6. Both the-install-global-extension and theÂ -install-global-theme command line parameters have been removed and are no longer available. The change happened with the update to Gecko 1.9.2, and not only affects the Firefox web browser but also other applications based on that core, including the Thunderbird email client.
Update 4: While the flags have been removed, it is still possible to install Firefox add-ons globally. You can check out this page on the Mozilla Developer portal which explains how you can add extensions globally using the Windows Registry.
- 32-bit Windows Registry Path:Â HKEY_LOCAL_MACHINE\Software\Mozilla\Firefox\Extensions
- 64-bit Windows Registry Path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla\Firefox\Extensions
- Create a new Registry key with a right-click on extensions.
- Name it as the ID of the extension. You find it by opening the xpi file using a program like 7-Zip, and loading install.rdf in a plain text editor.
- Copy the value of the em:id tag and use it as the name of the new Registry string.
- Double-click the new name and add the full path to the extension here, e.g. c:\myExtensions\
If an entry exists under the HKEY_Current_User and HKEY_Local_Machine then the one referenced under Current_User will be used.Advertisement