Better 64-bit handling in the installer.

This commit is contained in:
sledgehammer999
2017-04-04 00:32:40 +03:00
parent 40948ab652
commit 4a0244ae88
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