Issue 24476: Statically links vcruntime140.dll and removes it from the installer

This commit is contained in:
Steve Dower 2015-06-19 10:49:04 -07:00
parent 4ab4ac8e03
commit 6d58f8dc52
10 changed files with 7 additions and 148 deletions

View file

@ -2402,8 +2402,6 @@ private:
// Check whether at least CRT v10.0.9924.0 is available.
// It should only be installed as a Windows Update package, which means
// we don't need to worry about 32-bit/64-bit.
// However, since the WU package does not include vcruntime140.dll, we
// still install that ourselves.
LPCWSTR crtFile = L"api-ms-win-crt-runtime-l1-1-0.dll";
DWORD cbVer = GetFileVersionInfoSizeW(crtFile, nullptr);