如何使用.txt文件作为WiX安装包中的许可证?
是否可以使用 RTF 以外的任何其他文件类型作为许可证? RTF 几乎已经死了,我想使用一种在标准文本编辑器中可读的格式(例如 .txt 或 .md)。
以下是我目前正在使用 RTF 许可证的内容,该许可证工作正常:
如果我只是用 TXT 文件替换路径,如下所示:
然后我得到一个空白许可证对话框:
似乎没有 WixUILicenseTxt
Is it possible to use any other filetype than RTF as the license? RTF is practically dead, and I'd like to use a format that's readable in a standard text editor (like .txt or .md) instead.
Here's what I'm currently using with an RTF license, which is working correctly:
<WixVariable Id="WixUILicenseRtf" Value="..\Eula\EulaText_$(var.Lcid).rtf" />
If I simply replace the path with a TXT file like so:
<WixVariable Id="WixUILicenseRtf" Value="..\Eula\Test.txt" />
then I get a blank license dialog:
There doesn't appear to be a WixUILicenseTxt
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Windows Installer 引擎提供的 ScrollableText 控件是一个RICHEDIT 控件处于只读模式。
您可以仅在其中放置文本(包括 Markdown),但它将使用富文本规则呈现。
The ScrollableText Control the Windows Installer engine provides is a RICHEDIT control in read-only mode.
You can put just text in there (including Markdown) but it will be rendered using rich text rules.