如何在没有许可协议步骤的情况下创建引导程序应用程序 [英] How to create a bootstrapper application without a license agreement step

查看:29
本文介绍了如何在没有许可协议步骤的情况下创建引导程序应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个 WiX Bootstrapper 项目.安装运行时,会显示许可协议.

I have created a WiX Bootstrapper project. When the installation runs, it presents a license agreement.

我想创建一个没有这一步的引导程序,因为我不希望它显示任何许可协议.有可能做到吗?如果是,如何?

I want to create a bootstrapper without this step as I don't want it to show any license agreement. Is it possible to do it? If yes, how?

推荐答案

假设您正在使用 WiX 标准 Bootstrapper 应用程序,您当前的 BootstrapperApplicationRef 可能如下所示:

Assuming that you are using the WiX Standard Bootstrapper Application, your current BootstrapperApplicationRef might look like this:

<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" />

WixStandardBootstrapperApplication 具有三种变体,如文档中所述.HyperlinkLicense 是最简单的.它在欢迎页面上有一个许可证链接,而不是许可证页面.它允许您为许可证指定一个空 URL,在这种情况下它不会显示链接.例如,

WixStandardBootstrapperApplication has three variants as explained in the docs. HyperlinkLicense is the simplest. It has a license link on the welcome page instead of a license page. It allows you to specify an empty URL for the license, in which case it won't display the link. For example,

<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
  <bal:WixStandardBootstrapperApplication 
    LicenseUrl=""
    xmlns:bal="http://schemas.microsoft.com/wix/BalExtension" />
</BootstrapperApplicationRef>

这篇关于如何在没有许可协议步骤的情况下创建引导程序应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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