Hi, I would like to enumerate all packages that have been installed in the chrome registry and the contents of each package. The goal is to perform a specific action if files of a certain type are found.
Unfortunately, the chrome registry does not appear to expose any interfaces that would permit access to the package list. I think that, were I to have this access, I could probably use the resolution function of nsIChromeRegistry to find the corresponding JAR file and analyze the contents myself, if there isn't a better way. I can think of two ways this might be done: 1) Using RDF. I thought that there might be a data source associated with the chrome registry, but after much trawling though the source I came up empty. Can anyone confirm? 2) Walking the chrome directory myself. Not thrilled about this since it's not a trivial effort, and there's no guarantee that a jar file is actually associated with a package. Obviously parsing the manifests myself would be an insane duplication of effort. Can anyone offer any guidance? Just confirmation that this *isn't* possible would be helpful. Thanks, Matt _______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
