Kapil
Kapil

Reputation: 572

Silent install of the firefox addon

I am trying to install a firefox xpi silently through an msi installer. I am doing so by the following method:

Unzip my xpi in some temp dir and copy all the contents of that to the %APPDATA%\Mozilla\Firefox\Profiles\xxxx.default\extensions\<uniqueid-for-my-addon>

I expected the addon to be available the next time my firefox opens, but I am not able to get it. Can someone tell me if there is more to be done for a silent install of firefox addons?

Kapil

Upvotes: 6

Views: 11762

Answers (2)

sdwilsh
sdwilsh

Reputation: 4682

You want to add your add-on via the windows registry.

Upvotes: 2

flpmor
flpmor

Reputation: 861

The key is the name of the folder you are placing inside the extensions folder, it has to be called as the extension id (which is defined inside the install.rdf file).

Also note that this will not be a completely silent install, the addon install dialog will warn the user the next time Firefox is started with that profile that a new extension has been installed.

Upvotes: 1

Related Questions