fix: nisi needs !include
"x64.nsh" now. also, there were some broken varible
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
bcb1d456d4
commit
63172540fb
2 changed files with 7 additions and 5 deletions
|
@ -53,11 +53,11 @@ Section "Visual Studio Runtime"
|
|||
StrCpy $vc_redist_exe "vc_redist.x64.exe"
|
||||
${EndIf}
|
||||
DetailPrint 'Downloading Microsoft Visual C++ Redistributable...'
|
||||
NScurl::http GET "https://aka.ms/vs/17/release/${vc_redist_exe}" "$INSTDIR\vc_redist\${vc_redist_exe}" /INSIST /CANCEL /Zone.Identifier /END
|
||||
NScurl::http GET "https://aka.ms/vs/17/release/$vc_redist_exe" "$INSTDIR\vc_redist\$vc_redist_exe" /INSIST /CANCEL /Zone.Identifier /END
|
||||
Pop $0
|
||||
${If} $0 == "OK"
|
||||
DetailPrint "Download successful"
|
||||
ExecWait "$INSTDIR\vc_redist\${vc_redist_exe} /install /passive /norestart\"
|
||||
ExecWait "$INSTDIR\vc_redist\$vc_redist_exe /install /passive /norestart\"
|
||||
${Else}
|
||||
DetailPrint "Download failed with error $0"
|
||||
${EndIf}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue