Installing an extension from a command line
I have a batch file to add extensions to Firefox. It worked fine before Win7. Now Firefox is launched but the extension isn't added. This is what I am using:
C:\Programs\Firefox\Firefox.exe -install-global-extension "C:\Dnload\9xAddons\FireFox Extensions\colorfultabs-4.1-fx+sm.xpi"
I'm using Firefox ver. 3.6.6 In Win7 Ultimate 32 bit or 64 bit With Administrator rights
The folders are correct: C:\Programs is a folder I created to resolve the issues with C:\Program Files.
Any ideas why it might not work?
Thanks,
Docfxit
This happened
Every time Firefox opened
== Before Win7
All Replies (2)
See this page: https://developer.mozilla.org/en/Command_Line_Options a little over half way down that page, under Add-ons
Gecko 1.9.2 note - that's Firefox 3.6 -install-global-extension and -install-global-theme have been removed from Gecko 1.9.2 and upwards.
"Depositing" an XPI file into the ~\Firefox\extensions\ folder when Firefox is closed still works to do a global installation. It will install that extension when each Profile is first launched. Now all you need to is to figure out how to "deposit" the XPI into that folder - I can't offer help with that, it's beyond my "pay grade".