Installation Fails on headless machines.

Installation fails on headless machines if `/passive` is set, `/passive` will display an installation progress bar on windows desktop. `/quiet` suppresses the GUI and does not fail when there is no desktop session available. Fixes #45036.
This commit is contained in:
Jan Harasym 2017-12-15 18:42:35 +01:00 committed by rallytime
parent 4d6d640381
commit aa438e1605
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -209,7 +209,7 @@ Section -Prerequisites
# of the user variable are undefined).
# http://nsis.sourceforge.net/Reference/ExecWait
ClearErrors
ExecWait '"$INSTDIR\vcredist.exe" /qb! /norestart' $0
ExecWait '"$INSTDIR\vcredist.exe" /qb! /quiet /norestart' $0
IfErrors 0 CheckVcRedistErrorCode
MessageBox MB_OK \
"VC Redist 2008 SP1 MFC failed to install. Try installing the package manually." \