静默安装 Firefox 插件

发布于 2024-09-06 15:54:19 字数 313 浏览 2 评论 0原文

我正在尝试通过 msi 安装程序静默安装 firefox xpi。我通过以下方法执行此操作:

将我的 xpi 解压到某个临时目录中,并将其所有内容复制到 %APPDATA%\Mozilla\Firefox\Profiles\xxxx.default\extensions \

我希望下次我的 Firefox 打开时该插件可用,但我无法获取它。有人可以告诉我静默安装 Firefox 插件是否还有更多工作要做吗?

卡皮尔

I am trying to install a firefox xpi silently through an msi installer. I am doing so by the following method:

Unzip my xpi in some temp dir and copy all the contents of that to the %APPDATA%\Mozilla\Firefox\Profiles\xxxx.default\extensions\<uniqueid-for-my-addon>

I expected the addon to be available the next time my firefox opens, but I am not able to get it. Can someone tell me if there is more to be done for a silent install of firefox addons?

Kapil

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

驱逐舰岛风号 2024-09-13 15:54:19

关键是您放置在扩展文件夹中的文件夹的名称,它必须被称为扩展 ID(在 install.rdf 文件中定义)。

另请注意,这不会是完全静默安装,插件安装对话框将在下次使用该配置文件启动 Firefox 时警告用户已安装新扩展。

The key is the name of the folder you are placing inside the extensions folder, it has to be called as the extension id (which is defined inside the install.rdf file).

Also note that this will not be a completely silent install, the addon install dialog will warn the user the next time Firefox is started with that profile that a new extension has been installed.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文