UI: Fix installer/updater check for vs2019 32bit

VS2019 32bit redist does not have/use vcruntime140_1.dll, so remove
those checks from the installer and auto-updater.
This commit is contained in:
jp9000 2020-12-13 21:58:16 -08:00
parent 7368a2c7cc
commit 580eecda01
2 changed files with 3 additions and 2 deletions

View File

@ -123,7 +123,6 @@ Function PreReqCheck
; 32 bit Visual Studio 2019 runtime check
ClearErrors
GetDLLVersion "vcruntime140.DLL" $R0 $R1
GetDLLVersion "vcruntime140_1.DLL" $R0 $R1
GetDLLVersion "msvcp140.DLL" $R0 $R1
IfErrors vs2019Missing_32 vs2019OK_32
vs2019Missing_32:

View File

@ -85,7 +85,9 @@ static inline bool HasVS2019Redist2()
check_dll_installed(L"msvcp140");
check_dll_installed(L"vcruntime140");
check_dll_installed(L"vcruntime140_1");
if (!is32bit) {
check_dll_installed(L"vcruntime140_1");
}
#undef check_dll_installed