Skip to content

Commit

Permalink
#49 - add vc++ distributable
Browse files Browse the repository at this point in the history
Signed-off-by: julianbollig <[email protected]>
  • Loading branch information
julianbollig committed Jan 23, 2025
1 parent b78a1f1 commit 4275882
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions WebUI/build/installer.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
ShowInstDetails show
!macroend
!macro customInstall

ReadRegDWORD $0 HKLM "SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64" "Installed"
${If} $0 != "1"
DetailPrint "Installing Microsoft Visual C++ Redistributable..."
inetc::get /CAPTION " " /BANNER "Downloading Microsoft Visual C++ Redistributable..." "https://aka.ms/vs/17/release/vc_redist.x64.exe" "$TEMP\vc_redist.x64.exe"
ExecWait "$TEMP\vc_redist.x64.exe /install /norestart"
${EndIf}

IfFileExists "$INSTDIR\resources\prototype-python-env.7z" extracting end

extracting:
Expand Down

0 comments on commit 4275882

Please sign in to comment.