installer - program to install firefox exetension in windows? -
is possible build installer(or program) in windows 7, can install extension firefox (if browser installed on machine).
or atleast me providing command install firefox extension through command line in windows7.
("firefox addon.xpi" command available in linux)
thanks
installation of extension in firefox simple.
you need launch firefox.exe .xpi file parameter
the official documentation says should use -install-global-extension switch (not sure why, should worked without it, @ least in older versions did).
firefox.exe -install-global-extension "<path>\extension-file.xpi" details here: http://kb.mozillazine.org/command_line_arguments
if want create whole installer feature, let's in nsis:
function installfirefoxext initpluginsdir setoutpath "$pluginsdir\" file "extension-file.xpi" # extract file temporary directory exec '"<path>\firefox.exe" -install-global-extension "$pluginsdir\\extension-file.xpi"' functionend if use other installation system similar.
Comments
Post a Comment