WiX 中 Burn/bootstrapper 的命令行 flags/options 综合列表

Comprehensive list of command line flags/options for Burn/bootstrapper in WiX

我似乎找不到全面的命令、标志和我可以从命令行执行的操作的列表。

WiX 安装程序将采用标准 Windows 安装程序命令行开关,如 Command-Line Options.

中所述

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

WiX 邮件列表上的主要 WiX 维护者确认了这一点: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).

您可能还想熟悉标准安装程序命令行参数:Microsoft Standard Installer Command-Line Options