Create a dummy extension with your component inside the "components" folder (dll/so + xpt). In that way, (1) you just need to reinstall the extension if you want the component to be registered again (I believe), or (2) uninstall/reinstall the extension + restart browser or (3) specify an update URL for the extension and update it before restarting the browser.
This is a nice guide on how to create/package XPCOM components inside extensions: http://developer.mozilla.org/en/docs/Creating_Custom_Firefox_Extensions_with_the_Mozilla_Build_System Hope it helps mlabs wrote: > I have created an XPCOM dll using MSDEV, and it houses a dummy > component. > I copy the XPT and DLL files to the mozilla\components directory > I locate the %APPDATA% folder and delete compreg.dat > I call regxpcom -x "C:\Program Files\Mozilla Firefox\components" > when I run firefox, it works fine. > > Q: there must be a better way to do this .. in particular, is there > any other way to force the registration to succeed without having to > locate and delete compreg.dat ??? > > TIA _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
