how to install .xpi extension through cmd on windows in firefox
i need steps to install .xpi extension through cmd on windows in firefox
所有回复 (4)
thanks a lot..but is till face an issue..i have an xpi file which is used to install the extension..i am using the following command "C:\Program Files\Mozilla Firefox\firefox.exe" -install-global-extension "C:\Programs Files\Nessplus Messenger\start-firefox.xpi" but this command is not installing my xpi file, it is just opening up the firefox.
Please help!
Is -install-global-extension still valid or has it been deprecated ?
- see https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options?redirectlocale=en-US&redirectslug=Command_Line_Options#Add-ons
- http://kb.mozillazine.org/Installing_extensions#Global_installation
- and the Firefox 4 changes
https://developer.mozilla.org/en-US/docs/Extensions/Updating_extensions_for_Firefox_4#XPI_unpacking
Firefox 4 no longer extracts XPIs when installing extensions. It just places the XPI file in the user profile, and then reads the chrome files and others directly out of the XPI.
If your .xpi is not from Mozilla addons I guess we may not be sure what it is intended to do, or what version of Firefox it was designed for.
由John99于
Note that you need to rename the extension and change the file part to the ID of the extension (GUID or email) as can be found in the install.rdf file in the XPI file if you drop the extension in an extensions folder.