Skip to content

Commit bc7b0ad

Browse files
committed
Added name of the pacakge to InstallInfo.ini
1 parent 3157bb5 commit bc7b0ad

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

src/HackWindowsInstaller.iss

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
//Copyright information
3939
#define public Copyright 'Copyright © 2016 Michael Hex / Source Foundry'
40-
//
40+
4141

4242
//Internal names of the services
4343
#define public FontCacheService 'FontCache'
@@ -59,11 +59,6 @@
5959
#define cntr 0
6060

6161

62-
//Definition for Hack Font
63-
//#define hack_component 'hack'
64-
//#define hack_description 'Hack by Christopher Simpkins'
65-
66-
6762

6863
#define font_source[cntr] HackMonospaced_Sourcefolder
6964
#define font_file[cntr] 'Hack-Bold.ttf'
@@ -233,6 +228,7 @@ Type: files; Name: "{fonts}\Hack-RegularOblique.ttf";
233228
[INI]
234229
;Create an ini to make detection for enterprise deployment tools easy
235230
Filename: "{app}\InstallInfo.ini"; Section: "Main"; Key: "Version"; String: "{#Version}"
231+
Filename: "{app}\InstallInfo.ini"; Section: "Main"; Key: "Name"; String: "{#AppName}"
236232

237233
[UninstallDelete]
238234
;Delete Install Info
@@ -241,8 +237,6 @@ Type: files; Name: "{app}\InstallInfo.ini"
241237

242238

243239

244-
245-
246240
[Code]
247241
type
248242
SERVICE_STATUS = record

src/HackWindowsInstaller_TEMP_Preprocessed.iss

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939

4040

4141

42-
4342

4443

4544
;---DEBUG---
@@ -58,10 +57,6 @@
5857

5958

6059
;General procedure
61-
; a) Welcome page (Needed to display the version of this setup)
62-
; b) License is shown
63-
; c) Readme is displayed
64-
; d) Select fonts to install
6560
; e) Ready to install
6661
; d) INSTALL
6762
; d1) InstallDelete
@@ -89,6 +84,7 @@ AppCopyright=Copyright
8984

9085
;No icon?
9186
;UninstallDisplayIcon
87+
;SetupIconFile
9288

9389
;Target folder settings
9490
DefaultDirName={pf}\Hack Windows Installer\
@@ -175,6 +171,7 @@ Type: files; Name: "{fonts}\Hack-RegularOblique.ttf";
175171
[INI]
176172
;Create an ini to make detection for enterprise deployment tools easy
177173
Filename: "{app}\InstallInfo.ini"; Section: "Main"; Key: "Version"; String: "1.0.0"
174+
Filename: "{app}\InstallInfo.ini"; Section: "Main"; Key: "Name"; String: "Hack Windows Installer"
178175

179176
[UninstallDelete]
180177
;Delete Install Info
@@ -183,8 +180,6 @@ Type: files; Name: "{app}\InstallInfo.ini"
183180

184181

185182

186-
187-
188183
[Code]
189184
type
190185
SERVICE_STATUS = record

0 commit comments

Comments
 (0)