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 committed 2020-12-13 21:59:21 -08:00
1 parent 7368a2c7cc
commit 580eecda01
2 files changed
+3 -2

No files matched your search

-1
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:
+3 -1
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