0

Comparison of License.rtf opened in WordPad and displayed in the Wix Installer

I have a Wix installer for my project OpenRGB, and ever since we created it an annoying issue has presented itself in the License screen. The source file License.rtf displays normally in WordPad, but in the Wix installer it has these square invalid characters on each new line, sometimes multiple of them. The only thing I can think of is that the RTF formatting specifiers like \par are somehow printing as these invalid characters in Wix, but the actual formatting does appear to be rendered correctly. I've tried other things like converting a raw text GPLv2 license file into rtf using pandoc and enscript but that just makes it worse (no formatting but the invalid characters still show).

2 Answers 2

0

The RTF control in the Windows Installer is pretty basic. Usually anything that shows up correctly in WordPad shows up correctly in the Windows Installer, but there isn't any configuration to tell the Windows Installer to accept more control codes so the only option is to simplify your RTF, unfortunately.

Sign up to request clarification or add additional context in comments.

Comments

0

It turned out to be the line endings. We changed from LF to CRLF line endings to fix the issue.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.