Better 64-bit handling in the installer.

This commit is contained in:
sledgehammer999 2017-04-04 00:32:40 +03:00
commit 4a0244ae88
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2
60 changed files with 152 additions and 6 deletions

View file

@ -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