1 | import { WinPackager } from "../winPackager";
|
2 | export interface CommonWindowsInstallerConfiguration {
|
3 | readonly oneClick?: boolean;
|
4 | |
5 |
|
6 |
|
7 |
|
8 | readonly perMachine?: boolean;
|
9 | |
10 |
|
11 |
|
12 |
|
13 | readonly runAfterFinish?: boolean;
|
14 | |
15 |
|
16 |
|
17 |
|
18 | readonly createDesktopShortcut?: boolean | "always";
|
19 | |
20 |
|
21 |
|
22 |
|
23 | readonly createStartMenuShortcut?: boolean;
|
24 | |
25 |
|
26 |
|
27 |
|
28 | readonly menuCategory?: boolean | string;
|
29 | |
30 |
|
31 |
|
32 | readonly shortcutName?: string | null;
|
33 | }
|
34 | export interface FinalCommonWindowsInstallerOptions {
|
35 | isAssisted: boolean;
|
36 | isPerMachine: boolean;
|
37 | shortcutName: string;
|
38 | menuCategory: string | null;
|
39 | isCreateDesktopShortcut: DesktopShortcutCreationPolicy;
|
40 | isCreateStartMenuShortcut: boolean;
|
41 | }
|
42 | export declare function getEffectiveOptions(options: CommonWindowsInstallerConfiguration, packager: WinPackager): FinalCommonWindowsInstallerOptions;
|
43 | export declare enum DesktopShortcutCreationPolicy {
|
44 | FRESH_INSTALL = 0,
|
45 | ALWAYS = 1,
|
46 | NEVER = 2
|
47 | }
|