33
44Name Jorts
55
6+ VIAddVersionKey /LANG= 0 " ProductName" " Jorts"
7+ VIAddVersionKey /LANG= 0 " FileVersion" " 3.5.0"
8+ VIAddVersionKey /LANG= 0 " ProductVersion" " 3.5.0"
9+ VIAddVersionKey /LANG= 0 " FileDescription" " https://github.com/ellie-commons/jorts"
10+ VIAddVersionKey /LANG= 0 " LegalCopyright" " GNU GPL v3 Ellie-Commons"
11+ VIProductVersion " 3.5.0.0"
12+
613Outfile " Jorts-Installer.exe"
714InstallDir " $LOCALAPPDATA\Programs\Jorts"
815
@@ -11,14 +18,18 @@ RequestExecutionLevel user
1118
1219# Set the title of the installer window
1320Caption " Jorts Installer"
21+ BrandingText " Jorts 3.5.0, Ellie-Commons 2025"
1422
1523# Set the title and text on the welcome page
1624!define MUI_WELCOMEPAGE_TITLE " Welcome to Jorts setup"
1725!define MUI_WELCOMEPAGE_TEXT " This bitch will guide you through the installation of Jorts."
1826!define MUI_INSTFILESPAGE_TEXT " Please wait while Jorts is being installed."
1927!define MUI_ICON " icons\install.ico"
2028!define MUI_UNICON " icons\uninstall.ico"
21- !define MUI_FINISHPAGE_RUN " $SMPROGRAMS\Startup\Jorts.lnk"
29+
30+ !define MUI_FINISHPAGE_LINK " Source code and wiki"
31+ !define MUI_FINISHPAGE_LINK_LOCATION " https://github.com/ellie-commons/jorts"
32+ !define MUI_FINISHPAGE_RUN " $SMPROGRAMS\Jorts\Jorts.lnk"
2233
2334!insertmacro MUI_PAGE_WELCOME
2435!insertmacro MUI_PAGE_DIRECTORY
@@ -92,9 +103,10 @@ Section "Install"
92103
93104 ; fonts. We install to local fonts to not trip up admin rights, and register for local user
94105 SetOutPath " $LOCALAPPDATA\Microsoft\Windows\Fonts"
95- File " fonts\RedactedScript-Regular.ttf "
106+ File /r " fonts\* "
96107 WriteRegStr HKCU " Software\Microsoft\Windows NT\CurrentVersion\Fonts" " Redacted Script Regular (TrueType)" " $LOCALAPPDATA\Microsoft\Windows\Fonts\RedactedScript-Regular.ttf"
97- ; SendMessage 0 0 /TIMEOUT=5000
108+ WriteRegStr HKCU " Software\Microsoft\Windows NT\CurrentVersion\Fonts" " Inter (TrueType)" " $LOCALAPPDATA\Microsoft\Windows\Fonts\InterVariable.ttf"
109+ SetOutPath " $INSTDIR"
98110
99111 ; Start menu
100112 CreateShortCut " $SMPROGRAMS\Jorts\Jorts.lnk" " $INSTDIR\bin\io.github.ellie_commons.jorts.exe" " " " $INSTDIR\icons\icon-mini.ico" 0
@@ -110,9 +122,12 @@ Section "Install"
110122
111123 ; Add to Add/Remove programs list
112124 WriteRegStr HKCU " Software\Microsoft\Windows\CurrentVersion\Uninstall\Jorts" " DisplayName" " Jorts"
113- WriteRegStr HKCU " Software\Microsoft\Windows\CurrentVersion\Uninstall\Jorts" " UninstallString " " $INSTDIR\Uninstall.exe "
125+ WriteRegStr HKCU " Software\Microsoft\Windows\CurrentVersion\Uninstall\Jorts" " DisplayIcon " " $INSTDIR\icons\icon.ico "
114126 WriteRegStr HKCU " Software\Microsoft\Windows\CurrentVersion\Uninstall\Jorts" " InstallLocation" " $INSTDIR\"
127+ WriteRegStr HKCU " Software\Microsoft\Windows\CurrentVersion\Uninstall\Jorts" " UninstallString" " $INSTDIR\Uninstall.exe"
115128 WriteRegStr HKCU " Software\Microsoft\Windows\CurrentVersion\Uninstall\Jorts" " Publisher" " Ellie-Commons"
129+ WriteRegStr HKCU " Software\Microsoft\Windows\CurrentVersion\Uninstall\Jorts" " URLInfoAbout" " https://github.com/ellie-commons/jorts"
130+ WriteRegDWORD HKCU " Software\Microsoft\Windows\CurrentVersion\Uninstall\Jorts" " EstimatedSize" " 0x00026548" ; 157MB
116131SectionEnd
117132
118133Section " Uninstall"
@@ -132,6 +147,12 @@ Section "Uninstall"
132147 RMDir $SMPROGRAMS \Jorts
133148 RMDir " $INSTDIR"
134149
150+ ; Remove font
151+ Delete " $LOCALAPPDATA\Microsoft\Windows\Fonts\RedactedScript-Regular.ttf"
152+ DeleteRegKey HKCU " Software\Microsoft\Windows NT\CurrentVersion\Fonts\Redacted Script Regular (TrueType)"
153+ Delete " $LOCALAPPDATA\Microsoft\Windows\Fonts\InterVariable.ttf"
154+ DeleteRegKey HKCU " Software\Microsoft\Windows NT\CurrentVersion\Fonts\Inter Variable (TrueType)"
155+
135156 ; Remove registry keys
136157 DeleteRegKey HKCU " Software\Jorts"
137158 DeleteRegKey HKCU " Software\Microsoft\Windows\CurrentVersion\Uninstall\Jorts"
0 commit comments