Auto enable add ons when deploying Thunderbird?

391 views
Skip to first unread message

Tim Noakes

unread,
Mar 26, 2012, 8:50:59 PM3/26/12
to tb-ent...@mozilla.org
Hi all,

I am looking to roll out Thunderbird 10.3esr to our enterprise but have
run in to a bit or trouble with extensions.
I am creating MSI's which place the extension in "C:\Program
Files\Mozilla Thunderbird\extensions\<extension-id>".
This works fine except the user is prompted about whether they want to
enable the extension or not the next time they start up Thunderbird.
Is there any way to auto-enable any extensions placed in the above
directory?

I've tried listing the extension under the setting
"extensions.enabledAddons" but it made no difference.
I'm guessing I may have to do something with the extensions.sqlite file
in the user profile to enable this but this would make things quite messy.
Does anyone know of an easy way around this?

Thanks,
Tim

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

Ernesto Gonzalez-Benitez

unread,
Mar 27, 2012, 3:04:19 AM3/27/12
to tb-ent...@mozilla.org
On 27.03.2012 02:50, Tim Noakes wrote:
> Hi all,
>
> I am looking to roll out Thunderbird 10.3esr to our enterprise but have
> run in to a bit or trouble with extensions.
> I am creating MSI's which place the extension in "C:\Program
> Files\Mozilla Thunderbird\extensions\<extension-id>".
> This works fine except the user is prompted about whether they want to
> enable the extension or not the next time they start up Thunderbird.
> Is there any way to auto-enable any extensions placed in the above
> directory?
>
> I've tried listing the extension under the setting
> "extensions.enabledAddons" but it made no difference.
> I'm guessing I may have to do something with the extensions.sqlite file
> in the user profile to enable this but this would make things quite messy.
> Does anyone know of an easy way around this?
>

Hi Tim

I am in the same situation. I have as well a MSI and want to deploy
extensions. I am testing right now my package with extensions
(Lightning, QuickLocale Switcher and Norwegian Language Packs).

I am using the setting "extensions.autoDisableScopes" with the value 11.
And that means that all install locations are disabled except the one
"Installed and owned by Firefox/Thunderbird" which happens to be be
%programfiles%\Mozilla Thunderbird\Extensions. Maybe this should be
documented more explicitly.

So far this setting works for me.

I can recommend you to have a look at this:
https://developer.mozilla.org/en/Installing_extensions

And this thread:
http://forums.mozillazine.org/viewtopic.php?p=11434583#p11434583

Regards,

Ernesto.

--
Ernesto González
Universitetet i Oslo
USIT/SAS/LIPK
http://www.usit.uio.no/sas/lipk/

Reply all
Reply to author
Forward
0 new messages