Short answer: manually. Long answer and call to action (if there is enough interest):
Unlike the import methods that RegSvr32.exe calls in DLLs, the /regserver and /unregserver command line arguments are a convention that while common is not universal. In addition, it is dangerous to run an unknown executable since you never know if it even checks command-lines or not (that danger of running foreign code also exists with DLLs, but the likelihood of trouble is reduced since there isn't a lot you can do in DllMain and it is unlikely that DllRegisterServer will be something else). It would be possible to extend heat to call the /regserver commandline although that would require some testing and not-so-conventional process bootstrapping, but the largest difficulty is in how to communicate to the tool which EXEs it should probe this way in a scalable fashion. If list members wish to propose ways to identify EXE files that should be harvested for COM, I am open to compiling them and distilling some proposals back to the group for further refinement. Send them to os...@live.com with a subject of "COM .exe harvesting". -----Original Message----- From: JK E-Lists [mailto:jkli...@ifm-services.com] Sent: Wednesday, October 28, 2009 11:07 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Heat and .exe COM objects I have an old out-of-process COM object that is wrapped in an EXE. It uses the /regserver and /unregserver command line parameters to register and unregister the COM object. Heat appears to treat this as an ordinary executable, ignoring the fact that it's a COM object. Can Heat extract the COM information, or do I just need to do it manually? Thanks a lot! jk ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users