aboutsummaryrefslogtreecommitdiff
path: root/project/Win32BuildSetup/genNsisInstaller.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'project/Win32BuildSetup/genNsisInstaller.nsi')
-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