I've just made a mistake like the following simplified example

   <Directory Id="SystemFolder">
     <Component Id="a32.dll" Guid="*" Win64="no">
       <File Id="a32.dll" Name="a.dll" Source="a32.dll" />
     </Component>
   </Directory>

   <Directory Id="System64Folder">
     <Component Id="a64.dll" Guid="*" Win64="yes">
       <File Id="a64.dll" Name="a.dll" Source="a64.dll" />
     </Component>
   </Directory>

This is a 64 bit installer, which needs to install both the 32 and 64 
bit versions of a DLL in the respective system folders.

This all works fine until I come to do an administrative installation, 
at which point both DLLs unpack to the same location, with one 
overwriting the other.

I know (now!) that the solution is to give a Name attribute on the two 
Directory elements, e.g.

   <Directory Id="SystemFolder" Name="SystemFolder">
     :
   <Directory Id="System64Folder" Name="System64Folder">
     :

but would it be possible for WiX to warn me if I do something stupid 
like this?

-- 
Cheers,
John

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to