I want to include third party dependencies in my setup.
Those dependencies are OCX/DLLs (of the COM kind).

Ive read that the proper way to do it is to get the merge modules made by
the maker of the 3rd party, however, this is not available for most of my
components.
So, i went ahead and decided to create my own. I can compile (candle, light)
them without a problem. I can add them to a feature of my main setup and
compile, again, without a problem.

However, when i install my application, it doesn't add them.
By the way, im trying to install to the "Common files" directory.

This is my module

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
   <Module Id="Activebar" Language="0" Version="2.5.2.121">
       <Package Id="6BE042C8-EE9B-11DB-8314-0800200C9A66"
Keywords="ActiveBar2" Description="Data Dynamics Activebar2"
Manufacturer="MyCompany"/>
       <Directory Id="TARGETDIR" Name="SourceDir">
           <Directory Name="CommonFiles" Id="CommonFilesFolder">
               <Directory Id="DataDynamics" Name="Data Dynamics" >
                   <Directory Id="ActiveBar2" Name="ActiveBar2" >
           <Component Id="actbar2.ocx"
Guid="6BE042C9-EE9B-11DB-8314-0800200C9A66">
               <File Id="actbar2.ocx" Name="actbar2.ocx" KeyPath="yes"
Source="actbar2.ocx">
                   /* Type lib, along with class id, interfaces and such */
               </File>
               /* A bunch of RegistryValue here */
           </Component>
       </Directory>
       </Directory>
       </Directory>
       </Directory>
   </Module>
</Wix>

My main setup file:
in my Product tag:

   <Directory Id="TARGETDIR" Name="SourceDir">
     <Directory Id="ProgramFilesFolder" Name="PFiles">
       <Directory Id="INSTALLDIR" Name="MySoftware">
           <Merge
Id="DataDynamics_ActiveBar2.6BE042C8-EE9B-11DB-8314-0800200C9A66" DiskId="1"
Language="0" SourceFile="ActiveBar2.msm" />

Inside my Feature tag:

     <MergeRef
Id="DataDynamics_ActiveBar2.6BE042C8-EE9B-11DB-8314-0800200C9A66" />

Please help, as i cant figure out what im doing wrong. :(

--
Carl Quirion
[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to