wix specify licence shows nothing

前端 未结 4 1611
北恋
北恋 2020-12-14 14:11

I\'m trying to specify the licence for my wix setup project.

I have created a rtf with a few dummy lines in wordpad/notepad/vs tried a few different ways as I read t

相关标签:
4条回答
  • 2020-12-14 14:36
    <WixVariable Id="WixUILicenseRtf" Value="test.rtf" />
    

    and include your test.rtf in the Setup project.

    0 讨论(0)
  • 2020-12-14 14:40

    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.

    0 讨论(0)
  • 2020-12-14 14:46

    Thanks to @Daniel Powell's decision

    1. Open WordPad
    2. Write your text
    3. Save by default(rtf)
    4. Rebuild your msi
    5. Profit.
    0 讨论(0)
  • 2020-12-14 14:54

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

    0 讨论(0)
提交回复
热议问题