Skip to content

Commit

Permalink
Revert "MP1-5185: DeployTool: Additional VC++ 2015 check"
Browse files Browse the repository at this point in the history
This reverts commit e647976.
  • Loading branch information
epbk committed Dec 11, 2023
1 parent e647976 commit 0154945
Showing 1 changed file with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,23 +167,19 @@ public CheckResult CheckStatus()
}
}

string strInstallDir = Environment.GetEnvironmentVariable("SystemRoot") + "\\system32\\";
string[] dll = new string[]
{
//CRT
"msvcp140.dll",
//MFC
"mfc140.dll", "mfc140u.dll", "mfcm140.dll", "mfcm140u.dll",
//API SET STUB
"api-ms-win-crt-convert-l1-1-0.dll", "api-ms-win-crt-environment-l1-1-0.dll", "api-ms-win-crt-filesystem-l1-1-0.dll",
"api-ms-win-crt-heap-l1-1-0.dll", "api-ms-win-crt-locale-l1-1-0.dll", "api-ms-win-crt-math-l1-1-0.dll",
"api-ms-win-crt-multibyte-l1-1-0.dll", "api-ms-win-crt-runtime-l1-1-0.dll", "api-ms-win-crt-stdio-l1-1-0.dll",
"api-ms-win-crt-string-l1-1-0.dll", "api-ms-win-crt-time-l1-1-0.dll", "api-ms-win-crt-utility-l1-1-0.dll"
};
string InstallDir = Environment.GetEnvironmentVariable("SystemRoot") + "\\system32\\";
string[] dll = new string[5];
//CRT
dll[0] = "msvcp140.dll";
//MFC
dll[1] = "mfc140.dll";
dll[2] = "mfc140u.dll";
dll[3] = "mfcm140.dll";
dll[4] = "mfcm140u.dll";

for (int i = 0; i < dll.Length; i++)
{
if (!File.Exists(strInstallDir + dll[i]))
if (!File.Exists(InstallDir + dll[i]))
{
result.state = CheckState.NOT_INSTALLED;
return result;
Expand Down

0 comments on commit 0154945

Please sign in to comment.