MSI SDK documents how the TARGETDIR directory can be redirected.  The WiX Merge 
element can be nested under the directory you want targeted.

-----Original Message-----
From: Ulf Jonson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2008 13:20
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Directories in merge module

Hi ,

I have a merge module created in Wix that I use with my other
installation tool (Wise). When I add the merge module I can specify
the folder where the files should be installed. This works fine.

  <Module Id="MyModule" Language="1033" Version="0.20.2">
    <Package Id="aGuid..." Manufacturer="Acme" InstallerVersion="200" />
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="INSTALLDIR">
        <Component Id="File_Component" Guid="aGuid...">
          <File Id="FileId" Name="file1.txt" KeyPath="yes" />
        </Component>
      </Directory>
    </Directory>
  </Module>

fil1.txt ends up in the specified folder.

Now I want to add a file to the merge module that should go to another
folder that is created in my main msi. (ROOTDRIVE = C:\ in my msi)

C:\MyFolder1\MyFolder2


Is it possible? How do I do that? I have tried in different ways but
the file ends up at the same location as file1.txt .

BR Ulf

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to