-
Notifications
You must be signed in to change notification settings - Fork 6
/
cantara.iss
46 lines (40 loc) · 2.02 KB
/
cantara.iss
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
46
#define MyAppName "Cantara"
#define MyAppOutputName "cantara"
#define MyAppVersion "2.6.1"
#define MyAppPublisher "Jan Martin Reckel"
#define MyAppURL "https://cantara.app"
#define MyAppExeName "cantara.exe"
#define MyInstallerSuffix "_setup_win64"
#define ReleaseDir "src\"
[Setup]
AppName=Cantara
AppVersion={#MyAppVersion}
DefaultDirName={pf}\{#MyAppName}
Compression=zip
InternalCompressLevel=ultra
SolidCompression=yes
CompressionThreads=2
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64
OutputBaseFilename={#MyAppOutputName}{#MyAppVersion}{#MyInstallerSuffix}
LicenseFile=innosetup_license_file.txt
[Languages]
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"
[Files]
Source: "{#ReleaseDir}cantara.exe"; DestDir: "{app}"; DestName: "{#MyAppExeName}"; Flags: ignoreversion;
Source: "{#ReleaseDir}languages\de\*.mo"; DestDir: "{app}\languages\de"; Flags: ignoreversion;
Source: "{#ReleaseDir}languages\zh\*.mo"; DestDir: "{app}\languages\zh"; Flags: ignoreversion;
Source: "{#ReleaseDir}languages\it\*.mo"; DestDir: "{app}\languages\it"; Flags: ignoreversion;
Source: "{#ReleaseDir}languages\es\*.mo"; DestDir: "{app}\languages\es"; Flags: ignoreversion;
Source: "{#ReleaseDir}languages\nl\*.mo"; DestDir: "{app}\languages\nl"; Flags: ignoreversion;
Source: "{#ReleaseDir}Cantara.ico"; DestDir: "{app}"; DestName: "Cantara.ico"; Flags: ignoreversion;
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Comment: "Cantara"
Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Comment: "Cantara"; Tasks: desktopicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent