extensions for all users of Firefox

3,028 views
Skip to first unread message

Florent Lagoda

unread,
Oct 24, 2013, 2:54:42 AM10/24/13
to enter...@mozilla.org, tb-ent...@mozilla.org
Hello,
I want to add extensions for all users of Mozilla Firefox.
I try to add the *.xpi in C:\Program Files\Mozilla Firefox\extensions\
but it doesn't work.

Is there a solution for this ?

Regards.

--
Florent LAGODA <florent.lagoda at uhb.fr>
Université Rennes 2
--

_______________________________________________
tb-enterprise mailing list
tb-ent...@mozilla.org
https://mail.mozilla.org/listinfo/tb-enterprise

Timo Pietilä

unread,
Oct 24, 2013, 3:14:53 AM10/24/13
to tb-ent...@mozilla.org
On 24.10.2013 9:54, Florent Lagoda wrote:
> Hello,
> I want to add extensions for all users of Mozilla Firefox.
> I try to add the *.xpi in C:\Program Files\Mozilla Firefox\extensions\
> but it doesn't work.
>
> Is there a solution for this ?

Try c:\program files\mozilla firefox\distribution\extensions

That is how TB ESR distributes testpilot extension to users. Note that
this goes to users profile and as such isn't really global extension
which you have control after it has been installed.

I have no idea why ESR-version of TB includes extensions while standard
user version doesn't (24.0.x doesn't seem to have this same problem).

Timo Pietilä

Florent Lagoda

unread,
Oct 24, 2013, 4:24:15 AM10/24/13
to Warren Stone, enter...@mozilla.org, tb-ent...@mozilla.org, timo.p...@helsinki.fi
Le 24/10/2013 09:01, Warren Stone a écrit :
> Hi Florent,
>
> If you're doing a custom install and editing the Mozilla.cfg then add:
>
> //enable 3rd Party extensions
> pref("extensions.autoDisableScopes", 0);
>
> This allows 3rd party plugins to be used for all users.
>
> Then extract your XPI (basically a zip file) and place folder in C:\Program Files\Mozilla Firefox\extensions\
Thanks.
But it doesn't work :(
>
> Regards,
> Warren.
>
> -----Original Message-----
> From: Enterprise [mailto:enterpris...@mozilla.org] On Behalf Of Florent Lagoda
> Sent: 24 October 2013 07:55
> To: enter...@mozilla.org; tb-ent...@mozilla.org
> Subject: [Mozilla Enterprise] extensions for all users of Firefox
>
> Hello,
> I want to add extensions for all users of Mozilla Firefox.
> I try to add the *.xpi in C:\Program Files\Mozilla Firefox\extensions\ but it doesn't work.
>
> Is there a solution for this ?
>
> Regards.
>
> --
> Florent LAGODA <florent.lagoda at uhb.fr> Université Rennes 2
> --
>
> _______________________________________________
> Enterprise mailing list
> Enter...@mozilla.org
> https://mail.mozilla.org/listinfo/enterprise
>
> To unsubscribe from this list, please visit https://mail.mozilla.org/listinfo/enterprise or send an email to enterpris...@mozilla.org with a subject of "unsubscribe"

Le 24/10/2013 09:14, Timo Pietilä a écrit :
> On 24.10.2013 9:54, Florent Lagoda wrote:
>> Hello,
>> I want to add extensions for all users of Mozilla Firefox.
>> I try to add the *.xpi in C:\Program Files\Mozilla Firefox\extensions\
>> but it doesn't work.
>>
>> Is there a solution for this ?
>
> Try c:\program files\mozilla firefox\distribution\extensions
>
> That is how TB ESR distributes testpilot extension to users. Note that
> this goes to users profile and as such isn't really global extension
> which you have control after it has been installed.
>
> I have no idea why ESR-version of TB includes extensions while
> standard user version doesn't (24.0.x doesn't seem to have this same
> problem).
Thanks.
But it doesn't work :(
>
> Timo Pietilä
> _______________________________________________
> tb-enterprise mailing list
> tb-ent...@mozilla.org
> https://mail.mozilla.org/listinfo/tb-enterprise


