Genius! Thank you :)

Now, is this behaviour a bug in WiX which I ought to report? It seems 
really odd that it doesn't "know" that CommonFilesFolder is 
intrinsically 32 bit.

-- 
Cheers,
John

On 16/12/2009 00:59, Sascha Beaumont wrote:
> I think I've found a solution... wrapping the 32-bit CommonFilesFolder
> inside ProgramFilesFolder seems to work.
>
> The 64-bit components are then installed in APPLICATIONFOLDER or
> wherever the user consuming the merge module decides, while the 32-bit
> components are forced into the 32-bit CommonFilesFolder.
>
> <Directory Id="TARGETDIR" Name="SourceDir">
>       <Directory Id="ProgramFiles64Folder">
>               <Directory Id="APPLICATIONFOLDER" Name="WixProject1">
>                       <Merge Id="MyModule" Language="0" DiskId="1" 
> SourceFile="Module.msm" />
>               </Directory>
>       </Directory>
> </Directory>
>
>
> <Directory Id="TARGETDIR" Name="SourceDir">
>       <Directory Id="MergeRedirectFolder" Name=".">
>               <Component Id="cmp1" 
> Guid="D23E4C6A-E9DC-11DE-88E3-4B5155D89593" Win64="yes">
>                       <File Source="1.txt"/>
>               </Component>
>       </Directory>
>
>       <Directory Id="ProgramFilesFolder">
>               <Directory Id="CommonFilesFolder">
>                       <Component Id="cmp2" Guid="*" Win64="no">
>                               <File Source="2.txt"/>
>                       </Component>
>               </Directory>
>       </Directory>
> </Directory>

(snip)

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to