Skip to content

MSI Wrapped

Configuration

Electron-Builder / app-builder-lib / MsiWrappedOptions

Extends

Properties

additionalWixArgs?

readonly optional additionalWixArgs: null | string[]

Any additional arguments to be passed to the WiX installer compiler, such as ["-ext", "WixUtilExtension"]


artifactName?

readonly optional artifactName: null | string

The artifact file name template.

Inherited from

TargetSpecificOptions.artifactName


createDesktopShortcut?

readonly optional createDesktopShortcut: boolean | "always"

Whether to create desktop shortcut. Set to always if to recreate also on reinstall (even if removed by user).

Default
true
Inherited from

CommonWindowsInstallerConfiguration.createDesktopShortcut


createStartMenuShortcut?

readonly optional createStartMenuShortcut: boolean

Whether to create start menu shortcut.

Default
true
Inherited from

CommonWindowsInstallerConfiguration.createStartMenuShortcut


impersonate?

readonly optional impersonate: boolean

Determines if the wrapped installer should be executed with impersonation

Default
false

readonly optional menuCategory: string | boolean

Whether to create submenu for start menu shortcut and program files directory. If true, company name will be used. Or string value.

Default
false
Inherited from

CommonWindowsInstallerConfiguration.menuCategory


oneClick?

readonly optional oneClick: boolean

Inherited from

CommonWindowsInstallerConfiguration.oneClick


perMachine?

readonly optional perMachine: boolean

Whether to install per all users (per-machine).

Default
false
Inherited from

CommonWindowsInstallerConfiguration.perMachine


publish?

optional publish: Publish

Inherited from

TargetSpecificOptions.publish


runAfterFinish?

readonly optional runAfterFinish: boolean

Whether to run the installed application after finish. For assisted installer corresponding checkbox will be removed.

Default
true
Inherited from

CommonWindowsInstallerConfiguration.runAfterFinish


shortcutName?

readonly optional shortcutName: null | string

The name that will be used for all shortcuts. Defaults to the application name.

Inherited from

CommonWindowsInstallerConfiguration.shortcutName


upgradeCode?

readonly optional upgradeCode: null | string

The upgrade code. Optional, by default generated using app id.


warningsAsErrors?

readonly optional warningsAsErrors: boolean

If warningsAsErrors is true (default): treat warnings as errors. If warningsAsErrors is false: allow warnings.

Default
true

wrappedInstallerArgs?

readonly optional wrappedInstallerArgs: null | string

Extra arguments to provide to the wrapped installer (ie: /S for silent install)