搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

How to install a local (not global) extension for firefox as part of a desktop setup program.

  • 无回复
  • 6 人有此问题
  • 7 次查看
more options

Hey Folks,

I am working on a desktop application and as part of that applications install, if we detect that firefox is installed, we want to install an extension we wrote. For the firefox upgrade urls to work in the future we seem to need to install the plugin as a local plugin. Therefore the following does not work:

firefox.exe -install-global-extension extension.xpi

My question is, what is the correct way to install this plugin as a local extension for the current user?

If this is not possible and we have to install our plugin as a global extension as show above, we run in to the following problem.

1. Let's say firefox 3.6 is installed and we install our extension as a global extension, it works fine

2. Now, The user updates to firefox 4, it detects our plugin needs an update to work with firefox 4

3. The firefox update code runs into an error when trying to update the global extension. We get a very generic error saying there was a problem updating the addin.

I should also note that for reasons not important to this thread we have to host the extension on our own servers and not as part of mozilla.

Hey Folks, I am working on a desktop application and as part of that applications install, if we detect that firefox is installed, we want to install an extension we wrote. For the firefox upgrade urls to work in the future we seem to need to install the plugin as a local plugin. Therefore the following does not work: firefox.exe -install-global-extension extension.xpi My question is, what is the correct way to install this plugin as a local extension for the current user? If this is not possible and we have to install our plugin as a global extension as show above, we run in to the following problem. 1. Let's say firefox 3.6 is installed and we install our extension as a global extension, it works fine 2. Now, The user updates to firefox 4, it detects our plugin needs an update to work with firefox 4 3. The firefox update code runs into an error when trying to update the global extension. We get a very generic error saying there was a problem updating the addin. I should also note that for reasons not important to this thread we have to host the extension on our own servers and not as part of mozilla.

所有回复 (1)

more options