Skip to content

Commit 5d2dad4

Browse files
committed
Improve NSIS scripts
1 parent 8d5022c commit 5d2dad4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+808
-284
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ core.eol=lf
66
*.qm binary
77
*.zip binary
88

9+
dist/windows/license.txt text eol=crlf
910
test/testdata/crlf.txt text eol=crlf

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ repos:
3535
(?x)^(
3636
src/webui/www/private/css/lib/.* |
3737
src/webui/www/private/scripts/lib/.* |
38+
dist/windows/license.txt |
3839
test/testdata/crlf.txt
3940
)$
4041

dist/windows/NSISPlugins.zip

86.7 KB
Binary file not shown.

dist/windows/README.txt

Lines changed: 25 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -21,46 +21,40 @@ You will need NSIS 3 to make the installer. UPX is an optional requirement.
2121
1. Open the config.nsi file in an editor and change line that contains
2222
"!define QBT_VERSION "3.0.3"" to the version of qbittorrent you just built.
2323
2. config.nsi contains some other defines that control the installer output. Read the comments in that file.
24-
3. Extract the plugins found in the folder "nsis plugins" into your
25-
NSIS's unicode Plugin directory(usually C:\Program Files\NSIS\Plugins\x86-unicode).
26-
Only the *.dll files are needed. Use the unicode version of the dlls.
24+
3. Extract "NSISPlugins.zip" next to "qbittorrent.nsi" script or into your
25+
NSIS's unicode Plugin directory (usually "C:\Program Files\NSIS\Plugins\x86-unicode").
2726
4. The script you need to compile is "qbittorrent.nsi". It includes all other necessary scripts.
2827
5. The script expects the following file tree:
2928

30-
The installer script expects the following file tree:
31-
32-
Root:
3329
installer-translations
34-
afrikaans.nsi
35-
....
36-
(all the .nsi files found here in every source release)
37-
welsh.nsi
38-
translations
39-
qt_ar.qm
40-
...
41-
(All the .qm files found in the 'translations' folder of your Qt install. Those files differ between Qt5 and Qt6.
42-
You will need the files that conform to this globbing expression 'qt_??.qm qt_??_??.qm qtbase_??.qm qtbase_??_??.qm'.
43-
Some of those files will be stubs. Filter any file that is smaller than 10KB in size.
44-
Alternatively you can use the 'gather_qt_translations.py' script found in the same folder as this file.
45-
Run it with '--help' to see its usage.)
46-
qt_zh_TW.qm
47-
installer.nsi
30+
afrikaans.nsh
31+
....
32+
(all the .nsh files found here in every source release)
33+
welsh.nsh
34+
installer.nsh
4835
license.txt
49-
config.nsi
50-
helper.nsi
51-
qbittorrent.exe
52-
qbittorrent.pdb
36+
config.nsh
5337
qbittorrent.nsi
5438
qt.conf
55-
translations.nsi
39+
translations.nsh
5640
UAC.nsh
57-
uninstaller.nsi
58-
41+
uninstaller.nsh
42+
qBittorrent
43+
qbittorrent.exe (required)
44+
qbittorrent.pdb (optional but recommended)
45+
translations (optional)
46+
qt_ar.qm
47+
..
48+
(All the .qm files found in the 'translations' folder of your Qt install. Those files differ between Qt5 and Qt6.
49+
You will need the files that conform to this globbing expression 'qt_??.qm qt_??_??.qm qtbase_??.qm qtbase_??_??.qm'.
50+
Some of those files will be stubs. Filter any file that is smaller than 10KB in size.
51+
Alternatively you can use the 'gather_qt_translations.py' script found in the same folder as this file.
52+
Run it with '--help' to see its usage.)
53+
qt_zh_TW.qm
54+
(Any other files including the ones from all subdirectories will be also included in the installer.)
5955

60-
6. "license.txt" is a text file that contains the text rendered
61-
from src\gui\gpl.html
62-
7. "qbittorrent.exe" is the compiled binary file.
63-
8. "qbittorrent.pdb" is the compiled binary's PDB file.
56+
6. "qbittorrent.exe" is the compiled binary file.
57+
7. "qbittorrent.pdb" is the compiled binary's PDB file.
6458

6559
SCRIPT HACKERS:
6660

dist/windows/config.nsi renamed to dist/windows/config.nsh

Lines changed: 17 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,6 @@
55
; Doing so may make antivirus software flag the installer as virus/malware
66
;!define USE_UPX
77

8-
; Uncomment when packaging 64bit qbittorrent
9-
;!define QBT_IS_X64
10-
11-
; Uncomment when packaging qt6 qbittorrent
12-
; It will also define QBT_IS_X64
13-
;!define QBT_USES_QT6
14-
15-
!ifdef QBT_USES_QT6
16-
!define /redef QBT_IS_X64
17-
!endif
18-
198
; qBittorrent version
209
; The string MUST contain ONLY numbers delimited by dots.
2110
; It MUST contain a maximum of 4 delimited numbers
@@ -25,20 +14,20 @@
2514
; 4.5.1.3 -> good
2615
; 4.5.1.3.2 -> bad
2716
; 4.5.0beta -> bad
28-
!define /ifndef QBT_VERSION "4.5.0"
17+
!define /ifndef QBT_VERSION "5.0.0"
2918

3019
; Option that controls the installer's window name
3120
; If set, its value will be used like this:
3221
; "qBittorrent ${QBT_INSTALLER_FILENAME}"
33-
; If not set, the window name will be auto composed from QBT_VERSION, QBT_USES_QT6, QBT_IS_X64
22+
; If not set, the window name will be auto composed from QBT_VERSION
3423
; If you set this define then you MUST set QBT_INSTALLER_FILENAME too. Otherwise it will be ignored.
3524
; This define is meant to ease automation from scripts/commandline
3625
;!define QBT_INSTALLER_WINDOWNAME
3726

3827
; Option that controls the installer's window name
3928
; If set, its value will be used like this:
4029
; "qbittorrent_${QBT_INSTALLER_FILENAME}_setup.exe"
41-
; If not set, the window name will be auto composed from QBT_VERSION, QBT_USES_QT6, QBT_IS_X64
30+
; If not set, the installer filename will be auto composed from QBT_VERSION
4231
; If you set this define then you MUST set QBT_INSTALLER_WINDOWNAME too. Otherwise it will be ignored.
4332
; This define is meant to ease automation from scripts/commandline
4433
;!define QBT_INSTALLER_FILENAME
@@ -47,29 +36,16 @@
4736
;==============================================================================
4837

4938
!ifndef QBT_INSTALLER_WINDOWNAME | QBT_INSTALLER_FILENAME
50-
!ifndef QBT_IS_X64
51-
; The name of the installer
52-
!define QBT_INSTALLER_WINDOWNAME "${QBT_VERSION}"
53-
54-
; The file to write
55-
!define QBT_INSTALLER_FILENAME "${QBT_VERSION}"
56-
!else ; QBT_IS_X64
57-
!ifndef QBT_USES_QT6
58-
; The name of the installer
59-
!define QBT_INSTALLER_WINDOWNAME "${QBT_VERSION} x64"
60-
61-
; The file to write
62-
!define QBT_INSTALLER_FILENAME "${QBT_VERSION}_x64"
63-
!else ; QBT_USES_QT6
64-
; The name of the installer
65-
!define QBT_INSTALLER_WINDOWNAME "${QBT_VERSION} (qt6) x64"
66-
67-
; The file to write
68-
!define QBT_INSTALLER_FILENAME "${QBT_VERSION}_qt6_x64"
69-
!endif ; QBT_USES_QT6
70-
!endif ; QBT_IS_X64
39+
; The name of the installer
40+
!define QBT_INSTALLER_WINDOWNAME "${QBT_VERSION} x64"
41+
42+
; The file to write
43+
!define QBT_INSTALLER_FILENAME "${QBT_VERSION}_x64"
7144
!endif
7245

46+
!define /ifndef QBT_DIST_DIR "qBittorrent"
47+
!define /ifndef QBT_NSIS_PLUGINS_DIR "NSISPlugins"
48+
7349
Unicode true
7450
ManifestDPIAware true
7551

@@ -86,9 +62,7 @@ XPStyle on
8662
!include "UAC.nsh"
8763
!include "FileFunc.nsh"
8864
!include "WinVer.nsh"
89-
!ifdef QBT_IS_X64
9065
!include "x64.nsh"
91-
!endif
9266
!include "3rdparty\VersionCompleteXXXX.nsi"
9367

9468
;For the file association
@@ -121,15 +95,8 @@ VIAddVersionKey "FileVersion" "${QBT_VERSION}"
12195
${VersionCompleteXXXX} ${QBT_VERSION} VERSION_4_PART
12296
VIProductVersion "${VERSION_4_PART}"
12397

124-
; The default installation directory. It changes depending if we install in the 64bit dir or not.
125-
; A caveat of this is if a user has installed a 32bit version and then runs the 64bit installer
126-
; (which in turn launches the 32bit uninstaller first) the value will still point to the 32bit location.
127-
; The user has to manually uninstall the old version and THEN run the 64bit installer
128-
!ifndef QBT_IS_X64
129-
InstallDir $PROGRAMFILES32\qBittorrent
130-
!else
131-
InstallDir $PROGRAMFILES64\qBittorrent
132-
!endif
98+
; The default installation directory.
99+
InstallDir $PROGRAMFILES64\qBittorrent
133100

134101
; Registry key to check for directory (so if you install again, it will
135102
; overwrite the old one automatically)
@@ -171,8 +138,10 @@ RequestExecutionLevel user
171138
!insertmacro MUI_UNPAGE_INSTFILES
172139

173140
!insertmacro MUI_RESERVEFILE_LANGDLL
174-
ReserveFile "${NSISDIR}\Plugins\x86-unicode\FindProcDLL.dll"
175-
ReserveFile "${NSISDIR}\Plugins\x86-unicode\UAC.dll"
141+
142+
!addplugindir /x86-unicode "${QBT_NSIS_PLUGINS_DIR}"
143+
ReserveFile /plugin FindProcDLL.dll
144+
ReserveFile /plugin UAC.dll
176145

177146
!macro Init thing
178147
uac_tryagain:

dist/windows/installer-translations/afrikaans.nsi renamed to dist/windows/installer-translations/afrikaans.nsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ LangString inst_unist ${LANG_AFRIKAANS} "Uninstalling previous version."
2828
LangString launch_qbt ${LANG_AFRIKAANS} "Launch qBittorrent."
2929
;LangString inst_requires_64bit ${LANG_ENGLISH} "This installer works only in 64-bit Windows versions."
3030
LangString inst_requires_64bit ${LANG_AFRIKAANS} "This installer works only in 64-bit Windows versions."
31-
;LangString inst_requires_win7 ${LANG_ENGLISH} "This qBittorrent version requires at least Windows 7."
32-
LangString inst_requires_win7 ${LANG_AFRIKAANS} "This qBittorrent version requires at least Windows 7."
3331
;LangString inst_requires_win10 ${LANG_ENGLISH} "This installer requires at least Windows 10 1809."
3432
LangString inst_requires_win10 ${LANG_AFRIKAANS} "This installer requires at least Windows 10 1809."
3533
;LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorrent"

dist/windows/installer-translations/arabic.nsi renamed to dist/windows/installer-translations/arabic.nsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ LangString inst_unist ${LANG_ARABIC} "جاري ازالة النسخة السا
2828
LangString launch_qbt ${LANG_ARABIC} "تشغيل البرنامج"
2929
;LangString inst_requires_64bit ${LANG_ENGLISH} "This installer works only in 64-bit Windows versions."
3030
LangString inst_requires_64bit ${LANG_ARABIC} "هذا المثبت يعمل فقط في نسخ ويندوز 64 بت"
31-
;LangString inst_requires_win7 ${LANG_ENGLISH} "This qBittorrent version requires at least Windows 7."
32-
LangString inst_requires_win7 ${LANG_ARABIC} "This qBittorrent version requires at least Windows 7."
3331
;LangString inst_requires_win10 ${LANG_ENGLISH} "This installer requires at least Windows 10 1809."
3432
LangString inst_requires_win10 ${LANG_ARABIC} "This installer requires at least Windows 10 1809."
3533
;LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorrent"

dist/windows/installer-translations/basque.nsi renamed to dist/windows/installer-translations/basque.nsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ LangString inst_unist ${LANG_BASQUE} "Aurreko bertsioa kentzen."
2828
LangString launch_qbt ${LANG_BASQUE} "Abiarazi qBittorrent."
2929
;LangString inst_requires_64bit ${LANG_ENGLISH} "This installer works only in 64-bit Windows versions."
3030
LangString inst_requires_64bit ${LANG_BASQUE} "This installer works only in 64-bit Windows versions."
31-
;LangString inst_requires_win7 ${LANG_ENGLISH} "This qBittorrent version requires at least Windows 7."
32-
LangString inst_requires_win7 ${LANG_BASQUE} "This qBittorrent version requires at least Windows 7."
3331
;LangString inst_requires_win10 ${LANG_ENGLISH} "This installer requires at least Windows 10 1809."
3432
LangString inst_requires_win10 ${LANG_BASQUE} "This installer requires at least Windows 10 1809."
3533
;LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorrent"

dist/windows/installer-translations/belarusian.nsi renamed to dist/windows/installer-translations/belarusian.nsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ LangString inst_unist ${LANG_BELARUSIAN} "Uninstalling previous version."
2828
LangString launch_qbt ${LANG_BELARUSIAN} "Launch qBittorrent."
2929
;LangString inst_requires_64bit ${LANG_ENGLISH} "This installer works only in 64-bit Windows versions."
3030
LangString inst_requires_64bit ${LANG_BELARUSIAN} "This installer works only in 64-bit Windows versions."
31-
;LangString inst_requires_win7 ${LANG_ENGLISH} "This qBittorrent version requires at least Windows 7."
32-
LangString inst_requires_win7 ${LANG_BELARUSIAN} "This qBittorrent version requires at least Windows 7."
3331
;LangString inst_requires_win10 ${LANG_ENGLISH} "This installer requires at least Windows 10 1809."
3432
LangString inst_requires_win10 ${LANG_BELARUSIAN} "This installer requires at least Windows 10 1809."
3533
;LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorrent"

dist/windows/installer-translations/bosnian.nsi renamed to dist/windows/installer-translations/bosnian.nsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ LangString inst_unist ${LANG_BOSNIAN} "Uninstalling previous version."
2828
LangString launch_qbt ${LANG_BOSNIAN} "Launch qBittorrent."
2929
;LangString inst_requires_64bit ${LANG_ENGLISH} "This installer works only in 64-bit Windows versions."
3030
LangString inst_requires_64bit ${LANG_BOSNIAN} "This installer works only in 64-bit Windows versions."
31-
;LangString inst_requires_win7 ${LANG_ENGLISH} "This qBittorrent version requires at least Windows 7."
32-
LangString inst_requires_win7 ${LANG_BOSNIAN} "This qBittorrent version requires at least Windows 7."
3331
;LangString inst_requires_win10 ${LANG_ENGLISH} "This installer requires at least Windows 10 1809."
3432
LangString inst_requires_win10 ${LANG_BOSNIAN} "This installer requires at least Windows 10 1809."
3533
;LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorrent"

dist/windows/installer-translations/breton.nsi renamed to dist/windows/installer-translations/breton.nsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ LangString inst_unist ${LANG_BRETON} "Uninstalling previous version."
2828
LangString launch_qbt ${LANG_BRETON} "Launch qBittorrent."
2929
;LangString inst_requires_64bit ${LANG_ENGLISH} "This installer works only in 64-bit Windows versions."
3030
LangString inst_requires_64bit ${LANG_BRETON} "This installer works only in 64-bit Windows versions."
31-
;LangString inst_requires_win7 ${LANG_ENGLISH} "This qBittorrent version requires at least Windows 7."
32-
LangString inst_requires_win7 ${LANG_BRETON} "This qBittorrent version requires at least Windows 7."
3331
;LangString inst_requires_win10 ${LANG_ENGLISH} "This installer requires at least Windows 10 1809."
3432
LangString inst_requires_win10 ${LANG_BRETON} "This installer requires at least Windows 10 1809."
3533
;LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorrent"

dist/windows/installer-translations/bulgarian.nsi renamed to dist/windows/installer-translations/bulgarian.nsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ LangString inst_unist ${LANG_BULGARIAN} "Uninstalling previous version."
2828
LangString launch_qbt ${LANG_BULGARIAN} "Launch qBittorrent."
2929
;LangString inst_requires_64bit ${LANG_ENGLISH} "This installer works only in 64-bit Windows versions."
3030
LangString inst_requires_64bit ${LANG_BULGARIAN} "This installer works only in 64-bit Windows versions."
31-
;LangString inst_requires_win7 ${LANG_ENGLISH} "This qBittorrent version requires at least Windows 7."
32-
LangString inst_requires_win7 ${LANG_BULGARIAN} "This qBittorrent version requires at least Windows 7."
3331
;LangString inst_requires_win10 ${LANG_ENGLISH} "This installer requires at least Windows 10 1809."
3432
LangString inst_requires_win10 ${LANG_BULGARIAN} "This installer requires at least Windows 10 1809."
3533
;LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorrent"

dist/windows/installer-translations/catalan.nsi renamed to dist/windows/installer-translations/catalan.nsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ LangString inst_unist ${LANG_CATALAN} "Uninstalling previous version."
2828
LangString launch_qbt ${LANG_CATALAN} "Launch qBittorrent."
2929
;LangString inst_requires_64bit ${LANG_ENGLISH} "This installer works only in 64-bit Windows versions."
3030
LangString inst_requires_64bit ${LANG_CATALAN} "This installer works only in 64-bit Windows versions."
31-
;LangString inst_requires_win7 ${LANG_ENGLISH} "This qBittorrent version requires at least Windows 7."
32-
LangString inst_requires_win7 ${LANG_CATALAN} "This qBittorrent version requires at least Windows 7."
3331
;LangString inst_requires_win10 ${LANG_ENGLISH} "This installer requires at least Windows 10 1809."
3432
LangString inst_requires_win10 ${LANG_CATALAN} "This installer requires at least Windows 10 1809."
3533
;LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorrent"

dist/windows/installer-translations/croatian.nsi renamed to dist/windows/installer-translations/croatian.nsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ LangString inst_unist ${LANG_CROATIAN} "Deinstaliraj prethodnu verziju."
2828
LangString launch_qbt ${LANG_CROATIAN} "Pokreni qBittorrent."
2929
;LangString inst_requires_64bit ${LANG_ENGLISH} "This installer works only in 64-bit Windows versions."
3030
LangString inst_requires_64bit ${LANG_CROATIAN} "This installer works only in 64-bit Windows versions."
31-
;LangString inst_requires_win7 ${LANG_ENGLISH} "This qBittorrent version requires at least Windows 7."
32-
LangString inst_requires_win7 ${LANG_CROATIAN} "This qBittorrent version requires at least Windows 7."
3331
;LangString inst_requires_win10 ${LANG_ENGLISH} "This installer requires at least Windows 10 1809."
3432
LangString inst_requires_win10 ${LANG_CROATIAN} "This installer requires at least Windows 10 1809."
3533
;LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorrent"

dist/windows/installer-translations/czech.nsi renamed to dist/windows/installer-translations/czech.nsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ LangString inst_unist ${LANG_CZECH} "Odinstalace předchozí verze."
2828
LangString launch_qbt ${LANG_CZECH} "Spustit qBittorrent."
2929
;LangString inst_requires_64bit ${LANG_ENGLISH} "This installer works only in 64-bit Windows versions."
3030
LangString inst_requires_64bit ${LANG_CZECH} "Tento instalátor funguje pouze v 64-bit Windows."
31-
;LangString inst_requires_win7 ${LANG_ENGLISH} "This qBittorrent version requires at least Windows 7."
32-
LangString inst_requires_win7 ${LANG_CZECH} "Tato verze qBittorrent vyžaduje minimálně Windows 7."
3331
;LangString inst_requires_win10 ${LANG_ENGLISH} "This installer requires at least Windows 10 1809."
3432
LangString inst_requires_win10 ${LANG_CZECH} "This installer requires at least Windows 10 1809."
3533
;LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorrent"

