wix指定许可证什么都不显示 [英] wix specify licence shows nothing

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

问题描述

我正在尝试为wix设置项目指定许可证.

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

我在rtpad/notepad/vs中创建了一个带有一些虚拟行的rtf,尝试了几种不同的方式,因为我读到用word创建的存在问题,但是我认为这不适用于此处,无论如何我也在记事本++中将其打开,并确认其中没有隐藏任何时髦的字符.

I have created a rtf with a few dummy lines in wordpad/notepad/vs tried a few different ways as I read there was an issue with ones created in word but I dont think that should apply here, in any case I also opened it up in notepad++ and verified there is no funky characters hidden in it.

我正在这样指定文件

<WixVariable Id="WixUILicenseRtf" Value="$(var.ProjectDir)\Resources\test.rtf" />

该文件存在于project \ Resources目录下.

And the file exists under the project\Resources directory.

运行安装程序时,许可证区域中显示的所有内容都是一个空白文本框,没有滚动条等.

When I run the installer all that is shown in the licence area is a blank text box with no scroll bars etc.

还有什么我应该做的吗?

Is there something else I should be doing?

推荐答案

从写字板中保存license.rtf.请参阅此网页( http://wixtoolset.org/documentation/manual/v3/wixui /wixui_customizations.html ),特别是本节:

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

富人有一个已知问题 用于显示文本的文本控件 可能导致 文本显示为空白,直到用户 在控件中向下滚动.这是 通常由复杂的RTF引起 内容(例如生成的RTF 在Microsoft中保存RTF文件时 单词).如果您遇到这种情况 在您的设置用户界面中,执行以下操作之一 解决方法可以在大多数情况下解决此问题:

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:

在写字板中打开RTF文件并保存 从那里删除 文件中的复杂RTF内容. 保存后,重建您的MSI.使用 除 WixUI_Minimal集.这个问题 通常仅在许可证 协议屏幕是第一个 在安装过程中显示,仅 WixUI_Minimal对话框发生 设置.

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.

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

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