How to be notified when extension is uninstalling? - Mozilla

This is a discussion on How to be notified when extension is uninstalling? - Mozilla ; Hi,
I want to delete a file when my extension is uninstalled (the file isn't in the extension's directory). How can my extension be notified and execute code when it is being uninstalled?
Thanks,
Eric...