Carl,

 

I did a quick check in our code... (WiX V2 BTW)

 

We appear to be using a <Merge> element in the <Directory>, and a
<MergeRef> element in the <Feature>.

 

I don't know if both are actually necessary, but I would imagine there
must be at least one <Merge> element, otherwise you will never actually
be including the merge module - only a reference to it.

 

Hope this helps,

Regards,

Richard

 

________________________________

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

 

Hi Tom, 

Thanks for you quick answer. I always output full verbose log (/l*vx
installlog.txt) of installation while doing the dev. and i tryed looking
for 6BE042C8-EE9B-11DB-8314

-0800200C9A66, ActiveBar, DataDynamics, Merge and Merge module and
couldnt find anything. Ive also did a file search for actbar2.ocx,
system wide, and found it only at the original source location.
Ill try adding a space to the CommonFiles and see how it goes.

If you have any other ideas tho... ?


Thanks again

On 4/23/07, Thomas Svare <[EMAIL PROTECTED]> wrote:

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] 




-- 
Carl Quirion
[EMAIL PROTECTED] 




* C O N F I D E N T I A L I T Y N O T I C E *
-----------------------------------------------------------
The content of this e-mail is intended solely for the use of the individual or 
entity to whom it is addressed. If you have received this communication in 
error, be aware that forwarding it, copying it, or in any way disclosing its 
content to any other person, is strictly prohibited. Peek Traffic Corporation 
is neither liable for the contents, nor for the proper, complete and timely 
transmission of (the information contained in) this communication. If you have 
received this communication in error, please notify the author by replying to 
this e-mail immediately and delete the material from any computer.


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