如何升级安装了GPO强制安装的Chrome扩展程序? [英] How to upgrade a GPO force-installed Chrome Extension?

查看:664
本文介绍了如何升级安装了GPO强制安装的Chrome扩展程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们开发了一款网络安全产品,其中包含一个Chrome扩展,目前通过GPO中的ExtensionInstallForcelist值进行安装。

我们的产品功能之一是浏览Internet / Intranet被分成几个信任区域 - 而chrome扩展负责在不同区域运行的不同浏览器窗口之间切换。有时,CRX中的update_url将无法被运行在所有信任区域中的浏览器访问。由于Chrome在首次安装时从初始XML文件中指定的CRX位置导入了扩展名,因此我们在升级软件时如何升级扩展名处于困境。到目前为止,我只看到以下选项:


  • 在Chrome的AppData位置下手动编辑每个用户的首选项文件和Extensions \目录这对我来说是hackish,unstable并且我宁愿避免它...)

  • 在manifest.json中使用一个静态file:/// url作为update_url(但是它有
  • 手动编辑master_preferences文件以安装和/或升级我们的扩展程序(这受到google的强烈阻止,这里是: https://support.google.com/chrome/a/answer/188453?hl = en



有没有人为我的企业应用部署Chrome扩展程序并以我错过的方式升级它们经过多次挖掘......)?



感谢: - )

解决方案

我们最终使用了hardco ded file:/// url作为update_url,因为我们无法找到更好的方法(我们选择不在chrome appstore上发布扩展)。


We develop a network security product, incorporating a chrome extension, currently installed by the ExtensionInstallForcelist value in GPO.

One of our product features is that surfing the Internet/intranet is separated in to several trust zones - and the chrome extension is responsible for making the switch between different browser windows running in different zones. Sometimes, the update_url in the CRX will not be accessible to browsers running in all trust zones. Since Chrome "imports" the extension upon the first installation from the CRX location specified in the initial XML file, I am at a loss as to how to upgrade the extension when our software is upgraded. So far I am only seeing the following options:

  • manually edit each user's "Preferences" file and Extensions\ directories under Chrome's AppData location (this to me is hackish, unstable and I would rather avoid it...)
  • Use a static file:/// url as the update_url in the manifest.json (but this has the limit of a specific drive, directory and file having to be present)
  • manually edit the master_preferences file to install and/or upgrade our extension (this is strongly discouraged by google, here: https://support.google.com/chrome/a/answer/188453?hl=en

Does anyone have any experience with deploying Chrome extension for corporate applications and upgrading them in a way I missed (after much, much digging...)?

Thanks :-)

解决方案

We ended up using a hardcoded file:/// url as the update_url as we could not find a better way of doing it (we chose not to publish the extension on the chrome appstore).

这篇关于如何升级安装了GPO强制安装的Chrome扩展程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