[Windows] Fix WebPlatformInstaller installation (#1379)

* fix webPlatformInstaller installation

* Install-WebPI -> Install-WebPlatformInstaller

* add tests for webPlatformInstaller

* fix webPlatformInstaller test
This commit is contained in:
Dibir Magomedsaygitov
2020-08-08 08:01:33 +03:00
committed by GitHub
parent e3cb3e32d4
commit 504b88bcb0
5 changed files with 21 additions and 5 deletions

View File

@@ -0,0 +1,11 @@
################################################################################
## File: Install-WebPI.ps1
## Desc: Install WebPlatformInstaller
################################################################################
# Download and install WebPlatformInstaller
$webPlatformInstallerFile = "WebPlatformInstaller_x64_en-US.msi"
$webPlatformInstallerUrl = "http://go.microsoft.com/fwlink/?LinkId=287166"
Install-Binary -Url $webPlatformInstallerUrl -Name $webPlatformInstallerFile -ArgumentList ("/silent", "/install")
Invoke-PesterTests -TestFile "Tools" -TestName "WebPlatformInstaller"