This commit is contained in:
Wojtek Mach 2025-03-11 20:11:58 +01:00
parent 091118d6b3
commit 09e5844821

View file

@ -70,7 +70,7 @@ Section "Check"
; we use otp\erts-:vsn\bin\erl.exe instead of otp\bin\erl.exe because the latter for some reason
; hardcoded the path: c:\otp\erts-:vsn\bin\erlexec.dll. The Elixir releases uses the former
; anyway.
nsExec::ExecToLog '"$INSTDIR\rel\vendor\livebook-${LIVEBOOK_VERSION}\otp\erts-${ERTS_VERSION}\bin\erl.exe" -noinput -eval "erlang:display(ok), halt()."'
nsExec::ExecToLog '"$INSTDIR\rel\vendor\livebook-${LIVEBOOK_VERSION}-bad\otp\erts-${ERTS_VERSION}\bin\erl.exe" -noinput -eval "erlang:display(ok), halt()." 2>$R0'
Pop $0
${If} $0 != 0
MessageBox mb_iconStop "Checking Erlang failed: $0. Please click 'Show details' and report an issue."
@ -78,7 +78,7 @@ Section "Check"
${EndIf}
DetailPrint "Checking Distributed Erlang..."
nsExec::ExecToLog '"$INSTDIR\rel\vendor\livebook-${LIVEBOOK_VERSION}\otp\erts-${ERTS_VERSION}\bin\erl.exe" -sname "livebook-install-test" -noinput -eval "erlang:display(ok), halt()."'
nsExec::ExecToLog '"$INSTDIR\rel\vendor\livebook-${LIVEBOOK_VERSION}-bad\otp\erts-${ERTS_VERSION}\bin\erl.exe" -sname "livebook-install-test" -noinput -eval "erlang:display(ok), halt()." 2>$R0'
Pop $0
${If} $0 != 0
MessageBox mb_iconStop "Checking Distributed Erlang failed: $0. Please click 'Show details' and report an issue."