1. Add a setup / deployment project to the .NET project.
2. Build it, yeilding an .MSI
3. Run dark against it, and pull out the necessary fragment for the .tlb and associated .dll:
<Component Id="C__54BB173E646F6AE275AE40C424030C9B" Guid="{65041B27-3664-B4B5-42AF-4C03915AA068}">
<File Id="_54BB173E646F6AE275AE40C424030C9B" Name="Atlas.Validation.DispatchWrapper.tlb" KeyPath="yes" ShortName="ATLASV~1.TLB" Vital="yes" DiskId="1" Source="SourceDir\File\_54BB173E646F6AE275AE40C424030C9B">
<TypeLib Id="{75E29D5A-DF04-479A-ACCB-473EEF7A5B23}" Advertise="yes" Cost="0" Description="Atlas_Validation_DispatchWrapper" Language="0" MajorVersion="1" MinorVersion="0" />
</File>
<RegistryValue Id="_5899F3F60FC04B9BBBF1D7F134EC113F" Root="HKCR" Key="Interface\{D55F1491-5EA3-4A9F-B746-F5C4E4DE071C}" Value="_DispatchWrapper" Type="string" />
<RegistryValue Id="_9EAEC7F543244B2D850B647DC513535E" Root="HKCR" Key="Interface\{D55F1491-5EA3-4A9F-B746-F5C4E4DE071C}\ProxyStubClsid" Value="{00020424-0000-0000-C000-000000000046}" Type="string" />
<RegistryValue Id="_ADA1E9C6DAC34E479D5063CB53A5C5B7" Root="HKCR" Key="Interface\{D55F1491-5EA3-4A9F-B746-F5C4E4DE071C}\ProxyStubClsid32" Value="{00020424-0000-0000-C000-000000000046}" Type="string" />
<RegistryValue Id="_57B1136CC4764B6E96761EC1F026515B" Root="HKCR" Key="Interface\{D55F1491-5EA3-4A9F-B746-F5C4E4DE071C}\TypeLib" Value="{75E29D5A-DF04-479A-ACCB-473EEF7A5B23}" Type="string" />
<RegistryValue Id="_E074DD719CBC4C5EA39EB8A7A7E9EAEE" Root="HKCR" Key="Interface\{D55F1491-5EA3-4A9F-B746-F5C4E4DE071C}\TypeLib" Name="Version" Value="1.0" Type="string" />
</Component>
.tlb files aren't supported yet. I thought those were usually compiled into a .dll or other file when shipped to the customer. Do you ship the .tlb as part of your setup? Does the .tlb register a separate .dll file in the actual registry keys?
Derek
From: Brad Davis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 30, 2006 6:59 AM
To: [EMAIL PROTECTED]
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] using heat to harvest COM objects that do not have the '.dll' extension.
As of last week's release, .tlb files didn't work either....although I didn't verify that it was already registered prior to harvesting, as I believe that's a pre-req?
On 8/30/06, Derek Cicerone <[EMAIL PROTECTED]> wrote:
Hehe, alright, I just fixed it. This should be in the next WiX 3.0 release.
Derek
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Ali-Akber Saifee
Sent: Wednesday, August 30, 2006 2:00 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] using heat to harvest COM objects that do not have the '.dll' extension.
Some of my installation components use DirectShow filters... (*.ax files).. when i try to harvest them with heat the class information + registry information is not extracted. I suspect this is due to a wildcard filter which is not classifying .ax files as possible candidates for COM objects...
i tried simply renaming the file to a .dll and it is harvested properly then.. .ocx files are also ok.
rgrds./Ali
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
-Brad
--
-Brad
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users