-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFire.iss
74 lines (61 loc) · 2.22 KB
/
Fire.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
; This script is best executed by Fire's "Make" utility.
#define MyAppVersion "9.4.1+238"
#define MyAppName "Fire"
#define MyAppExeName "Fire.dws"
#define MyAppPublisher "Kai Jaeger"
#define MyAppURL "https://github.com/aplteam/Fire"
#define MyAppIcoName "Fire.ico"
#define MyBlank " "
#define TargetDir "<<TARGETDIR>>"
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
AppId={{45ab0fb3-f47a-1048-97ab-a7fe5a4bd1d3}
AppName="{#MyAppName}"
AppVersion={#MyAppVersion}
AppVerName={#MyAppName}{#MyBlank}{#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={userdocs}//MyUCMDs//{#MyAppName}
DefaultGroupName={#MyAppPublisher}/{#MyAppName}
AllowNoIcons=yes
OutputDir={#TargetDir}
OutputBaseFilename="SetUp_{#MyAppName}_{#MyAppVersion}"
Compression=lzma
SolidCompression=yes
SetupIconFile={#MyAppIcoName}
PrivilegesRequired=Lowest
AlwaysShowDirOnReadyPage=yes
DisableWelcomePage=no
DisableDirPage=no
CreateUninstallRegKey=no
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"; LicenseFile: "License";
[Registry]
[Dirs]
[Files]
Source: "{#TargetDir}Fire_uc.dyalog"; DestDir: "{app}";
Source: "{#TargetDir}ReadMe.html"; DestDir: "{app}";
Source: "{#TargetDir}FireAndRegularExpressions.html"; DestDir: "{app}";
Source: "{#TargetDir}FireAndRegularExpressions.html"; DestDir: "{app}";
Source: "{#TargetDir}ReleaseNotes.html"; DestDir: "{app}";
Source: "{#TargetDir}UsefulRegExes.html"; DestDir: "{app}";
Source: "{#TargetDir}{#MyAppExeName}"; DestDir: "{app}"
Source: "{#TargetDir}packages/*"; DestDir: "{app}/packages/"; Flags: recursesubdirs
Source: "{#TargetDir}LICENSE"; DestDir: "{app}"
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
[Run]
; Because with 9.1.0 the user command script was moved into Fire/, so we delete leftovers:
Filename: "{app}/ReleaseNotes.html"; Description: "View the Release Notes"; Flags: postinstall shellexec skipifsilent
[Tasks]
[InstallDelete]
[Code]
// Delete potential left-over from 9.1.0 (and earlier) installations
procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep = ssPostInstall then begin
DeleteFile(ExpandConstant('{app}\..\Fire_uc.dyalog'));
end;
end;