views:

559

answers:

2

How can I install a Firefox addon via nsis installer?

When I call Firefox with the .xpi extension it doesn't work and xpi extensions are not associated with Firefox either.

If I drop it to "C:\Program Files\Mozilla Firefox\extensions" then it tries to install every single time a user opened the Firefox. Never deletes the original xpi (potentially due to the Vista UAC)

+1  A: 

By using the correct command line parameter :)

firefox -install-global-extension c:\extension.xpi

Refer documentation

sascha
A: 

Hhow to find the location for firefox.exe ? As on my PC in dos firfox is unknown command name

suprit chaudhary
That's not an answer, please ask your own question.
Joachim Sauer