msi key contains set of options instructing electron-builder on how it should build MSI (Windows Installer) packages using WiX Toolset.
MSI installers provide a traditional Windows installation experience with built-in features like repair, modify, and clean uninstall through Windows Control Panel.
Configuration
One-click installation.
The upgrade code. Optional, by default generated using app id.The upgrade code is a GUID that uniquely identifies the product family. All versions of a product share the same upgrade code. This allows Windows Installer to recognize that a new version should upgrade an older version.
If
warningsAsErrors is true (default): treat warnings as errors. If warningsAsErrors is false: allow warnings.Any additional arguments to be passed to the WiX installer compiler, such as
["-ext", "WixUtilExtension"]These arguments are passed directly to the candle.exe compiler.Any additional arguments to be passed to the light.exe linker, such as
["-cultures:ja-jp"]The light.exe tool is the WiX linker that combines compiled object files into the final MSI package.Common Installer Options
Whether to install per all users (per-machine).
Whether to run the installed application after finish. For assisted installer corresponding checkbox will be removed.
Whether to create desktop shortcut. Set to
always if to recreate also on reinstall (even if removed by user).Whether to create start menu shortcut.
Whether to create submenu for start menu shortcut and program files directory. If
true, company name will be used. Or string value.The name that will be used for all shortcuts. Defaults to the application name.
WiX Toolset
electron-builder uses the WiX Toolset to create MSI installers. WiX must be installed on the build machine or will be downloaded automatically. The MSI target provides:- Traditional Windows installation experience
- Built-in support for repair and modify operations
- Clean uninstall through Windows Control Panel
- Per-machine or per-user installation options
- Integration with Windows Installer service
Example Configuration
Inherited Properties
The following properties are inherited from Common Configuration:artifactNamepublish