http://bugs.winehq.org/show_bug.cgi?id=27133
Summary: WiX 3.5 generates broken MSI files when 2 files of identical size are added to the same installer Product: Wine Version: 1.3.19 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: sam@robots.org.uk
Created an attachment (id=34643) --> (http://bugs.winehq.org/attachment.cgi?id=34643) test case
The attached test case will generate an installer that installs two files to 'ProgramFilesFolder\duplicate file test'.
when run on Windows, the installer works fine. When run under Wine, the installer installs the contents of file1.txt into file2.txt.
This only happens with Wix 3.5. This version added a feature called "smart cabbing" that detects duplicate files in an installer and only embeds one copy. This may be going haywire when run under Wine.
To run the test case, you will need Mono http://ftp.novell.com/pub/mono/archive/2.10.2/windows-installer/5/mono-2.10.2-gtksharp-2.12.10-win32-5.exe and WiX 3.5 http://wix.codeplex.com/releases/view/60102#DownloadId=204417. You will need to put WiX's tools in Wine's PATH, or modify build.sh to give the full path to the WiX tools when it invokes light and candle.