http://bugs.winehq.org/show_bug.cgi?id=27130
Summary: CR LF characters in RTF files are turned into ^Q ^Y characters Product: Wine Version: 1.3.19 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msi AssignedTo: wine-bugs@winehq.org ReportedBy: sam@robots.org.uk
Created an attachment (id=34637) --> (http://bugs.winehq.org/attachment.cgi?id=34637) test case
When using WiX to build an MSI installer package, the generated MSI embeds the contents of an RTF file to provide the EULA.
Any CR LF characters in the RTF file are turned into ^Q ^Y characters when the file is embedded in the MSI's Control table.
To reproduce:
1. Run build.sh in the attached test case. It will spit out 'test.msi'. 2. Open 'test.msi' and observe the weird boxes in the EULA screen. You will have to do this on a real Windows system since Wine's msiexec crashes when you get to the EULA screen. 3. Open the file in Orca http://msdn.microsoft.com/en-us/library/aa370557(v=vs.85).aspx and look at the Control table; look for the row where Dialog_ = 'LicenseAgreementDlg' AND Control = 'LicenseText'; you will see the little boxes representing the control characters in the Text column.
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 http://wix.codeplex.com/releases/view/44406#DownloadId=119160. 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.