WiX 中 Burn/bootstrapper 的命令行标志/选项的综合列表 [英] Comprehensive list of command line flags/options for Burn/bootstrapper in WiX

查看:12
本文介绍了WiX 中 Burn/bootstrapper 的命令行标志/选项的综合列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题说明了一切.我似乎找不到命令/标志/things-I-can-do-from-the-command-line 的全面列表.

解决方案

WiX 安装程序将采用标准的 Windows Installer 命令行开关,如下所述:https://msdn.microsoft.com/en-us/library/windows/desktop/aa367988(v=vs.85).aspx

如果您使用的是自定义刻录安装程序,则添加到命令行的任何其他参数都将传递给您的安装程序.

WiX 邮件列表上的主要 WiX 维护者确认了这一点:http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Running-Burn-驱动安装程序在安静模式下命令行参数-tp5913001p5913628.html

<块引用>

  1. 是的,当然.Burn 支持解析标准包开关",并将在 Bootstrapper 上传递额外的开关应用程序,以便它可以应用其他行为.

  2. 完整列表取决于您选择的引导程序应用程序.wixstdba 仅支持标准包开关":

 -q, -quiet, -s, -silent = 静默安装-passive = 仅安装进度条-norestart = 禁止重新启动-forcerestart = 无论如何重新启动(我不知道为什么仍然存在)-promptrestart = 提示是否需要重新启动(默认)-layout = 创建引导程序的本地映像(即下载文件以便将它们刻录到 DVD)-l, -log = 记录到特定文件(默认由捆绑开发者控制)-卸载 = 卸载-repair = 修复(如果未安装,则安装)-package,-update = install (如果没有 -uninstall 或 -repair 则默认)

<块引用>

  1. 是的,如上所述,额外的命令行参数被传递给 > BootstrapperApplication,它可以设置变量以流入链式包(ExePackage XxxCommand 属性或MsiPackage/MsiProperty 元素).

您可能还想熟悉标准安装程序命令行参数:https://msdn.microsoft.com/en-us/library/windows/desktop/aa372024(v=vs.85).aspx

The title says it all. I can't seem to find a comprehensive list of commands/flags/things-I-can-do-from-the-command-line.

解决方案

WiX installers will take the standard Windows Installer commandline switches, as documented here: https://msdn.microsoft.com/en-us/library/windows/desktop/aa367988(v=vs.85).aspx

Any additional parameters that are added to the commandline will be passed on to your installer if you're using a custom burn installer.

This was confirmed by the primary WiX maintainer on the WiX mailing list: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Running-Burn-driven-installer-in-quiet-mode-command-line-parameters-tp5913001p5913628.html

  1. Yes, absolutely. Burn supports parsing the "standard package switches" and will pass extra switches on the Bootstrapper Application so it can apply additional behavior.

  2. The complete list is dependent on the Bootstrapper Application you pick. The wixstdba supports only the "standard package switches":

 -q, -quiet, -s, -silent = silent install 
 -passive = progress bar only install 
 -norestart = suppress any restarts 
 -forcerestart = restart no matter what (I don't know why this is still  around) 
 -promptrestart = prompt if a restart is required (default) 
 -layout = create a local image of the bootstrapper (i.e. download files so  they can be burned to DVD) 
 -l, -log = log to a specific file (default is controled by bundle developer) 
 -uninstall = uninstall 
 -repair = repair (or install if not installed) 
 -package,-update = install (default if no -uninstall or -repair) 

  1. Yes, as noted above extra command-line parameters are passed to the > BootstrapperApplication and it can set Variables to flow into Chained Packages (ExePackage XxxCommand attributes or MsiPackage/MsiProperty element).

You may want to also be familiar with the standard installer command line parameters: https://msdn.microsoft.com/en-us/library/windows/desktop/aa372024(v=vs.85).aspx

这篇关于WiX 中 Burn/bootstrapper 的命令行标志/选项的综合列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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