You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-19Lines changed: 20 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,9 @@
2
2
3
3
A Windows installer for the [Hack](https://github.com/chrissimpkins/Hack) typeface.
4
4
5
+
While it might seem like overkill to use a Windows installer for fonts, there is good reason for this on the Windows platform. A number of things can go wrong when one tries to install or update frequently updated fonts manually (see [issue #152](https://github.com/chrissimpkins/Hack/issues/152) and [issue #129](https://github.com/chrissimpkins/Hack/issues/129) in the [Hack repository](https://github.com/chrissimpkins/Hack/)).
5
6
6
-
## Why is a Windows Font Installer Necessary?
7
-
8
-
While it might seem like overkill to use a Windows installer for fonts, there is good reason for this on the Windows platform. A number of things can go wrong when one tries to install or update frequently updated fonts manually (see [issue #152](https://github.com/chrissimpkins/Hack/issues/152) in the Hack repository).
9
-
10
-
This installer addresses most of these issues. A (not complete) list of things that can go wrong can be found in [FontInstallationIssues.md](https://github.com/source-foundry/Hack-windows-installer/blob/master/FontInstallationIssues.md).
7
+
This installer addresses most of the [commonly obeserved issues](https://github.com/source-foundry/Hack-windows-installer/blob/master/FontInstallationIssues.md).
11
8
12
9
13
10
## Usage
@@ -17,6 +14,15 @@ This installer addresses most of these issues. A (not complete) list of things t
17
14
- Follow the installation instructions
18
15
19
16
17
+
## Installer Source
18
+
19
+
You may review the comment annotated installer source in [HackWindowsInstaller.iss](https://github.com/source-foundry/Hack-windows-installer/blob/master/src/HackWindowsInstaller.iss).
20
+
21
+
To build this setup yourself, download the most recent ANSI (not Unicode) version of [Inno Setup](http://www.jrsoftware.org/isdl.php). Install it and activate the option to install the [Inno Setup Preprocessor](http://www.jrsoftware.org/ispphelp/). Double-click `HackWindowsInstall.iss` (folder `src`), which will load it in Inno Setup and select *Build* - *Compile*.
22
+
23
+
We release the compiled installer with its SHA256 hash digest and [VirusTotal](https://virustotal.com/en/) malware scan report link in [Releases](https://github.com/source-foundry/Hack-windows-installer/releases/latest).
24
+
25
+
20
26
## Silent Installation
21
27
22
28
To install silently, use the following command:
@@ -28,30 +34,25 @@ To remove it silently:
28
34
``C:\Program Files\Hack Windows Installer\unins000.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART``
29
35
30
36
31
-
## Installer Source
32
-
33
-
You may review the comment annotated installer source in [HackWindowsInstaller.iss](https://github.com/source-foundry/Hack-windows-installer/blob/master/src/HackWindowsInstaller.iss).
34
-
35
-
We release the compiled installer with its SHA256 hash digest and [VirusTotal](https://virustotal.com/en/) malware scan report link in [Releases](https://github.com/source-foundry/Hack-windows-installer/releases).
36
-
37
-
38
37
## Troubleshooting
39
38
40
-
The installer creates a log file on the path C:\Users\(Username)\AppData\Local\Temp\Setup Log (Year-Month-Day) #<XXX>.txt.
39
+
The installer creates a log file on the path `C:\Users\(Username)\AppData\Local\Temp\Setup Log (Year-Month-Day) #XXX.txt`.
41
40
42
41
If you are using EMET: If the "Only trusted fonts" option is activated, you need to declare Hack as trusted or it will not be usable.
43
42
44
43
45
44
## Contributions
46
45
47
-
Any constructive contribution is very welcome! If you have any question or encounter a bug, please create a new [issue](https://github.com/source-foundry/Hack-windows-installer/issues/new).
48
-
49
-
50
-
## Build from Source
46
+
Any constructive contribution is very welcome!
51
47
52
-
To build this setup yourself, download the most recent ANSI (not Unicode) version of [Inno Setup](http://www.jrsoftware.org/isdl.php). Install it and activate the option to install the [Inno Setup Preprocessor](http://www.jrsoftware.org/ispphelp/).
48
+
In order to fix a bug you have encountered, we require the log file from the installer. To view this log file, do the following:
53
49
54
-
Double-click `HackWindowsInstall.iss` (from folder `src`), which will load it in Inno Setup and then select *Build* - *Compile*.
50
+
- Click Start -> Click Run -> Enter *%temp%* to open your TEMP folder
51
+
- Locate the file called Setup Log 2016-04-26 #xxx.txt where XXX should be 001
52
+
- Double-click it and look into it to make sure it's the setup log from our installer. In the third line it should say *HackWindowsInstaller.exe*
53
+
- Check the file for any information that you do not want others to see. For example, line 3,4 and 10 contain the paths where the setup is started from and how your TEMP folder is called. Just delete these lines. The other lines should be safe and only contain common information.
54
+
- Open a new [issue](https://github.com/source-foundry/Hack-windows-installer/issues/new) in the Hack-Windows-Installer repository
55
+
- Paste the entire text (minus the lines noted above) there
;If a user copies *.TTF files to the "Fonts" applet and a font file with the same name already exists, Windows will simply append "_0" (or _1) to the font file and copy it.
228
218
;These "ghost" files need to be exterminated!
229
219
230
-
;Helper macro to add something to a filename before the extension
220
+
;Helper macro to add a string at the end oof filename, but before the extension
231
221
#define public AddStringToEndOfFilename(str fileName, str whatToAdd) \
;If a user copies *.TTF files to the "Fonts" applet and a font file with the same name already exists, Windows will simply append "_0" (or _1) to the font file and copy it.
171
162
;These "ghost" files need to be exterminated!
172
163
173
-
;Helper macro to add something to a filename before the extension
164
+
;Helper macro to add a string at the end oof filename, but before the extension
0 commit comments