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

给你一囗甜甜゛ 提交于 2019-12-18 05:06:07

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/44332496/comprehensive-list-of-command-line-flags-options-for-burn-bootstrapper-in-wix

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!