gpt4 book ai didi

wix - WiX中Burn/bootstrapper的命令行标志/选项的完整列表

转载 作者:行者123 更新时间:2023-12-03 09:48:28 25 4
gpt4 key购买 nike

标题说明了一切。我似乎找不到完整的命令/标记/我可以从命令行执行的操作的列表。

最佳答案

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-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).


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

关于wix - WiX中Burn/bootstrapper的命令行标志/选项的完整列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44332496/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com