Klaus Ruehl wrote:
> 
> I am currently wondering, if it is possible to get access to the version
> registry in mozilla via xpcom.
> 
> I would like to provide an uninstall function for packages and besides other
> problems there is still the task open to remove the corresponding package
> entries from the version registry file. Is it possible to remove such
> entries via a xpcom interface or is it necessary to use the native libraries
> here?

nsIRegistry understands the format of the version registry, but there is not
enough information stored there (unlike Communicator) for you to perform an
uninstall.  In order to be able to uninstall we have to log the actions we
have taken somewhere. The registry performance was too slow and we don't
need random access to the data anyway, so a streamed logfile of some kind
should suffice.

See bugs
http://bugzilla.mozilla.org/show_bug.cgi?id=7884
http://bugzilla.mozilla.org/show_bug.cgi?id=9590

-Dan Veditz

Reply via email to