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.
http://bugs.winehq.org/show_bug.cgi?id=27130
--- Comment #1 from Sam Morris sam@robots.org.uk 2011-05-11 11:23:21 CDT --- Created an attachment (id=34638) --> (http://bugs.winehq.org/attachment.cgi?id=34638) test.msi
Result of running the test case
http://bugs.winehq.org/show_bug.cgi?id=27130
--- Comment #2 from Hans Leidekker hans@meelstraat.net 2011-05-11 13:00:26 CDT --- Please attach a +msi,+msidb trace from building test.msi.
http://bugs.winehq.org/show_bug.cgi?id=27130
--- Comment #3 from Sam Morris sam@robots.org.uk 2011-05-11 13:06:19 CDT --- Created an attachment (id=34650) --> (http://bugs.winehq.org/attachment.cgi?id=34650) debug output with +msi,+msidb
http://bugs.winehq.org/show_bug.cgi?id=27130
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #4 from Austin English austinenglish@gmail.com 2011-05-12 14:02:24 CDT --- Should be fixed by http://source.winehq.org/git/wine.git/commitdiff/c7e36d8ba8eb4cb7fdf65b0c2b2...
http://bugs.winehq.org/show_bug.cgi?id=27130
--- Comment #5 from Sam Morris sam@robots.org.uk 2011-05-13 05:13:46 CDT --- Fix confirmed, thanks!
http://bugs.winehq.org/show_bug.cgi?id=27130
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2011-05-13 13:33:56 CDT --- Closing bugs fixed in 1.3.20.
http://bugs.winehq.org/show_bug.cgi?id=27130
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c7e36d8ba8eb4cb7fdf65b0c2b2 | |3367d9e221e8b