From 6d8ce8ec425abcd417a6ef31f177b47e4051ca38 Mon Sep 17 00:00:00 2001 From: Rechi Date: Sun, 24 Dec 2017 11:00:00 +0100 Subject: [windows][installer] inform about x64 --- project/Win32BuildSetup/genNsisInstaller.nsi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'project/Win32BuildSetup') 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 -- cgit v1.2.3