summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Lohner <Denis.Lohner@bruker.com>2020-05-29 09:34:51 +0200
committerDenis Lohner <Denis.Lohner@bruker.com>2020-05-29 09:34:51 +0200
commit95048b994d88311ce0731ee6504e12bfc4c288cc (patch)
treed3f70720782b9fceada9ef4f2dc7a0e0e433a69a
parentc8de0bf96c26883fb1f6811e4cc08da48d844765 (diff)
downloaderlang-95048b994d88311ce0731ee6504e12bfc4c288cc.tar.gz
Fix system restart when installing in silent mode
Prevent redist from restarting the system and thus aborting the installation when installing in silent mode.
-rw-r--r--erts/etc/win32/nsis/erlang20.nsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/win32/nsis/erlang20.nsi b/erts/etc/win32/nsis/erlang20.nsi
index 950f3ec0a3..5a79101b5d 100644
--- a/erts/etc/win32/nsis/erlang20.nsi
+++ b/erts/etc/win32/nsis/erlang20.nsi
@@ -134,7 +134,7 @@ Section "Microsoft redistributable libraries." SecMSRedist
IfSilent +3
ExecWait '"$INSTDIR\${REDIST_EXECUTABLE}"'
Goto +2
- ExecWait '"$INSTDIR\${REDIST_EXECUTABLE}" /q'
+ ExecWait '"$INSTDIR\${REDIST_EXECUTABLE}" /q /norestart'
!verbose 1
SectionEnd ; MSRedist