diff --git a/extra/nsis/check_for_64bit_visual_studio_2019_runtimes.exe b/extra/nsis/check_for_64bit_visual_studio_2019_runtimes.exe deleted file mode 100644 index 6b58c4c..0000000 Binary files a/extra/nsis/check_for_64bit_visual_studio_2019_runtimes.exe and /dev/null differ diff --git a/extra/nsis/check_for_64bit_visual_studio_2022_runtimes.exe b/extra/nsis/check_for_64bit_visual_studio_2022_runtimes.exe new file mode 100644 index 0000000..56ff934 Binary files /dev/null and b/extra/nsis/check_for_64bit_visual_studio_2022_runtimes.exe differ diff --git a/extra/nsis/mp-installer.nsi b/extra/nsis/mp-installer.nsi index 2faec0f..9eff56f 100644 --- a/extra/nsis/mp-installer.nsi +++ b/extra/nsis/mp-installer.nsi @@ -261,18 +261,18 @@ Section "OBS Studio" SecCore Delete "$INSTDIR\obs-plugins\64bit\win-mf*.*" File /r "${BUILDDIR}\obs-plugins\64bit" - ; 64 bit Visual Studio 2019 runtime check + ; 64 bit Visual Studio 2022 runtime check ClearErrors SetOutPath "$PLUGINSDIR" - File check_for_64bit_visual_studio_2019_runtimes.exe - ExecWait "$PLUGINSDIR\check_for_64bit_visual_studio_2019_runtimes.exe" $R0 - Delete "$PLUGINSDIR\check_for_64bit_visual_studio_2019_runtimes.exe" - IntCmp $R0 126 vs2019Missing_64 vs2019OK_64 - vs2019Missing_64: + File check_for_64bit_visual_studio_2022_runtimes.exe + ExecWait "$PLUGINSDIR\check_for_64bit_visual_studio_2022_runtimes.exe" $R0 + Delete "$PLUGINSDIR\check_for_64bit_visual_studio_2022_runtimes.exe" + IntCmp $R0 126 vs2022Missing_64 vs2022OK_64 + vs2022Missing_64: File VC_redist.x64.exe ExecWait '"$PLUGINSDIR\VC_redist.x64.exe" /quiet /norestart' Delete "$PLUGINSDIR\VC_redist.x64.exe" - vs2019OK_64: + vs2022OK_64: ClearErrors # ----------------------------