Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Silent/handsfree installation of plugin using .XPI to Enterprise

303 views
Skip to first unread message

wilson...@gmail.com

unread,
May 25, 2016, 1:24:04 PM5/25/16
to mozilla-sup...@lists.mozilla.org
Hello,

I have been given a .xpi to deploy to our users (5k devices).
It seems the method I had previously used is now depreciated (firefox.exe -install-global-extension <path to XPI>)

I have followed walkthroughs at these locations to find a silent deployment method:
https://developer.mozilla.org/en-US/Firefox/Enterprise_deployment
https://developer.mozilla.org/en-US/docs/Archive/Mozilla/Adding_extensions_using_the_Windows_registry
http://stackoverflow.com/questions/33486545/install-firefox-41-extension-silently

I have added to user.js:
user_pref("extensions.shownSelectionUI", true);
user_pref("extensions.autoDisableScopes", 0);

and to channel-pref.js:

pref("extensions.enabledScopes", "0");
user_pref("extensions.autoDisableScopes", 0);

and dropping the .xpi into %appdata%\Mozilla\Extensions
also %appdata%\Mozilla\Firefox\Profiles\<profile name>\extensions

This has gotten Firefox to recognize the plugin, however, Firefox still prompts for user interaction on next launch, stating:
"Another program on your computer would like to modify Firefox with the following Add-On"
There is a checkbox and continue button. If the user does not click the checkbox before clicking Continue, the addon is not enabled. I do not have faith my users will properly enable the plugin.

I require a way around this prompt, and would appreciate any insight.

Info:
Windows 7 Enterprise
GPO/AD environment
Firefox 46
The plugin does not exist in the Plugin store

Many thanks for any clues/hints

Brian

unread,
May 25, 2016, 2:32:18 PM5/25/16
to mozilla-sup...@lists.mozilla.org
Refreshing to see an enterprise guy in this group. It looks like you have touched upon all the techniques I
have utilized in the past, but I have not done this recently.

Have you explored the subscription, Mozilla Enterprise Working Group mailing list and the list archives? See:

https://mail.mozilla.org/listinfo/enterprise

If you find an answer, would you mind coming back and posting what you find?

WaltS48

unread,
May 25, 2016, 3:30:51 PM5/25/16
to mozilla-sup...@lists.mozilla.org
You probably would have better results asking on
<https://discourse.mozilla-community.org/c/add-ons/add-on-support>.

--
Linux Mint 17.3
Go Pens! Go Bucs!
Go Thunderbirds! <http://pghthunderbirds.com/>
Coexist · Understanding Across Divides <https://www.coexist.org/>

wilson...@gmail.com

unread,
May 25, 2016, 3:53:35 PM5/25/16
to mozilla-sup...@lists.mozilla.org
I'll post in both of those. Thanks.
Also threw it at reddit.com/r/sysadmin

Just a sceptic, I guess

unread,
May 27, 2016, 2:29:48 AM5/27/16
to mozilla-sup...@lists.mozilla.org
Someone claiming to be "wilson...@gmail.com" wrote:

> Firefox still prompts for user interaction on next launch, stating:
> "Another program on your computer would like to modify Firefox with the
> following Add-On"

Isn't that called basic malware protection?

> There is a checkbox and continue button. If the user does not click the checkbox before clicking Continue, the addon is not enabled. I do not have faith my users will properly enable the plugin. I require a way around this prompt, and would appreciate any insight.

For some reason, I always see posts like this as saying:

"I want to install (something legit-sounding, even if it isn't)
onto the computer of (someone I know, honest, would I lie?) without
their knowledge or explicit consent, because, umm, err, they might
do it wrong. How do I get around the system's built-in security?
Mwahahahaha!!! Oops, I mean... Many thanks for any clues/hints."

Is it just me?

0 new messages