Require Erlang 19.3 to install RabbitMQ on windows.

RabbitMQ will not start if erlang version is lower than 19.3.
Warn before installation starts.
This commit is contained in:
Daniil Fedotov 2017-11-29 12:35:19 +00:00
parent 647b2e60c2
commit d0d38ac449
1 changed files with 1 additions and 6 deletions

View File

@ -270,16 +270,11 @@ Function findErlang
abort:
Abort
${Else}
${VersionCompare} $2 "5.7.4" $0
${VersionCompare} $2 "5.8.1" $1
${VersionCompare} $2 "8.3" $0
${If} $0 = 2
MessageBox MB_OK|MB_ICONEXCLAMATION "Your installed version of Erlang ($2) is too old. Please install a more recent version."
Abort
${ElseIf} $1 = 2
MessageBox MB_YESNO|MB_ICONEXCLAMATION "Your installed version of Erlang ($2) is comparatively old.$\nFor best results, please install a newer version.$\nDo you wish to continue?" IDYES no_abort
Abort
no_abort:
${EndIf}
ReadRegStr $0 HKLM "Software\Ericsson\Erlang\$2" ""