-
Notifications
You must be signed in to change notification settings - Fork 7
/
FontUtils.iss
51 lines (42 loc) · 1.79 KB
/
FontUtils.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
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
; Assumes iscc commandline parameters, e.g.:
; iscc.exe /dMyVer=0.16.2 FontUtils.iss
; where
; MyVer is the version for this release in the form n.n.n, and
; ParlPath is the name of the folder containing parl.exe
;#define Debug
#define MyFileName StringChange("TTFontUtils_" + MyVer, ".", "_")
#define MyVer StringChange(MyVer, "_", ".")
[Setup]
AppName=SIL TTF Font Utilities
AppVersion={#MyVer}
AppVerName=SIL TTF Font Utilities {#MyVer}
AppPublisher=SIL International
AppPublisherURL=http://www.sil.org/
AppSupportURL=http://scripts.sil.org/FontUtils
; AppUpdatesURL=http://www.sil.org/
VersionInfoVersion={#MyVer}
VersionInfoCopyright="Copyright (c) 1997-2016, SIL International (http://www.sil.org); released under the Artistic License 2.0"
DefaultDirName={pf}\SIL\FontUtils
DefaultGroupName=Font Utilities
; uncomment the following line if you want your installation to run on NT 3.51 too.
; MinVersion=4,3.51
PrivilegesRequired=admin
OutputBaseFilename={#MyFileName}
OutputDir=.
; DisableProgramGroupPage=yes
DisableStartupPrompt=yes
[Tasks]
Name: updatepath; Description: "Add installation directory to &PATH";
[Files]
Source: "fontutils.exe"; DestDir: "{app}"; Flags: ignoreversion
[Run]
Filename: "{app}\fontutils.exe"; Parameters: "addpath ""{app}"""; Flags: runminimized; Tasks: updatepath
Filename: "{app}\fontutils.exe"; Parameters: "addbats.pl ""{app}"""; Flags: runminimized
[UninstallRun]
Filename: "{app}\fontutils.exe"; Parameters: "addpath -r ""{app}"""; Flags: runminimized; Tasks: updatepath
Filename: "{app}\fontutils.exe"; Parameters: "addbats.pl -r ""{app}"""; Flags: runminimized
#ifdef Debug
#expr SaveToFile(AddBackslash(SourcePath) + "Preprocessed.iss")
#endif