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: 412
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:
- Remove folder and content [FF_inst_dir]\extensions\MyExtension
- Copy new my.xpi to [FF_inst_dir]\extensions
However, when I restart FF I see:
- FF ask me about install add-on. I agree.
- FF remove my.xpi (it's ok)
- 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