UNPKG

1.16 kBTypeScriptView Raw
1import { TargetSpecificOptions } from "../core";
2import { CommonWindowsInstallerConfiguration } from "./CommonWindowsInstallerConfiguration";
3export interface MsiWrappedOptions extends CommonWindowsInstallerConfiguration, TargetSpecificOptions {
4 /**
5 * Extra arguments to provide to the wrapped installer (ie: /S for silent install)
6 */
7 readonly wrappedInstallerArgs?: string | null;
8 /**
9 * Determines if the wrapped installer should be executed with impersonation
10 * @default false
11 */
12 readonly impersonate?: boolean;
13 /**
14 * The [upgrade code](https://msdn.microsoft.com/en-us/library/windows/desktop/aa372375(v=vs.85).aspx). Optional, by default generated using app id.
15 */
16 readonly upgradeCode?: string | null;
17 /**
18 * If `warningsAsErrors` is `true` (default): treat warnings as errors. If `warningsAsErrors` is `false`: allow warnings.
19 * @default true
20 */
21 readonly warningsAsErrors?: boolean;
22 /**
23 * Any additional arguments to be passed to the WiX installer compiler, such as `["-ext", "WixUtilExtension"]`
24 */
25 readonly additionalWixArgs?: Array<string> | null;
26}