Files
runner-images/images/windows/scripts/build/Install-WebPlatformInstaller.ps1
Pavel Iakovenko 7eede67cd0 Validate authenticode signature using the certificate Subject (#12474)
* Use cerificate subject to verify authenticode signature

* Use function instead of script variables

* Switch all places to using Get-MicrosoftPublisher

* Remove SignatureThumbprint

* Use common subject for the Edge driver
2025-06-30 19:33:57 -06:00

11 lines
437 B
PowerShell

################################################################################
## File: Install-WebPI.ps1
## Desc: Install WebPlatformInstaller
################################################################################
Install-Binary -Type MSI `
-Url 'https://go.microsoft.com/fwlink/?LinkId=287166' `
-ExpectedSubject $(Get-MicrosoftPublisher)
Invoke-PesterTests -TestFile "Tools" -TestName "WebPlatformInstaller"