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:
parent
647b2e60c2
commit
d0d38ac449
|
@ -270,16 +270,11 @@ Function findErlang
|
||||||
abort:
|
abort:
|
||||||
Abort
|
Abort
|
||||||
${Else}
|
${Else}
|
||||||
${VersionCompare} $2 "5.7.4" $0
|
${VersionCompare} $2 "8.3" $0
|
||||||
${VersionCompare} $2 "5.8.1" $1
|
|
||||||
|
|
||||||
${If} $0 = 2
|
${If} $0 = 2
|
||||||
MessageBox MB_OK|MB_ICONEXCLAMATION "Your installed version of Erlang ($2) is too old. Please install a more recent version."
|
MessageBox MB_OK|MB_ICONEXCLAMATION "Your installed version of Erlang ($2) is too old. Please install a more recent version."
|
||||||
Abort
|
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}
|
${EndIf}
|
||||||
|
|
||||||
ReadRegStr $0 HKLM "Software\Ericsson\Erlang\$2" ""
|
ReadRegStr $0 HKLM "Software\Ericsson\Erlang\$2" ""
|
||||||
|
|
Loading…
Reference in New Issue