Manually updating FF Add-ons

Posted by cpp_fanatic on Stack Overflow See other posts from Stack Overflow or by cpp_fanatic
Published on 2010-03-30T13:47:57Z Indexed on 2010/03/30 13:53 UTC
Read the original article Hit count: 414

Filed under:
|
|

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:

  1. Remove folder and content [FF_inst_dir]\extensions\MyExtension
  2. Copy new my.xpi to [FF_inst_dir]\extensions

However, when I restart FF I see:

  1. FF ask me about install add-on. I agree.
  2. FF remove my.xpi (it's ok)
  3. FF remove folder and content [FF_inst_dir]\extensions\MyExtension I think that FF try to remove old plugin.

Thus, I havn't installed plugin.

How it can be installed correct?

© Stack Overflow or respective owner

Related posts about firefox

Related posts about add-on