-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.iss.in
45 lines (39 loc) · 1.46 KB
/
setup.iss.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#define MyAppName "Cake"
#define MyAppVersion "@CAKE_VERSION@"
#define MyAppPublisher "lanthora"
#define MyAppURL "https://github.com/lanthora/cake"
#define MyAppExeName "cake.exe"
#define MyAppArtifactsDir "artifacts"
#define MyAppOutputDir "installer"
#define MyAppLogo "logo.ico"
[Setup]
AppId={{5068A825-71E9-41D2-A72D-E7260E187122}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVerName={#MyAppName}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName=C:\Program Files\{#MyAppName}
OutputDir={#MyAppOutputDir}
OutputBaseFilename={#MyAppName}-{#MyAppVersion}
SetupIconFile={#MyAppLogo}
DisableProgramGroupPage=yes
Compression=lzma
SolidCompression=yes
WizardStyle=modern
PrivilegesRequired=admin
DisableFinishedPage=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "{#MyAppArtifactsDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#MyAppLogo}"; DestDir: "{app}"; Flags: ignoreversion
[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: {app}\{#MyAppLogo}
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: {app}\{#MyAppLogo}; Tasks: desktopicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Flags: nowait postinstall runascurrentuser