[Windows] win: add vcredist 2010 test (#4160)

This commit is contained in:
Aleksandr Chebotov
2021-09-29 09:40:01 +03:00
committed by GitHub
parent efcefca087
commit b930b3d9d8
4 changed files with 21 additions and 2 deletions

View File

@@ -165,6 +165,22 @@ Describe "Vcpkg" {
}
}
Describe "VCRedist" -Skip:(Test-IsWin22) {
It "vcredist_140" -Skip:(Test-IsWin19) {
"C:\Windows\System32\vcruntime140.dll" | Should -Exist
}
It "vcredist_2010_x64" -Skip:(Test-IsWin16) {
"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1D8E6291-B0D5-35EC-8441-6616F567A0F7}" | Should -Exist
"C:\Windows\System32\msvcr100.dll" | Should -Exist
}
It "vcredist_2010_x64" -Skip:(Test-IsWin16) {
"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1D8E6291-B0D5-35EC-8441-6616F567A0F7}" | Should -Exist
"C:\Windows\System32\msvcr100.dll" | Should -Exist
}
}
Describe "WebPlatformInstaller" -Skip:(Test-IsWin22) {
It "WebPlatformInstaller" {
"WebPICMD" | Should -ReturnZeroExitCode