aboutsummaryrefslogtreecommitdiff
path: root/project/Win32BuildSetup
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2017-12-24 11:00:00 +0100
committerRechi <Rechi@users.noreply.github.com>2017-12-24 11:00:00 +0100
commit6d8ce8ec425abcd417a6ef31f177b47e4051ca38 (patch)
treec205ade4eec399bfda76bbe678297f5f8b883061 /project/Win32BuildSetup
parent1ea247761dba74e97c645e28ee56096498394031 (diff)
[windows][installer] inform about x64
Diffstat (limited to 'project/Win32BuildSetup')
-rw-r--r--project/Win32BuildSetup/genNsisInstaller.nsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/project/Win32BuildSetup/genNsisInstaller.nsi b/project/Win32BuildSetup/genNsisInstaller.nsi
index 6e00f3b542..f0a96d4bca 100644
--- a/project/Win32BuildSetup/genNsisInstaller.nsi
+++ b/project/Win32BuildSetup/genNsisInstaller.nsi
@@ -346,6 +346,12 @@ Function .onInit
MessageBox MB_OK|MB_ICONSTOP 'This is the 64-bit ${APP_NAME} installer.$\nPlease download the 32-bit version from ${WEBSITE}.$\n$\nClick Ok to quit Setup.'
Quit
${Endif}
+ !else
+ ${If} ${RunningX64}
+ MessageBox MB_YESNO|MB_ICONEXCLAMATION|MB_DEFBUTTON2 'There is a specific 64-bit ${APP_NAME} version available for download. Please consider installing the 64-bit version instead.$\nFor details visit ${WEBSITE}.$\nProceed with 32-bit installation anyway?' IDYES noprob
+ Quit
+ noprob:
+ ${Endif}
!endif
; Win7 SP1 is minimum requirement