Reputation: 91
My application installs my Firefox add-on (by copying an my.xpi to [FF_inst_dir]\extensions). This application interact with my FF add-on. This application periodically has updates (.xpi with new version). When my application is updating it does next:
However, when I restart FF I see:
Thus, I havn't installed plugin.
How it can be installed correct?
Upvotes: 0
Views: 233
Reputation: 4682
We aren't going to support dropping XPIs into the extensions directories like this in the future. Also please please do not use the application's extensions directory for this. Instead extract your extension's files into one of the shared locations or to a directory pointed to by the registry.
Upvotes: 1
Reputation: 28128
What's wrong with Firefox's built-in installation & update methods? At it's simplest, you browse to a web page and download the .xpi to install.
Is there a reason you can't post your extension to the Mozilla Add-ons site? If so, that would get you both easy installation and automatic updates when you post new versions.
Upvotes: 0