Hi,

 

I don't know, if this is an error or intended behavior:

When I create a simple merge module (in my test with only one file in
it) and refer to this merge module, the merge module - and its content -
is not extracted to a temporary directory, but direct in the target
folder. 

 

Product:

...

<Directory Id="TARGETDIR" Name="SourceDir">

  <Directory Id="CommonFilesFolder">

    <Directory Id="INSTALLLOCATION" Name="TestSetup">

      <Merge Id="testmm" Language="1033"
SourceFile="$(var.TestMergeModule.TargetDir)TestMergeModule.msm"
DiskId="1" />

    </Directory>

  </Directory>

</Directory>

...

 

MergeModule:

...

<Directory Id="MergeRedirectFolder" Name="TestSetup">

  <Component Id="comp1" Guid="{C07F8B64-67E3-4f99-A073-739E12BC85DC}">

    <File Id="tf1" Source="Sourcen\TextFile1.txt" KeyPath="yes" />

  </Component>

</Directory> 

...

 

Generated directory tree:

C:\Program Files\Common Files\TestSetup

->TestMergeModule.msm

->TextFile1.txt

C:\Program Files\Common Files\TestSetup\Sourcen

->TextFile1.txt

 

Can anyone tell me why this is happening?

Can I prevent the msm file (and its content) to be extracted in the
TestSetup directory?

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to