--
Florent LAGODA <florent.lagoda at uhb.fr>
Pôle Proximité
Direction du Système d'Information (D.S.I)
Université Rennes 2 - Haute Bretagne
Tel: 02.99.14.13.68

Daniel Berteaud

unread,
Oct 24, 2013, 4:46:28 AM10/24/13
to Florent Lagoda, enter...@mozilla.org, tb-ent...@mozilla.org
Le jeudi 24 octobre 2013 à 08:54 +0200, Florent Lagoda a écrit :
> Hello,
> I want to add extensions for all users of Mozilla Firefox.
> I try to add the *.xpi in C:\Program Files\Mozilla Firefox\extensions\
> but it doesn't work.
>
> Is there a solution for this ?

I extract xpi in C:\Program Files\Mozilla Firefox\distribution\bundles

(one folder per extension, name doesn't matter).

Working with all versions of Firefox (and Thunderbird) I tried so far.
The user isn't even bothered to accept installation.

Regards, Daniel

>
> Regards.
>

--
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 15 32
Web : http://www.firewall-services.com

Timo Pietilä

unread,
Oct 24, 2013, 5:28:37 AM10/24/13
to tb-ent...@mozilla.org
On 24.10.2013 11:24, Florent Lagoda wrote:

> Le 24/10/2013 09:14, Timo Pietilä a écrit :
>> On 24.10.2013 9:54, Florent Lagoda wrote:
>>> Hello,
>>> I want to add extensions for all users of Mozilla Firefox.
>>> I try to add the *.xpi in C:\Program Files\Mozilla Firefox\extensions\
>>> but it doesn't work.
>>>
>>> Is there a solution for this ?
>>
>> Try c:\program files\mozilla firefox\distribution\extensions

> Thanks.
> But it doesn't work :(

It should work. What is your exact procedure you did with that? Does it
gave you some error?

joakimsen

unread,
Oct 25, 2013, 12:40:34 AM10/25/13
to Warren Stone, Florent Lagoda, enter...@mozilla.org, tb-ent...@mozilla.org
This is not consistent. Some extensions need the .xpi file itself placed,
some extensions need it extracted in a directory with the name being the
GUID of the extension and others just name it something like
"de...@dictionaries.addons.mozilla.org". If this is not correct the
extension will not load. For e.g. if I rename the dictionary directory to
"german" it no longer shows in about:addons but if I rename it back it shows
up again.

So what I suggest is that you install the extension to a profile and then
copy what is installed.

> -----Original Message-----
> From: Enterprise [mailto:enterpris...@mozilla.org] On Behalf Of
> Warren Stone
> Sent: Thursday, October 24, 2013 3:02 AM
> To: Florent Lagoda; enter...@mozilla.org; tb-ent...@mozilla.org
> Subject: Re: [Mozilla Enterprise] extensions for all users of Firefox
>
> Hi Florent,
>
> If you're doing a custom install and editing the Mozilla.cfg then add:
>
> //enable 3rd Party extensions
> pref("extensions.autoDisableScopes", 0);
>
> This allows 3rd party plugins to be used for all users.
>
> Then extract your XPI (basically a zip file) and place folder in
C:\Program
> Files\Mozilla Firefox\extensions\
>
> Regards,
> Warren.
>
> -----Original Message-----
> From: Enterprise [mailto:enterpris...@mozilla.org] On Behalf Of
> Florent Lagoda
> Sent: 24 October 2013 07:55
> To: enter...@mozilla.org; tb-ent...@mozilla.org
> Subject: [Mozilla Enterprise] extensions for all users of Firefox
>
> Hello,
> I want to add extensions for all users of Mozilla Firefox.
> I try to add the *.xpi in C:\Program Files\Mozilla Firefox\extensions\ but
it
> doesn't work.
>
> Is there a solution for this ?
>
> Regards.
>
> --
> Florent LAGODA <florent.lagoda at uhb.fr> Université Rennes 2
> --
>
> _______________________________________________
> Enterprise mailing list
> Enter...@mozilla.org
> https://mail.mozilla.org/listinfo/enterprise
>
> To unsubscribe from this list, please visit
> https://mail.mozilla.org/listinfo/enterprise or send an email to
enterprise-
> req...@mozilla.org with a subject of "unsubscribe"
> _______________________________________________
> Enterprise mailing list
> Enter...@mozilla.org
> https://mail.mozilla.org/listinfo/enterprise
>
> To unsubscribe from this list, please visit
> https://mail.mozilla.org/listinfo/enterprise or send an email to
enterprise-
> req...@mozilla.org with a subject of "unsubscribe"

Warren Stone

unread,
Oct 24, 2013, 4:44:29 AM10/24/13
to Florent Lagoda, enter...@mozilla.org, tb-ent...@mozilla.org, timo.p...@helsinki.fi
Hi Florent,

Are you creating a admin install and running setup from there?
If so, should be able to copy xpi to Mozilla_FirefoxESR (or where you admin install is\core\extensions

We run a script that installs and then copies the config files

Eg.

"%~dp0setup.exe" -ms

REM Install 64-bit customisations
if exist "%ProgramFiles(x86)%\Mozilla Firefox\" copy /Y "%~dp0override.ini" "%ProgramFiles(x86)%\Mozilla Firefox\"
if exist "%ProgramFiles(x86)%\Mozilla Firefox\" copy /Y "%~dp0mozilla.cfg" "%ProgramFiles(x86)%\Mozilla Firefox\"
if exist "%ProgramFiles(x86)%\Mozilla Firefox\" copy /Y "%~dp0local-settings.js" "%ProgramFiles(x86)%\Mozilla Firefox\defaults\pref"

Warren Stone

unread,
Oct 24, 2013, 3:01:42 AM10/24/13
to Florent Lagoda, enter...@mozilla.org, tb-ent...@mozilla.org
Hi Florent,

If you're doing a custom install and editing the Mozilla.cfg then add:

//enable 3rd Party extensions
pref("extensions.autoDisableScopes", 0);

This allows 3rd party plugins to be used for all users.

Then extract your XPI (basically a zip file) and place folder in C:\Program Files\Mozilla Firefox\extensions\

Regards,
Warren.

-----Original Message-----
From: Enterprise [mailto:enterpris...@mozilla.org] On Behalf Of Florent Lagoda
Sent: 24 October 2013 07:55
To: enter...@mozilla.org; tb-ent...@mozilla.org
Subject: [Mozilla Enterprise] extensions for all users of Firefox

Hello,
I want to add extensions for all users of Mozilla Firefox.
I try to add the *.xpi in C:\Program Files\Mozilla Firefox\extensions\ but it doesn't work.

Is there a solution for this ?

Regards.

--
Florent LAGODA <florent.lagoda at uhb.fr> Université Rennes 2
--

_______________________________________________
Enterprise mailing list
Enter...@mozilla.org
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit https://mail.mozilla.org/listinfo/enterprise or send an email to enterpris...@mozilla.org with a subject of "unsubscribe"

Jacques AMAURY

unread,
Oct 24, 2013, 3:43:09 AM10/24/13
to tb-ent...@mozilla.org
Hello,

You can use this extension : add-on Collector
Bye

Jacques AMAURY
Service Informatique

Fédération Française de Natation
14, rue Scandicci - 93508 Pantin Cedex
Tél. : +33 (0)1.41.83.87.63 - FAX : +33 (0)1.41.83.87.70
14ème étage - bureau n° 3
Suivez-nous sur facebook

Pensez environnement !
N'imprimez ce mail que si c'est vraiment nécessaire



Le 24/10/2013 09:14, Timo Pietilä a écrit :

Florent Lagoda

unread,
Oct 30, 2013, 5:56:12 AM10/30/13
to tb-ent...@mozilla.org, enter...@mozilla.org
Hi,
I have success to add extensions to default for all users of Mozilla
Firefox.
I have place extensions in C:\Program Files\ Mozilla
Firefox\browser\extensions
But all extensions are disabled by default.

In my cfg file i try :

-------------------------------------------
pref("extensions.installDistroAddons", true);
pref("extensions.enabledScopes", 13);
pref("extensions.autoDisableScopes", 2);

--------------------------------------------------

or

-------------------------------------------
pref("extensions.enabledScopes", 4);
pref("extensions.autoDisableScopes", 0);
-------------------------------------------

But it doesn't work.
Have you an idea ?

Regards.

--
Florent LAGODA <florent.lagoda at uhb.fr>
Université Rennes 2 - Haute Bretagne
--

MECHARLE Laurent

unread,
Oct 30, 2013, 3:51:33 PM10/30/13
to tb-ent...@mozilla.org


Hi,
I have success to add extensions to default for all users of Mozilla
Firefox.
I have place extensions in C:\Program Files\ Mozilla
Firefox\browser\extensions
But all extensions are disabled by default.

In my cfg file i try :

-------------------------------------------
pref("extensions.installDistroAddons", true);
pref("extensions.enabledScopes", 13);
pref("extensions.autoDisableScopes", 2);

--------------------------------------------------

or

-------------------------------------------
pref("extensions.enabledScopes", 4);
pref("extensions.autoDisableScopes", 0);
-------------------------------------------

But it doesn't work.
Have you an idea ?

Regards.
Hi, Florent
By default if you add extension manually TB and FF make it without activation for securrity reason.

With Thunderbird I found one issue by coding with purebasic the activation of extensions by change status by client SqlLite for modify the extensions.sqlite file on your profile.

For example my purebasic code
UseSQLiteDatabase()
  If OpenDatabase(0,PATHProfile+"\extensions.sqlite","","")
    Debug "Database found"
    DatabaseQuery(0, "SELECT * FROM addon")
   
    DatabaseUpdate(0,"UPDATE addon SET descriptor="+Chr(34)+PATHProfile+"extensions\dgac-...@nomail.xpi"+Chr(34)+" WHERE id='dgac-utils@nomail'")
    DatabaseUpdate(0,"UPDATE addon SET descriptor="+Chr(34)+PATHProfile+"extensions\convergenc...@nomail.xpi"+Chr(34)+" WHERE id='convergence-autoreply@nomail'")
    DatabaseUpdate(0,"UPDATE addon SET descriptor="+Chr(34)+PATHProfile+"extensions\{9C463B6A-CCBE-11DB-97FC-FBC955D89593}"+Chr(34)+" WHERE id='{9C463B6A-CCBE-11DB-97FC-FBC955D89593}'")
    DatabaseUpdate(0,"UPDATE addon SET descriptor="+Chr(34)+PATHProfile+"extensions\{c1ac4523-76c2-9995-adbd-d93bf5141bea}.xpi"+Chr(34)+" WHERE id='{c1ac4523-76c2-9995-adbd-d93bf5141bea}'")
    DatabaseUpdate(0,"UPDATE addon SET descriptor="+Chr(34)+PATHProfile+"extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}"+Chr(34)+" WHERE id='{e2fda1a4-762b-4020-b5ad-a41df1933103}'")
    DatabaseUpdate(0,"UPDATE addon SET descriptor="+Chr(34)+PATHProfile+"extensions\fix-open-bad-m...@nomail.xpi"+Chr(34)+" WHERE id='fix-open-bad-mime-attachments@nomail'")
    DatabaseUpdate(0,"UPDATE addon SET descriptor="+Chr(34)+PATHProfile+"extensions\ldap-Grou...@nomail.xpi"+Chr(34)+" WHERE id='ldap-Groups-members@nomail'")
    DatabaseUpdate(0,"UPDATE addon SET descriptor="+Chr(34)+PATHProfile+"extensions\ldap-Grou...@nomail.xpi"+Chr(34)+" WHERE id='ldap-Groups-members@nomail'")
    DatabaseUpdate(0,"UPDATE addon SET active=1")
    DatabaseUpdate(0,"UPDATE addon SET visible=1")
    DatabaseUpdate(0,"UPDATE addon SET isForeignInstall=1")
    DatabaseUpdate(0,"UPDATE addon SET userDisabled=0")
    DatabaseUpdate(0,"UPDATE addon SET isForeignInstall=0")
    DatabaseUpdate(0,"UPDATE addon SET strictCompatibility=0")
  EndIf
  CloseDatabase(0)

You can see any entries with a sqlite explorer for example https://addons.mozilla.org/fr/firefox/addon/sqlite-manager/?src=search
I hope this thread could be help you.
Regards

laurent_mecharle.vcf
Reply all
Reply to author
Forward
0 new messages