It does, I just tested it in WiX v3.0.5419.0. Works absolutely fine for DLL's & OCX's which export the DLLRegisterServer function. My guess is his DLL doesn't or it has dependencies which can't be loaded by heat.exe when it tries to harvest it.
If your DLL can't be registered with regsvr32.exe /s <dllname> then heat.exe won't be able to harvest it either. 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: Rob Mensching [mailto:r...@robmensching.com] Sent: 19 May 2010 21:34 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Issues for migrating Wix 2.0 to Wix 3.0 No, not sure. I thought it worked that way... debugging the code would show for sure. On Wed, May 19, 2010 at 10:28 AM, Hong Shen (CRM) <hongs...@microsoft.com>wrote: > You sure? I tried it and it doesn't generate com registration as I > attached below. I just did > > Heat.exe file whatever.dll -o whatever.output > > Thanks, > Hong > > -----Original Message----- > From: Rob Mensching [mailto:r...@robmensching.com] > Sent: Tuesday, May 18, 2010 4:55 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Issues for migrating Wix 2.0 to Wix 3.0 > > Heat will do it automatically when harvesting the file. No extra > switch necessary, IIRC. <smile/> > > On Tue, May 18, 2010 at 2:14 PM, Hong Shen (CRM) > <hongs...@microsoft.com > >wrote: > > > Hi there, > > > > Wondering if this the right place to ask wix 3.0 migration questions. > > If not, please forgive me and redirect me to a right discussion group. > > > > Our team is trying to replace wix 2.0 with wix 3.0, however when > > replacing "tallow -c" in 2.0, I cannot find a tool in 3.0 does the > > exact > same thing. > > Some online document recommend "heat.exe", but it doesn't actually > > has a flag like what "tallow -c" does, which is extracting com > > interop registration from an assembly. The following is the sample > > result and I am expecting the highlighted part to be generated from Wix3.0 tool. > > Appreciated if anyone can help here. > > > > *Sample Result from Wix 2.0 Tallow.exe -c > output.tmp* <Wix > > xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> > > <Fragment> > > <DirectoryRef Id="TARGETDIR"> > > <Component Id="component0" DiskId="1" Guid="PUT-GUID-HERE"> > > <File Id="file0" Name="MICROS_2.DLL" > > LongName="Microsoft.Crm.Tools.EmailRouterConnectorSnapin.dll" > > > Source="e:\src\v5main\public\ext\wix\2.0.5508.0\Microsoft.Crm.Tools.Emai lRouterConnectorSnapin.dll" > > /> > > <Registry Root="HKCR" > > Key="CLSID\{00A76186-741B-3E30-A47B-6A0D862B18A9}" > > Value="Microsoft.Crm.Tools.ExchangeConnectorSnapin.StorageMedium" > > Type="string" /> > > <Registry Root="HKCR" > > Key="CLSID\{00A76186-741B-3E30-A47B-6A0D862B18A9}\Implemented > > Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}" /> > > <Registry Root="HKCR" > > Key="CLSID\{00A76186-741B-3E30-A47B-6A0D862B18A9}\InprocServer32" > > Value="mscoree.dll" Type="string" /> > > <Registry Root="HKCR" > > Key="CLSID\{00A76186-741B-3E30-A47B-6A0D862B18A9}\InprocServer32" > > Name="ThreadingModel" Value="Both" Type="string" /> > > <Registry Root="HKCR" > > Key="CLSID\{00A76186-741B-3E30-A47B-6A0D862B18A9}\InprocServer32" > > Name="Class" > > Value="Microsoft.Crm.Tools.ExchangeConnectorSnapin.StorageMedium" > > Type="string" /> > > <Registry Root="HKCR" > > Key="CLSID\{00A76186-741B-3E30-A47B-6A0D862B18A9}\InprocServer32" > > Name="Assembly" > > Value="Microsoft.Crm.Tools.EmailRouterConnectorSnapin, > > Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" > > Type="string" /> > > <Registry Root="HKCR" > > Key="CLSID\{00A76186-741B-3E30-A47B-6A0D862B18A9}\InprocServer32" > > Name="RuntimeVersion" Value="v4.0.21006" Type="string" /> > > > > *Sample Result from Wix 3.0 Heat.exe file <someDll> -ag -o > > output.wxs* <?xml version="1.0" encoding="utf-8"?> <Wix > > xmlns="http://schemas.microsoft.com/wix/2006/wi"> > > <Fragment> > > <DirectoryRef Id="TARGETDIR"> > > <Directory Id="dir155A0DBDEC3C276C154611D47EC3BA85" > > Name="3.0.5419.0" /> > > </DirectoryRef> > > </Fragment> > > <Fragment> > > <DirectoryRef Id="dir155A0DBDEC3C276C154611D47EC3BA85"> > > <Component Id="cmpD97F726B1F467CE43AF9CC0D8BD3A4F3" > > Guid="PUT-GUID-HERE"> > > <File Id="filFDC09B448E555F18B4CE6FBCEE9E21AB" > KeyPath="yes" > > > Source="SourceDir\3.0.5419.0\Microsoft.Crm.Tools.EmailRouterConnectorSna pin.dll" > > /> > > </Component> > > </DirectoryRef> > > </Fragment> > > </Wix> > > > > Thanks, > > Hong > > > > > > > > -------------------------------------------------------------------- > > -- > > -------- > > > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > -- > virtually, Rob Mensching - http://RobMensching.com LLC > > ---------------------------------------------------------------------- > -------- > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ---------------------------------------------------------------------- > -------- > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------ ------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users