This is a double post with the XPInstall board but that one doesn't seem very active and people here should probably know the answer anyway. I was wondering if anyone knows how to register a XPCOM dll from a XPInstall script? There is documentation that indicates that it can be done, but I have not found a way to actually do it. Simply copying my .dll and .xpt and registering my chrome is not enough. I still need to run regxpcom externally to actually register my component. How can I do this from within my install script? Thanks for the help.
After an installation and browser restart, any added components will be registered.
See: http://lxr.mozilla.org/seamonkey/source/xpinstall/src/nsInstall.cpp#106
Anything more dynamic than that, you should look at using File.execute:
http://devedge.netscape.com/library/manuals/2001/xpinstall/1.0/File8.html#997901
calling regxpcom.
I hope this helps,
Doug Turner
_______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
