如何摆脱 wixca.dll 并在 WIX v3 中打印 Eula [英] How to get rid of wixca.dll and print Eula in WIX v3

查看:18
本文介绍了如何摆脱 wixca.dll 并在 WIX v3 中打印 Eula的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 WIX 的完全新手,目前我正在将 WIX 项目从版本 2 升级到版本 3.以下片段使用从 WIX 版本 2 复制的 wixca.dll 打印 Eula(据我所知)):

I am a complete newbie in WIX and currently I am working on upgrading a WIX project from version 2 to version 3. The following fragment prints Eula with wixca.dll that is copied from WIX version 2 (as far as I can guess):

<Fragment>
<!-- print EULA functionality -->
    <CustomAction Id="WixUIPrintEula"
              BinaryKey="WixUIWixca"
              DllEntry="PrintEula"
              Return="ignore"
              Execute="immediate" />
    <Binary Id="WixUIWixca"
        SourceFile="wixca.dll" />
</Fragment>

如何摆脱这个 wixca.dll 以及在 WIX 3 中打印 Eula 的正确方法是什么?

How to get rid of this wixca.dll and what is the right way to print Eula in WIX 3?

推荐答案

Wix v3 不包含 wixca.dll,您可以使用 v3 通过 UI 本地打印 EULA.选择一个支持 EULA 的随附 UI 集并按如下方式指定:

Wix v3 does not contain a wixca.dll, you print an EULA nativly through the UI with v3. Pick one of the shipped UI sets that support an EULA and specify it as follows:

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

请参阅自定义内置 WixUI 对话框集,了解一些示例.

See Customizing Built-in WixUI Dialog Sets for some examples.

这篇关于如何摆脱 wixca.dll 并在 WIX v3 中打印 Eula的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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