mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
* Use Resolve-GithubReleaseAssetUrl more widely * Add the Get-ChecksumFromUrl function * Sort exported functions and add docs * Remove alias and fix typo * Fix kind checksum url and syntax * Fix checksums url for gh cli and msys2 * [Windows] Cleanup various scripts * Add spaces after type specifications * Rename the Take-Part function
21 lines
784 B
PowerShell
21 lines
784 B
PowerShell
################################################################################
|
|
## File: Install-VCRedist.ps1
|
|
## Desc: Install Visual C++ Redistributable
|
|
################################################################################
|
|
|
|
$baseUrl = "https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC"
|
|
$argumentList = ("/install", "/quiet", "/norestart")
|
|
$signatureThumbrint = "ABDCA79AF9DD48A0EA702AD45260B3C03093FB4B"
|
|
|
|
Install-Binary `
|
|
-Url "${baseUrl}/vcredist_x86.exe" `
|
|
-InstallArgs $argumentList `
|
|
-ExpectedSignature $signatureThumbrint
|
|
|
|
Install-Binary `
|
|
-Url "${baseUrl}/vcredist_x64.exe" `
|
|
-InstallArgs $argumentList `
|
|
-ExpectedSignature $signatureThumbrint
|
|
|
|
Invoke-PesterTests -TestFile "Tools" -TestName "VCRedist"
|