Skip to content

Commit

Permalink
Update setup-msvc2022.nsi.in
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrolcl committed Dec 20, 2024
1 parent 51284ec commit 6272245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup-msvc2022.nsi.in
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ Section -post SEC0001
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" UninstallString $INSTDIR\uninstall.exe
WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" NoModify 1
WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" NoRepair 1
;VS2015 Runtime
;VS2022 Runtime
;ReadRegStr $1 HKLM "SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\${CPU}" "Version"
;StrCmp $1 "v14.28.29914.00" installed
;StrCmp $1 "v14.42.34433.00" installed
;not installed, so run the installer
ExecWait '"$INSTDIR\vc_redist.${CPU}.exe" /install /quiet /norestart'
;installed:
Expand Down

0 comments on commit 6272245

Please sign in to comment.