HI there, I am installing a x64 bit app along with a 32-bit dll. The 32-bit DLL 
is being hosted in a 32-bit dllhost. Both my x64 App and the 32-bit dllhost 
communicate using COM. Therefore, I need to install my type lib under both the 
native (x64) registry path and under the Wow6432Node path along with Interfaces 
for both, so basically I need to do the following:

<Component Id="COMPONENT_NAME" Guid="GUID"  Win64="no">      
<File Id="FILE-ID" KeyPath="yes" Source="DIR/myDLL.dll" >
      <TypeLib Id="GUID" Language="0" MajorVersion="1" MinorVersion="0">
            <Interface Id="GUID" Name="Interface_1" 
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />
            <Interface Id="GUID" Name="Interface_2" 
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />
          </TypeLib>
</File></Component>
<Component Id="COMPONENT_NAME" Guid="GUID">      
<File Id="FILE-ID" KeyPath="yes" Source="DIR/myDLL.dll" >
      <TypeLib Id="GUID" Language="0" MajorVersion="1" MinorVersion="0">
            <Interface Id="GUID" Name="Interface_1" 
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />
            <Interface Id="GUID" Name="Interface_2" 
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />
          </TypeLib>
</File></Component>

I am installing on a x64 Windows. No is it possible to do this without 
duplicating the installation for the myDLL.dll file?. It won't compile without 
wrapping the TypeLib with a File tag. What is the custom t do this?

Thanks,Sam.




------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to