Pass /norestart to vcredist installer

This prevents it from automatically trying to restart
the user's computer without any prompt.
This commit is contained in:
Robert Nix
2017-08-31 13:02:19 -05:00
parent db88d6e952
commit fea164a5e1
+1 -1
View File
@@ -433,7 +433,7 @@ if(WIN32 AND NOT UNIX)
# VS redist
list(APPEND CPACK_NSIS_EXTRA_INSTALL_COMMANDS "
ExecWait '\\\"$INSTDIR\\\\redist\\\\${VSREDIST}\\\" /install /passive /quiet'
ExecWait '\\\"$INSTDIR\\\\redist\\\\${VSREDIST}\\\" /install /passive /norestart /quiet'
Delete '\\\"$INSTDIR\\\\redist\\\\${VSREDIST}\\\"'
")
else(WIN32 AND NOT UNIX)