[Mozilla Enterprise] Preinstall language packs
Canning, Charles
Charles.Canning at mercer.com
Mon Jul 22 13:55:24 UTC 2019
Hello,
Since version 38, we create a separate MSI installer that contains all of the desired languages\dictionaries. The XPI are extracted with the folder name matching the value of the node "//RDF/Description/em:id" from the install.rdf file (i.e. langpack-de at firefox.mozilla.org<mailto:langpack-de at firefox.mozilla.org>). All of the extracted folders are placed in a location of your choice referenced in the registry.
Firefox extension security is controlled by a scope that references areas that extensions can be installed from. You add the numbers together to get the desired value. The value itself is used in 2 Firefox settings, extensions.enabledScopes and extensions.autoDisableScopes. Both of these settings are set to 15 by default. Setting extensions.enabledScopes determines which scopes are allowed to install addons. Setting extensions.autoDisableScopes determines which scopes will disable the addon when it is installed, which generates the user "Allow" messages.
To bypass "Allow" messages for HKLM entries our Mozilla.cfg file contains:
//Enable addon install without prompt from HKLM registry only.
//Enables default addins\languages\dictionaries with install.
pref("extensions.autoDisableScopes", 7);
Finally, registry entries are created for each extension. The default extensions.enabledScopes setting (15) includes "8 Registry HKLM". Note the registry location varies for x32 and x64 Firefox versions. Since the location is HKLM and our users are not admins of their system, users cannot modify or add entries.
Example:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla\Firefox\Extensions]
"langpack-de at firefox.mozilla.org"="C:\\Program Files (x86)\\Mozilla Firefox\\_LP\\langpack-de at firefox.mozilla.org"
"langpack-es-MX at firefox.mozilla.org"="C:\\Program Files (x86)\\Mozilla Firefox\\_LP\\langpack-es-MX at firefox.mozilla.org"
"langpack-fr at firefox.mozilla.org"="C:\\Program Files (x86)\\Mozilla Firefox\\_LP\\langpack-fr at firefox.mozilla.org"
Regards,
Charles
From: Enterprise [mailto:enterprise-bounces at mozilla.org] On Behalf Of Schroth, Juergen
Sent: Monday, July 22, 2019 3:30 AM
To: 'enterprise at mozilla.org' <enterprise at mozilla.org>
Subject: [Mozilla Enterprise] Preinstall language packs
Hello,
so far we have preinstalled language packs and dictionaries on all clients with the rollout of the firefox installation package.
For versions 52.x.y we copied the corresponding files and folders into the local profile/extensions ,
as of version 60 we were able to do this via the policies "Extensions to install". With the 68.0 ESR, unfortunately,
both options obviously no longer work. Can anyone tell me how to preload these language packs and dictionaries in the new version?
We do not want to allow the user to install addons and additional languages packs
Thanks for an answer
Kind regards
J.Schroth
________________________________
This email and any attachments may be confidential or proprietary. Any review, use, disclosure, distribution or copying of this email is prohibited except by or on behalf of the intended recipient. If you received this message in error or are not the intended recipient, please delete or destroy the email message and any attachments or copies and notify the sender of the erroneous delivery by return email. To the extent that this message or its attachments were sent without encryption, we cannot guarantee that the contents have not been changed or tampered with. Any advice expressed in this message is being delivered to you solely for your use in connection with the matters addressed herein and may not be used for any other purpose without our prior written consent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/enterprise/attachments/20190722/5e60a54f/attachment-0001.html>
More information about the Enterprise
mailing list