Why is my license not showing up?

三世轮回 提交于 2019-12-06 19:25:32

问题


In my <Product> I have:

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

LICENSE.rtf exists, and is an rtf file (I've tried saving with a few different programs in case it was a problem with one of them).

The file contains text (a whole license!), and the text is sensibly formatted.

Why then, is the License field of my installer blank?


回答1:


It turns out you basically must generate your rtf with Wordpad, or make a perfect replica. Since mine are generated by scripts, I adjusted my script to insert the Wordpad header to the rtf file, and this fixed it.



来源:https://stackoverflow.com/questions/11364935/why-is-my-license-not-showing-up

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