fritz001 Posted January 30, 2010 Share Posted January 30, 2010 maybe someone might be interestedas described here::: Disable install-global-extensionso the only option to install .XPI is to copy them to extension folder and when lunch Firefox it will detect and install them... but extension is a subfolder of Profile which is something like that XXXXX.default ( where xxx is random)so so far so good.... so here is an silent install doesn't matter what is the name of profile folder:@ECHO OFFsetlocal EnableDelayedExpansionECHO."!programfiles!\Mozilla Firefox\firefox.exe" -createprofile default for /f "delims=" %%i in ("!appdata!\Mozilla\Firefox\Profiles\*.default") do set path1=%%~pimkdir "!path1!\extensions\"copy "*.xpi" "!path1!\extensions\" P.S pay attention :: EVEN IFYOU CHOOSE TO CREATE PROFILE name LIKE "!programfiles!\Mozilla Firefox\firefox.exe" -createprofile %username% THE PROFILE FOLDER will be XXXX.%username%From my point of view it's an easy way to install firefox addons and it's working for 3.XX Link to comment Share on other sites More sharing options...
ckislam Posted January 31, 2010 Share Posted January 31, 2010 This method is not silent. as you still have to confirm installation when firefox starts.. it is the same as passing your xpi to firefox as the first parameter."%ProgramFiles%\Mozilla Firefox\Firefox.exe" anyaddon.xpihave a look here, maybe it helps: http://www.msfn.org/board/index.php?showto...mp;#entry906191 Link to comment Share on other sites More sharing options...
Chester^ Posted February 8, 2010 Share Posted February 8, 2010 (edited) Hey thereI'm trying to make this script of yours to work with xcopy. reason: i make a full backup of Firefox addons and other settings with FEBE and just extract the backup file's to the xxxxx.default dir.i find it easier also it saves all settings of addons and other.this is the code: setlocal EnableDelayedExpansion"!programfiles!\Mozilla Firefox\firefox.exe" -createprofile defaultfor /f "delims=" %%i in ("!appdata!\Mozilla\Firefox\Profiles\*.default") do set path1=%%~pixcopy %systemdrive%\install\firefoxadd "!path1!" /e /i /hproblem is it copys everything in the profiles\* folder, not in profiles\xxxxx.default\*any idea whats wrong? Thanks! Edited February 8, 2010 by Chester^ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now