为什么我的许可证不显示? [英] Why is my license not showing up?

查看:67
本文介绍了为什么我的许可证不显示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的 中,我有:

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

LICENSE.rtf 存在,并且是一个 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?

推荐答案

事实证明,您基本上必须用写字板生成您的 rtf,或者制作一个完美的副本.由于我的是由脚本生成的,我调整了我的脚本,将写字板标题插入到 rtf 文件中,并修复了它.

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.

这篇关于为什么我的许可证不显示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