Re: how to properly do an automatic uninstall?
HJ <[email protected]> Tue, 08 Feb 2005 17:20:16 -0700
| Newsgroups | gmane.comp.mozilla.devel.xpinstall |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
<snip/> > HJ wrote: >> I hope this helps: >> >> http://lxr.mozilla.org/aviarybranch/source/toolkit/mozapps/extensions/public/nsIExtensionManager.idl#73 >> >> /HJ > > > Thanks HJ! > > This seems to be what I need. I tried the following: > > var > ext = Components.classes["@mozilla.org/extensions/manager;1"], > ext = > ext.getService(Components.interfaces.nsIExtensionManager); That should work, see also: http://lxr.mozilla.org/aviarybranch/source/toolkit/mozapps/extensions/content/extensions.js#119 Note the 'aviarybranch' i.e. you are using Mozilla Firefox, right? /HJ