提交 580eecda 编写于 作者: J jp9000

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.
上级 7368a2c7
...@@ -123,7 +123,6 @@ Function PreReqCheck ...@@ -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() ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册