wix specify licence shows nothing

拈花ヽ惹草 提交于 2019-11-30 04:12:37

Save the license.rtf from WordPad. See this webpage (http://wixtoolset.org/documentation/manual/v3/wixui/wixui_customizations.html), specifically this section:

There is a known issue with the rich text control used to display the text of the license file that can cause the text to appear blank until the user scrolls down in the control. This is typically caused by complex RTF content (such as the RTF generated when saving an RTF file in Microsoft Word). If you run into this behavior in your setup UI, one of the following workarounds will fix it in most cases:

Open your RTF file in WordPad and save it from there in order to remove the complex RTF content from the file. After saving it, rebuild your MSI. Use a dialog set other than the WixUI_Minimal set. This problem typically only occurs when the license agreement screen is the first one displayed during setup, which only happens with the WixUI_Minimal dialog set.

Thanks to @Daniel Powell's decision

  1. Open WordPad
  2. Write your text
  3. Save by default(rtf)
  4. Rebuild your msi
  5. Profit.

Open trf file in wordpad instead of md-word, It will solve the scroll issue

<WixVariable Id="WixUILicenseRtf" Value="test.rtf" />

and include your test.rtf in the Setup project.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!