title: install multiple different files with the same name with WIX?
body: <p>I have a WIX installer which needs to install files to two directories. In one directory we need to install a 32-bit version of the file, and in another, the 64-bit version.</p>
  
  <p>However, the files have the same filename, which seems to cause WIX to merge them together and just store a single copy in the MSI.</p>
  
  <p>Basically, I want the a directory structure similar to the following:</p>
  
  <pre><code>c:\Program Files\FooApp\MyLib.dll
  c:\Program Files (x86)\BarApp\MyLib.dll
  </code></pre>
  
  <p>with the respective 32- and 64-bit versions of MyLib.dll.</p>
  
  <p>The two files are currently in our .wxs file as separate File elements with separate ID's and stored as separate components. However, when I run the installer, it installs the 64-bit version of the file to both locations, and if I extract the contents of the MSI with Dark.exe, it also shows both components have the same Source attribute.</p>
  
  <p>Is there a way to convince WIX to store both files independently and ensure they're each installed to the right directory?</p>