Your files may be installing just not where you are expecting them to.
Take a look at a verbose log and you'll know for sure.

 

One of the potential problems is the "Name" you've specified for the
CommonFilesFolder is missing the space.  I believe you can leave the
name off altogether since the directory is specified with a system
folder property.

 

Thanks,

Tom

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carl
Quirion
Sent: Monday, April 23, 2007 4:30 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Merge Modules

 

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
<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