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:
parent
7368a2c7cc
commit
580eecda01
@ -123,7 +123,6 @@ Function PreReqCheck
|
|||||||
; 32 bit Visual Studio 2019 runtime check
|
; 32 bit Visual Studio 2019 runtime check
|
||||||
ClearErrors
|
ClearErrors
|
||||||
GetDLLVersion "vcruntime140.DLL" $R0 $R1
|
GetDLLVersion "vcruntime140.DLL" $R0 $R1
|
||||||
GetDLLVersion "vcruntime140_1.DLL" $R0 $R1
|
|
||||||
GetDLLVersion "msvcp140.DLL" $R0 $R1
|
GetDLLVersion "msvcp140.DLL" $R0 $R1
|
||||||
IfErrors vs2019Missing_32 vs2019OK_32
|
IfErrors vs2019Missing_32 vs2019OK_32
|
||||||
vs2019Missing_32:
|
vs2019Missing_32:
|
||||||
|
@ -85,7 +85,9 @@ static inline bool HasVS2019Redist2()
|
|||||||
|
|
||||||
check_dll_installed(L"msvcp140");
|
check_dll_installed(L"msvcp140");
|
||||||
check_dll_installed(L"vcruntime140");
|
check_dll_installed(L"vcruntime140");
|
||||||
check_dll_installed(L"vcruntime140_1");
|
if (!is32bit) {
|
||||||
|
check_dll_installed(L"vcruntime140_1");
|
||||||
|
}
|
||||||
|
|
||||||
#undef check_dll_installed
|
#undef check_dll_installed
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user