I am installing FF extensions using the information given here
https://developer.mozilla.org/en/Installing_extensions.
I am extracting the xpi into a folder named after the extension's id.

Fine with installation.

Now I have two issues,
1. Uninstalling.
If I remove the extension id folder, FF is creating an empty
folder when restarted.

2. Updating.
If I replaced the extension id folder with new version of
extension, the extension version is not showing in the 'tools->addon'
dialog.

Can anyone help me here?

Regards,
Manoj Marathayil