That is the correct solution. Heat.exe exports COM from .NET assemblies without issue for anything I've given it including DLL/TLB pairs.
Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Sohail Somani [mailto:soh...@taggedtype.net] Sent: 31 August 2010 22:46 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] heat.exe does not export COM information for a .NET component dll On 10-08-31 3:25 PM, Lian Jiang wrote: > Hi, > > I am using WIX 3.0 to export the COM registry setting from a managed component dll but I only get a file without the COM information. I can use regasm to registery this dll. > > I use the same heat.exe to export another .net component dll successfully. The only difference of these two dlls are the first one (where heat fails) depends on an interop assembly exported from a tlb file, while the latter (where heat succeeds) does not. > > Can anybody tell why heat cannot export COM information for the first one? I had this problem when heat could not load the DLL due to missing dependencies. If your component depends on something in another directory, you should add it to the path. Not sure if that is the correct solution, but it was the one I found anyway. -- Sohail Somani -- iBlog : http://uint32t.blogspot.com iTweet: http://twitter.com/somanisoftware iCode : http://bitbucket.org/cheez ------------------------------------------------------------------------ ------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users