I built C# dll with x86 release mode and i Ran heat over it

the heat cmd:

D:\>heat file testcom\testCOMdll32.tlb -srd -sfrag -suid -svb6 -gg -g1 -out
"D:\testcom\testcomtlb.wxs"
Windows Installer XML Toolset Toolset Harvester version 3.9.1006.0
Copyright (c) Outercurve Foundation. All rights reserved.


Heat gives the following fragment:

<Fragment>
        <DirectoryRef Id="TARGETDIR">
            <Component Id="testCOMdll32.dll"
Guid="84624085-DD3F-4336-BA27-8942799DE951">
                <Class Id="{36E6BC94-308C-4952-84E6-109041990EF7}"
Context="InprocServer32" Description="testCOMDLL.CSCOMClass01"
ThreadingModel="both" ForeignServer="mscoree.dll">
                    <ProgId Id="CSCOMServer.CSCOMClass01"
Description="testCOMDLL.CSCOMClass01" />
                </Class>
                <File Id="testCOMdll32.dll" KeyPath="yes"
Source="SourceDir\testCOMdll32.dll" />
                <RegistryValue Root="HKCR"
Key="CLSID\{36E6BC94-308C-4952-84E6-109041990EF7}\Implemented
Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}" Value="" Type="string"
Action="write" />
                <RegistryValue Root="HKCR"
Key="CLSID\{36E6BC94-308C-4952-84E6-109041990EF7}\InprocServer32\1.0.0.0"
Name="Class" Value="testCOMDLL.CSCOMClass01" Type="string" Action="write" />
                <RegistryValue Root="HKCR"
Key="CLSID\{36E6BC94-308C-4952-84E6-109041990EF7}\InprocServer32\1.0.0.0"
Name="Assembly" Value="testCOMdll, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=46bb154641f15448" Type="string" Action="write" />
                <RegistryValue Root="HKCR"
Key="CLSID\{36E6BC94-308C-4952-84E6-109041990EF7}\InprocServer32\1.0.0.0"
Name="RuntimeVersion" Value="v4.0.30319" Type="string" Action="write" />
                <RegistryValue Root="HKCR"
Key="CLSID\{36E6BC94-308C-4952-84E6-109041990EF7}\InprocServer32\1.0.0.0"
Name="CodeBase" Value="file:///[#testCOMdll32.dll]" Type="string"
Action="write" />
                <RegistryValue Root="HKCR"
Key="CLSID\{36E6BC94-308C-4952-84E6-109041990EF7}\InprocServer32"
Name="Class" Value="testCOMDLL.CSCOMClass01" Type="string" Action="write" />
                <RegistryValue Root="HKCR"
Key="CLSID\{36E6BC94-308C-4952-84E6-109041990EF7}\InprocServer32"
Name="Assembly" Value="testCOMdll, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=46bb154641f15448" Type="string" Action="write" />
                <RegistryValue Root="HKCR"
Key="CLSID\{36E6BC94-308C-4952-84E6-109041990EF7}\InprocServer32"
Name="RuntimeVersion" Value="v4.0.30319" Type="string" Action="write" />
                <RegistryValue Root="HKCR"
Key="CLSID\{36E6BC94-308C-4952-84E6-109041990EF7}\InprocServer32"
Name="CodeBase" Value="file:///[#testCOMdll32.dll]" Type="string"
Action="write" />
            </Component>
        </DirectoryRef>
    </Fragment>


It didnt create any of the registry entries for the x64 release build of C#
dll. I need to create a COM+ entry in component services(dcomcnfg) with the
help of wiX ComPlusExtension. It was failing so i thought of doing this
through heat. No luck.

I followed the following link:

http://wix.tramontana.co.hu/tutorial/com-expression-syntax-miscellanea/com-applications

and  got the same error mentioned in this link

http://stackoverflow.com/questions/13944373/registering-a-net-assembly-in-a-com-application-outside-of-the-gac

Regards ,
Sampat



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/heat-gives-warning-when-harvesting-net-com-dll-tp7598434p7598450.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to