X
Tap here to go to the mobile version of the site.

Support Forum

Install extension silently in Firefox 41

Posted

I'm making automatic installer for special Firefox extensions. I have read couple of articles about that, but none of the described methods are not helped. What I tried to do:

- Placed .xpi file and unpacked unpacked extension directory in %FF_DIR%\browser\extensions
- Placed .xpi file and unpacked unpacked extension directory in %FF_DIR%\extensions
- Placed unpacked extension directory in another directory and added record in registry (`HKLM\Software\Mozilla\Firefox\extensions`, key is extension id and value is full path to unpacked extension)

In all ways name of unpacked extension directory was:

- Random name
- ID from install.rdf #1 (`{ec8030f7-c20a-464f-9b0e-13a3a9e97384}` for example)
- ID from install.rdf #2 (`prism@developer.mozilla.org` for example)  

And, as i said, all methods don't give me expectable result. Firefox don't show extensions in list and don't show any notification. How can i solve it? What actual method using in current version of FF? Target browser is Firefox 41, system - Windows 7 x64 Thanks!

I'm making automatic installer for special Firefox extensions. I have read couple of articles about that, but none of the described methods are not helped. What I tried to do: - Placed .xpi file and unpacked unpacked extension directory in %FF_DIR%\browser\extensions - Placed .xpi file and unpacked unpacked extension directory in %FF_DIR%\extensions - Placed unpacked extension directory in another directory and added record in registry (`HKLM\Software\Mozilla\Firefox\extensions`, key is extension id and value is full path to unpacked extension) In all ways name of unpacked extension directory was: - Random name - ID from install.rdf #1 (`{ec8030f7-c20a-464f-9b0e-13a3a9e97384}` for example) - ID from install.rdf #2 (`prism@developer.mozilla.org` for example) And, as i said, all methods don't give me expectable result. Firefox don't show extensions in list and don't show any notification. How can i solve it? What actual method using in current version of FF? Target browser is Firefox 41, system - Windows 7 x64 Thanks!

Chosen solution

See also:

{ec8030f7-c20a-464f-9b0e-13a3a9e97384} is the GUID of Firefox and not the ID of the extension, so make sure to use the ID of the extension under Description > id and not the 'id' listed under 'targetApplication' and surround a GUID with curly brackets and append the .xpi file extension.

  • {8A6C82A1-F6C9-481a-AAE7-C96444C9A754}.xpi
  • prism@developer.mozilla.org.xpi
Read this answer in context 1

Additional System Details

Installed Plug-ins

  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers
  • 5.1.20513.0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0

More Information

Sashoto Seeam 54 solutions 310 answers

Support Forum is for general problem. It will be better if you ask help in proper channel. As far as I know these are the valid and most proper channels for seeking help about addons:

Hope you will get help from these links.

Support Forum is for general problem. It will be better if you ask help in proper channel. As far as I know these are the valid and most proper channels for seeking help about addons: * Forum: https://discourse.mozilla-community.org/c/add-ons * Mailing list: dev-amo@lists.mozilla.org Hope you will get help from these links.
cor-el
  • Top 10 Contributor
  • Moderator
17470 solutions 157890 answers

Chosen Solution

See also:

{ec8030f7-c20a-464f-9b0e-13a3a9e97384} is the GUID of Firefox and not the ID of the extension, so make sure to use the ID of the extension under Description > id and not the 'id' listed under 'targetApplication' and surround a GUID with curly brackets and append the .xpi file extension.

  • {8A6C82A1-F6C9-481a-AAE7-C96444C9A754}.xpi
  • prism@developer.mozilla.org.xpi
See also: *https://developer.mozilla.org/en-US/docs/Adding_Extensions_using_the_Windows_Registry {ec8030f7-c20a-464f-9b0e-13a3a9e97384} is the GUID of Firefox and not the ID of the extension, so make sure to use the ID of the extension under Description > id and not the 'id' listed under 'targetApplication' and surround a GUID with curly brackets and append the .xpi file extension. * {8A6C82A1-F6C9-481a-AAE7-C96444C9A754}.xpi * prism@developer.mozilla.org.xpi

Question owner

cor-el said

See also: {ec8030f7-c20a-464f-9b0e-13a3a9e97384} is the GUID of Firefox and not the ID of the extension, so make sure to use the ID of the extension under Description > id and not the 'id' listed under 'targetApplication' and surround a GUID with curly brackets and append the .xpi file extension.
  • {8A6C82A1-F6C9-481a-AAE7-C96444C9A754}.xpi
  • prism@developer.mozilla.org.xpi

Thank you! In fact - I used an incorrect ID (both from "targetApplication"). Now I was able to install the plug-in by copying plugin directory to %FF_DIR%\browser\extensions.

''cor-el [[#answer-801157|said]]'' <blockquote> See also: *https://developer.mozilla.org/en-US/docs/Adding_Extensions_using_the_Windows_Registry {ec8030f7-c20a-464f-9b0e-13a3a9e97384} is the GUID of Firefox and not the ID of the extension, so make sure to use the ID of the extension under Description > id and not the 'id' listed under 'targetApplication' and surround a GUID with curly brackets and append the .xpi file extension. * {8A6C82A1-F6C9-481a-AAE7-C96444C9A754}.xpi * prism@developer.mozilla.org.xpi </blockquote> Thank you! In fact - I used an incorrect ID (both from "targetApplication"). Now I was able to install the plug-in by copying plugin directory to ''%FF_DIR%\browser\extensions''.

Modified by iRomul