This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Inno Config.iss
57 lines (49 loc) · 2.22 KB
/
Inno Config.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
; Variables:
#define MyAppName "RedEye"
#define MyAppVersion "1.4.1"
#define MyAppPublisher "Swerik"
#define MyAppURL "https://github.com/TheSwerik/RedEye"
#define MyAppExeName "RedEye.exe"
#define MyAppIconName "RedEye.ico"
[Setup]
AppId={{0F48D403-E6A3-4037-8B6D-1F3D032D473A}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
AppVerName={#MyAppName}
DefaultDirName={autopf}\{#MyAppName}
DefaultGroupName={#MyAppName}
Compression=lzma2
SolidCompression=yes
WizardStyle=modern
OutputBaseFilename={#MyAppName}
OutputDir=Installer
ArchitecturesInstallIn64BitMode=x64
AllowNoIcons=yes
ShowLanguageDialog=auto
CloseApplications=yes
CloseApplicationsFilter=*.*
SetupIconFile=assets\{#MyAppIconName}
UninstallDisplayIcon={app}\{#MyAppExeName}
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Dirs]
Name: "{app}\bin\assets"; Permissions: users-modify
[Files]
Source: "Publish\bin\*"; DestDir: "{app}\bin"; Excludes:"*.pdb;Publish\bin\config.csv;Publish\bin\assets\examples\*"; Check: Is64BitInstallMode; Flags: ignoreversion recursesubdirs
Source: "Publish\bin\config.csv"; DestDir: "{userdocs}\{#MyAppName}"; Check: Is64BitInstallMode; Flags: ignoreversion recursesubdirs
Source: "Publish\bin\assets\examples\*"; DestDir: "{userdocs}\..\Pictures\{#MyAppName}\Sources\examples"; Check: Is64BitInstallMode; Flags: ignoreversion recursesubdirs
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Flags: createonlyiffileexists;
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Tasks: desktopicon; Flags: createonlyiffileexists;
Name: "{app}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Flags: createonlyiffileexists;
[Run]
Filename: "{app}\bin\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Check: IsWin64; Flags: nowait postinstall skipifsilent
[UninstallDelete]
Type: filesandordirs; Name: "{userdocs}\RedEye\config.csv"