Jump to content

Firefox 3.5.xx 3.6.xx addons install


fritz001

Recommended Posts

maybe someone might be interested

as described here:::

Disable install-global-extension

so 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 OFF

setlocal EnableDelayedExpansion

ECHO.

"!programfiles!\Mozilla Firefox\firefox.exe" -createprofile default

for /f "delims=" %%i in ("!appdata!\Mozilla\Firefox\Profiles\*.default") do set path1=%%~pi

mkdir "!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


  • 2 weeks later...

Hey there

I'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 default
for /f "delims=" %%i in ("!appdata!\Mozilla\Firefox\Profiles\*.default") do set path1=%%~pi
xcopy %systemdrive%\install\firefoxadd "!path1!" /e /i /h

problem is it copys everything in the profiles\* folder, not in profiles\xxxxx.default\*

any idea whats wrong?

Thanks!

Edited by Chester^
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...