Skip to content

Commit

Permalink
Commit for 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
texhex committed Apr 25, 2016
1 parent c2f1b1a commit 087fb0a
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 54 deletions.
54 changes: 28 additions & 26 deletions src/HackWindowsInstaller.iss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//#define DEBUG

//Update this when releasing a new version
#define public Version '1.0.1'
#define public Version '1.0.2'

//This defines in which sub folder of this project the current files are located
#define public HackMonospaced_Sourcefolder 'Hack_v2_019'
Expand Down Expand Up @@ -115,6 +115,7 @@




;General procedure
; e) Ready to install
; d) INSTALL
Expand All @@ -141,9 +142,11 @@ AppSupportURL={#Installer_Homepage}
AppComments=Hack font installer
AppCopyright={#Copyright}

;No icon?
;UninstallDisplayIcon
;SetupIconFile
;This icon is used for the icon of HackWindowsInstaller.exe itself
SetupIconFile=img\Hack-installer-icon.ico
;This icon will be displayed in Add/Remove programs and needs to be installed locally
UninstallDisplayIcon={app}\Hack-installer-icon.ico


;Target folder settings
DefaultDirName={pf}\Hack Windows Installer\
Expand Down Expand Up @@ -172,23 +175,29 @@ SolidCompression=yes

PrivilegesRequired=admin

;Only include LicenseFile and InfoBeforeFile when using a release build
;#ifndef DEBUG
;Might be disabled later on
;Ignore some screens
DisableWelcomePage=yes
DisableDirPage=yes
DisableProgramGroupPage=yes
AllowCancelDuringInstall=False

;License information
;LicenseFile=LICENSE.txt

;readme
;InfoBeforeFile=readme.md
[Messages]
;Default Windows/App text
;SetupAppTitle is displayed in the taskbar
SetupAppTitle={#AppName}
;SetupWindowsTitle is displayed in the setup window itself so better include the version
SetupWindowTitle={#AppName} {#Version}

;Message for the "Read to install" wizard page
;NOT USED - "Ready To Install" - below title bar
;WizardReady=
;"Setup is now ready to begin installing ...."
ReadyLabel1=
;"Click Install to continue with the installation"
ReadyLabel2b=Setup is now ready to install the Hack fonts v{#HackMonospaced_Version} on your system.

;#endif

;Ignore some screens
DisableDirPage=yes
DisableProgramGroupPage=yes
AllowCancelDuringInstall=False


[Icons]
Expand All @@ -202,6 +211,9 @@ Name: "{app}\Hack Homepage"; Filename: "{#HackMonospaced_Homepage}";
;Copy license files - always copied
Source: "license*.*"; DestDir: "{app}"; Flags: ignoreversion;

;Copy the icon to the installation folder in order to show it in Add/Remove programs
Source: "img\Hack-installer-icon.ico"; DestDir: "{app}"; Flags: ignoreversion;

;Install fonts
#define public i 0
#sub Sub_FontInstall
Expand Down Expand Up @@ -243,16 +255,6 @@ Filename: "{app}\InstallInfo.ini"; Section: "Main"; Key: "Name"; String: "{#AppN
Type: files; Name: "{app}\InstallInfo.ini"


[Messages]
;Message for the "Read to install" wizard page
;"Ready To Install"
;WizardReady=

;"Setup is now ready to begin installing ...."
ReadyLabel1=
;"Click Install to continue with the installation"
ReadyLabel2b=Setup is now ready to install the Hack fonts v{#HackMonospaced_Version} on your system.
;%n%nClick Install to continue.


[Code]
Expand Down
58 changes: 30 additions & 28 deletions src/HackWindowsInstaller_TEMP_Preprocessed.iss
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@




;General procedure
; e) Ready to install
; d) INSTALL
Expand All @@ -77,18 +78,20 @@ AppId=HackWindowsInstaller
SetupMutex=HackWindowsInstaller_SetupMutex

AppName=Hack Windows Installer
AppVersion=1.0.1
VersionInfoVersion=1.0.1
AppVersion=1.0.2
VersionInfoVersion=1.0.2

AppPublisher=Michael Hex / Source Foundry
AppContact=Michael Hex / Source Foundry
AppSupportURL=https://github.com/source-foundry/Hack-windows-installer
AppComments=Hack font installer
AppCopyright=Copyright © 2016 Michael Hex / Source Foundry

;No icon?
;UninstallDisplayIcon
;SetupIconFile
;This icon is used for the icon of HackWindowsInstaller.exe itself
SetupIconFile=img\Hack-installer-icon.ico
;This icon will be displayed in Add/Remove programs and needs to be installed locally
UninstallDisplayIcon={app}\Hack-installer-icon.ico


;Target folder settings
DefaultDirName={pf}\Hack Windows Installer\
Expand Down Expand Up @@ -117,23 +120,29 @@ SolidCompression=yes

PrivilegesRequired=admin

;Only include LicenseFile and InfoBeforeFile when using a release build
;#ifndef DEBUG
;Might be disabled later on
;Ignore some screens
DisableWelcomePage=yes
DisableDirPage=yes
DisableProgramGroupPage=yes
AllowCancelDuringInstall=False

;License information
;LicenseFile=LICENSE.txt

;readme
;InfoBeforeFile=readme.md
[Messages]
;Default Windows/App text
;SetupAppTitle is displayed in the taskbar
SetupAppTitle=Hack Windows Installer
;SetupWindowsTitle is displayed in the setup window itself so better include the version
SetupWindowTitle=Hack Windows Installer 1.0.2

;Message for the "Read to install" wizard page
;NOT USED - "Ready To Install" - below title bar
;WizardReady=
;"Setup is now ready to begin installing ...."
ReadyLabel1=
;"Click Install to continue with the installation"
ReadyLabel2b=Setup is now ready to install the Hack fonts v2.019 on your system.

;#endif

;Ignore some screens
DisableDirPage=yes
DisableProgramGroupPage=yes
AllowCancelDuringInstall=False


[Icons]
Expand All @@ -147,6 +156,9 @@ Name: "{app}\Hack Homepage"; Filename: "http://sourcefoundry.org/hack/";
;Copy license files - always copied
Source: "license*.*"; DestDir: "{app}"; Flags: ignoreversion;

;Copy the icon to the installation folder in order to show it in Add/Remove programs
Source: "img\Hack-installer-icon.ico"; DestDir: "{app}"; Flags: ignoreversion;

;Install fonts
Source: "fonts\Hack_v2_019\Hack-Bold.ttf"; FontInstall: "Hack Bold"; DestDir: "{fonts}"; Check: FontFileInstallationRequired; Flags: ignoreversion restartreplace;
Source: "fonts\Hack_v2_019\Hack-BoldItalic.ttf"; FontInstall: "Hack Bold Italic"; DestDir: "{fonts}"; Check: FontFileInstallationRequired; Flags: ignoreversion restartreplace;
Expand Down Expand Up @@ -174,24 +186,14 @@ Type: files; Name: "{fonts}\Hack-RegularOblique.ttf";

[INI]
;Create an ini to make detection for enterprise deployment tools easy
Filename: "{app}\InstallInfo.ini"; Section: "Main"; Key: "Version"; String: "1.0.1"
Filename: "{app}\InstallInfo.ini"; Section: "Main"; Key: "Version"; String: "1.0.2"
Filename: "{app}\InstallInfo.ini"; Section: "Main"; Key: "Name"; String: "Hack Windows Installer"

[UninstallDelete]
;Delete Install Info
Type: files; Name: "{app}\InstallInfo.ini"


[Messages]
;Message for the "Read to install" wizard page
;"Ready To Install"
;WizardReady=

;"Setup is now ready to begin installing ...."
ReadyLabel1=
;"Click Install to continue with the installation"
ReadyLabel2b=Setup is now ready to install the Hack fonts v2.019 on your system.
;%n%nClick Install to continue.


[Code]
Expand Down

0 comments on commit 087fb0a

Please sign in to comment.