Skip to content

Commit 492718b

Browse files
Don't restart automatically after installing VC redistributable (arrayfire#3685)
Add flag to VC redistributable installer to prevent it from restarting the computer automatically without prompting the user. Co-authored-by: Abc <xyz@abc.com>
1 parent 3d50c35 commit 492718b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeModules/nsis/NSIS.template.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ Section "-Core installation"
741741
SectionEnd
742742

743743
Section "-Visual C++ installation"
744-
ExecWait "$INSTDIR\lib\vc_redist.x64.exe /install /passive"
744+
ExecWait "$INSTDIR\lib\vc_redist.x64.exe /install /passive /norestart"
745745
Delete "$INSTDIR\lib\vc_redist.x64.exe"
746746
SectionEnd
747747

0 commit comments

Comments
 (0)