7

I have an extension for Thunderbird that I'd like to install automatically from a script - since I have to do it on all our workstations - is there a way to do that?
Thanks!

(Ubuntu 9.04)

4 Answers 4

8

Taken from Mozillazine...

Generic Install

firefox.exe -install-global-extension extension.xpi

Specific Profile

firefox.exe -profile "path to profile folder" -install-global-extension extension.xpi

Batch Install

for %%e in ("path to extensions\*.xpi") do "firefox.exe" -install-global-extension "%%e"
for %%e in ("path to themes\*.jar") do "firefox.exe" -install-global-theme "%%e"

Someone in the thread asserts they work for Thunderbird in the same manner.

4

Check this post out, might help you.

2
  • Ahh, sorry just realized my answer is the same exact content as what you linked. +rep
    – WerkkreW
    May 18, 2009 at 15:56
  • The problem with link-only answers...: The requested topic does not exist. Now here but probably extremely old.
    – Pablo A
    Jan 9, 2020 at 19:50
4

The command line option -install-global-extension has been deprecated as of Gecko 1.9.2, FF 3.6.x, TB 3.1.x.

Mozilla now suggest to:

Copy the .xpi file into the <installation_directory>\extensions folder.

2

Here http://bernaerts.dyndns.org/linux/74-ubuntu/271-ubuntu-firefox-thunderbird-addon-commandline is mozilla-extension-manager bash script that can automate downloading xpi file, installing and removing Mozilla Firefox extensions (local or globally) via cli (command line) commands without gui.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.