I am trying to write a Wix 3.0 merge module that an .msi can put wherever it wants. I would like a directory structure like this:
c:\Program Files\myCompany\myProd What is happening is that all of the files in the merge module are written to c:\. Here is the merge module: <Module Id="myMM" Language="1033" Version="1.0.0.0"> <Package Id="xxx" Manufacturer="yyy" InstallerVersion="200" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="MergeRedirectFolder" FileSource="."/> <Component Id="myC" Guid="zzz"> <File Id="myFile" Name="myFile.dll" Source="myFile.dll"/> </Component> </Directory> </Directory> </Module> and here is the .msi: <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="myCompany" Name="myCompany"> <Directory Id="myProd" Name="myProd"> <Merge Id="myMM" Language="1033" SourceFile="myMM.msm" DiskId="1"></Merge> </Directory> </Directory> </Directory> </Directory> <Feature Id="myFeat" Title="myFeat" Level="1"> <MergeRef Id="myMM"/> </Feature> </Product> Why doesn't the merge module assume the directory structure of the .msi? Is "MergeRedirectFolder" still relevant in Wix 3.0? If you answer this post, can you please mention the reference you used so that I can try to be more independent? Thanks. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users