Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I can't seem to find a comprehensive list of commands, flags, and things I can do from the command line.

like image 612
Bob Avatar asked Jun 02 '17 15:06

Bob


People also ask

What is a bootstrapper in WiX?

A WiX bootstrapper is a chainer, or an installer that installs multiple MSI files in sequence. It is typically used when an application has multiple dependencies, or when an MSI file needs to be installed before another MSI file can be installed. WiX bootstrappers can be created using the WiX toolset.

What is WiX Burn?

WiX Burn is a toolset that allows developers to create installer applications for Windows Installer, the Microsoft installation engine. WiX Burn is based on the WiX (Windows Installer XML) toolset.

What is WiX bundle?

WiX bundles allow developers to create installers that are compliant with the Windows Installer technology. WiX bundles provide a set of tools, templates, and documentation that make it easy to create installer packages. WiX bundles are available for download from the WiX website.


1 Answers

WiX installers will take the standard Windows Installer commandline switches, as documented in Command-Line Options.

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: Microsoft Standard Installer Command-Line Options

like image 117
John M. Wright Avatar answered Oct 18 '22 08:10

John M. Wright