Vanwege onderhoudswerkzaamheden die uw ervaring zouden moeten verbeteren, heeft deze website beperkte functionaliteit. Als een artikel uw probleem niet verhelpt en u een vraag wilt stellen, kan onze ondersteuningsgemeenschap u helpen in @FirefoxSupport op Twitter en /r/firefox op Reddit.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Automatic addons installation from command lind

  • 1 antwoord
  • 1 heeft dit probleem
  • 1 weergave
  • Laatste antwoord van Matt

more options

Hi, Due to many system installation and changes I'm forced to setup Thunderbird. Is there a way to use command line to install addons. In Firefox I used downloaded addons as xpi which then I opened in Firefox. This work partially as I needed to click install button for each one. The same approach in Thunderbird failed. Copying xpi without name change to extensions folder also doesn't work. Only when I changed xpi to em:id from install.rdf TB noticed this addon and ask for installation during next startup.

Is this only solution? Do I have to extract em:id, rename xpi, copy it to extension and restart? Can I skip question for installation approval? Like always yes?

Hi, Due to many system installation and changes I'm forced to setup Thunderbird. Is there a way to use command line to install addons. In Firefox I used downloaded addons as xpi which then I opened in Firefox. This work partially as I needed to click install button for each one. The same approach in Thunderbird failed. Copying xpi without name change to extensions folder also doesn't work. Only when I changed xpi to em:id from install.rdf TB noticed this addon and ask for installation during next startup. Is this only solution? Do I have to extract em:id, rename xpi, copy it to extension and restart? Can I skip question for installation approval? Like always yes?

Alle antwoorden (1)

more options

are you trying to do this in a corporate environment or something? It is the only reason I can see for wanting to install add-ons using a more complicated method than dropping the XPI file into the add-on manager with a mouse.

The MDN does not appear to include any add-on installation options since Geko 1.9. See https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options


perhaps you could use javascript https://developer.mozilla.org/en-US/docs/Web/API/InstallTrigger