forked from MathewSachin/Captura
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Inno.iss
79 lines (71 loc) · 3.19 KB
/
Inno.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
; Override version before compiling
;#define MyAppVersion "6.0.0"
#define MyAppName "Captura"
#define MyAppPublisher "Mathew Sachin"
#define MyAppURL "https://MathewSachin.github.io/Captura"
#define MyAppExeName "captura.exe"
[Setup]
AppId={{C1670C5E-5042-4300-9491-6BFFF963823F}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVerName={#MyAppName} v{#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DisableProgramGroupPage=yes
OutputBaseFilename=Captura-Setup
Compression=lzma
SolidCompression=yes
SetupIconFile=src/Captura/Images/Captura.ico
OutputDir=temp
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "danish"; MessagesFile: "compiler:Languages\Danish.isl"
Name: "dutch"; MessagesFile: "compiler:Languages\Dutch.isl"
Name: "finnish"; MessagesFile: "compiler:Languages\Finnish.isl"
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
Name: "hebrew"; MessagesFile: "compiler:Languages\Hebrew.isl"
Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl"
Name: "norwegian"; MessagesFile: "compiler:Languages\Norwegian.isl"
Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl"
Name: "portuguese"; MessagesFile: "compiler:Languages\Portuguese.isl"
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
Name: "ukrainian"; MessagesFile: "compiler:Languages\Ukrainian.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
; Remove Assemblies from previous installation to prevent conflicts
[InstallDelete]
Type: files; Name: "{app}\bass.dll"
Type: files; Name: "{app}\bassmix.dll"
Type: files; Name: "{app}\Captura.*.dll"
Type: files; Name: "{app}\Captura.Core.dll.config"
Type: files; Name: "{app}\captura.exe"
Type: files; Name: "{app}\captura.exe.config"
Type: files; Name: "{app}\Captura.UI.exe"
Type: files; Name: "{app}\Captura.UI.exe.config"
Type: files; Name: "{app}\CommandLine.dll"
Type: files; Name: "{app}\DesktopDuplication.dll"
Type: files; Name: "{app}\DesktopDuplication.dll.config"
Type: files; Name: "{app}\FirstFloor.ModernUI.dll"
Type: files; Name: "{app}\Gma.System.MouseKeyHook.dll"
Type: files; Name: "{app}\Hardcodet.Wpf.TaskbarNotification.dll"
Type: files; Name: "{app}\ManagedBass*.dll"
Type: files; Name: "{app}\ModernUI.Xceed.Toolkit.dll"
Type: files; Name: "{app}\Newtonsoft.Json.dll"
Type: files; Name: "{app}\Ninject.dll"
Type: files; Name: "{app}\Ookii.Dialogs.dll"
Type: files; Name: "{app}\Screna.dll"
Type: files; Name: "{app}\SharpAvi.dll"
Type: files; Name: "{app}\SharpDX*.dll"
Type: files; Name: "{app}\Xceed.Wpf.Toolkit.dll"
[Files]
Source: "dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
[Icons]
Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent