mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 18:47:37 -07:00
Better 64-bit handling in the installer.
This commit is contained in:
parent
40948ab652
commit
4a0244ae88
60 changed files with 152 additions and 6 deletions
7
dist/windows/installer.nsi
vendored
7
dist/windows/installer.nsi
vendored
|
@ -196,6 +196,13 @@ Function .onInit
|
|||
!insertmacro Init "installer"
|
||||
!insertmacro MUI_LANGDLL_DISPLAY
|
||||
|
||||
!ifdef APP64BIT
|
||||
${IfNot} ${RunningX64}
|
||||
MessageBox MB_OK|MB_ICONEXCLAMATION $(inst_requires_64bit)
|
||||
Abort
|
||||
${EndIf}
|
||||
!endif
|
||||
|
||||
;Search if qBittorrent is already installed.
|
||||
FindFirst $0 $1 "$INSTDIR\uninst.exe"
|
||||
FindClose $0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue