UNPKG

1.14 kBTypeScriptView Raw
1import { TargetSpecificOptions } from "../core";
2import { CommonWindowsInstallerConfiguration } from "./CommonWindowsInstallerConfiguration";
3export interface MsiOptions extends CommonWindowsInstallerConfiguration, TargetSpecificOptions {
4 /**
5 * One-click installation.
6 * @default true
7 */
8 readonly oneClick?: boolean;
9 /**
10 * The [upgrade code](https://msdn.microsoft.com/en-us/library/windows/desktop/aa372375(v=vs.85).aspx). Optional, by default generated using app id.
11 */
12 readonly upgradeCode?: string | null;
13 /**
14 * If `warningsAsErrors` is `true` (default): treat warnings as errors. If `warningsAsErrors` is `false`: allow warnings.
15 * @default true
16 */
17 readonly warningsAsErrors?: boolean;
18 /**
19 * Any additional arguments to be passed to the WiX installer compiler, such as `["-ext", "WixUtilExtension"]`
20 */
21 readonly additionalWixArgs?: Array<string> | null;
22 /**
23 * The [shortcut iconId](https://wixtoolset.org/documentation/manual/v4/reference/wxs/shortcut/). Optional, by default generated using app file name.
24 */
25 readonly iconId?: string;
26}