dist/windows/installer-translations/danish.nsi renamed to dist/windows/installer-translations/danish.nsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ LangString inst_unist ${LANG_DANISH} "Afinstallerer tidligere version."
2828
LangString launch_qbt ${LANG_DANISH} "Start qBittorrent."
2929
;LangString inst_requires_64bit ${LANG_ENGLISH} "This installer works only in 64-bit Windows versions."
3030
LangString inst_requires_64bit ${LANG_DANISH} "Installationsprogrammet virker kun i Windows-versioner som er 64-bit."
31-
;LangString inst_requires_win7 ${LANG_ENGLISH} "This qBittorrent version requires at least Windows 7."
32-
LangString inst_requires_win7 ${LANG_DANISH} "qBittorrent-versionen kræver mindst Windows 7."
3331
;LangString inst_requires_win10 ${LANG_ENGLISH} "This installer requires at least Windows 10 1809."
3432
LangString inst_requires_win10 ${LANG_DANISH} "This installer requires at least Windows 10 1809."
3533
;LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorrent"

dist/windows/installer-translations/dutch.nsi renamed to dist/windows/installer-translations/dutch.nsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ LangString inst_unist ${LANG_DUTCH} "Vorige versie verwijderen."
2828
LangString launch_qbt ${LANG_DUTCH} "qBittorrent starten."
2929
;LangString inst_requires_64bit ${LANG_ENGLISH} "This installer works only in 64-bit Windows versions."
3030
LangString inst_requires_64bit ${LANG_DUTCH} "Dit installatieprogramma werkt alleen in 64-bit Windows-versies."
31-
;LangString inst_requires_win7 ${LANG_ENGLISH} "This qBittorrent version requires at least Windows 7."
32-
LangString inst_requires_win7 ${LANG_DUTCH} "Deze versie van qBittorrent vereist ten minste Windows 7."
3331
;LangString inst_requires_win10 ${LANG_ENGLISH} "This installer requires at least Windows 10 1809."
3432
LangString inst_requires_win10 ${LANG_DUTCH} "Dit installatieprogramma vereist ten minste Windows 10 1809."
3533
;LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorrent"

dist/windows/installer-translations/english.nsi renamed to dist/windows/installer-translations/english.nsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ LangString inst_unist ${LANG_ENGLISH} "Uninstalling previous version."
2828
LangString launch_qbt ${LANG_ENGLISH} "Launch qBittorrent."
2929
;LangString inst_requires_64bit ${LANG_ENGLISH} "This installer works only in 64-bit Windows versions."
3030
LangString inst_requires_64bit ${LANG_ENGLISH} "This installer works only in 64-bit Windows versions."
31-
;LangString inst_requires_win7 ${LANG_ENGLISH} "This qBittorrent version requires at least Windows 7."
32-
LangString inst_requires_win7 ${LANG_ENGLISH} "This qBittorrent version requires at least Windows 7."
3331
;LangString inst_requires_win10 ${LANG_ENGLISH} "This installer requires at least Windows 10 1809."
3432
LangString inst_requires_win10 ${LANG_ENGLISH} "This installer requires at least Windows 10 1809."
3533
;LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorrent"

dist/windows/installer-translations/esperanto.nsi renamed to dist/windows/installer-translations/esperanto.nsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ LangString inst_unist ${LANG_ESPERANTO} "Uninstalling previous version."
2828
LangString launch_qbt ${LANG_ESPERANTO} "Launch qBittorrent."
2929
;LangString inst_requires_64bit ${LANG_ENGLISH} "This installer works only in 64-bit Windows versions."
3030
LangString inst_requires_64bit ${LANG_ESPERANTO} "This installer works only in 64-bit Windows versions."
31-
;LangString inst_requires_win7 ${LANG_ENGLISH} "This qBittorrent version requires at least Windows 7."
32-
LangString inst_requires_win7 ${LANG_ESPERANTO} "This qBittorrent version requires at least Windows 7."
3331
;LangString inst_requires_win10 ${LANG_ENGLISH} "This installer requires at least Windows 10 1809."
3432
LangString inst_requires_win10 ${LANG_ESPERANTO} "This installer requires at least Windows 10 1809."
3533
;LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorrent"

0 commit comments

Comments
 (0)