diff options
author | Rechi <Rechi@users.noreply.github.com> | 2017-05-08 21:04:48 +0200 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2017-05-08 21:04:48 +0200 |
commit | 411a35a56202c7abd26164816e22fa6ee862b5bf (patch) | |
tree | 5e7b23ce5bf8b35102231050f9d7d4989ea9d465 /project/Win32BuildSetup | |
parent | 52d938fae53ca65247c1abfc33b761cd5ecec165 (diff) |
[windows][installer] error message if x64 runs on win32
Diffstat (limited to 'project/Win32BuildSetup')
-rw-r--r-- | project/Win32BuildSetup/genNsisInstaller.nsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/project/Win32BuildSetup/genNsisInstaller.nsi b/project/Win32BuildSetup/genNsisInstaller.nsi index 0373722cf2..0e5452a811 100644 --- a/project/Win32BuildSetup/genNsisInstaller.nsi +++ b/project/Win32BuildSetup/genNsisInstaller.nsi @@ -9,6 +9,7 @@ !include "nsDialogs.nsh" !include "LogicLib.nsh" !include "WinVer.nsh" + !include "x64.nsh" ;-------------------------------- ;General @@ -331,6 +332,13 @@ SectionEnd SectionGroupEnd Function .onInit + !ifdef x64 + ${IfNot} ${RunningX64} + 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} + !endif + ; Win7 SP1 is minimum requirement ${IfNot} ${AtLeastWin7} ${OrIf} ${IsWin7} |