mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Improve Windows helpers functions stability (#723)
* Rework windows InstallHelpers; Add retry logic to install function
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
Import-Module -Name ImageHelpers -Force
|
||||
|
||||
# .NET 4.7.2 Dev pack
|
||||
$InstallerURI = "https://download.microsoft.com/download/3/B/F/3BFB9C35-405D-45DF-BDAF-0EB57D047888/NDP472-DevPack-ENU.exe"
|
||||
$InstallerName = "NDP472-DevPack-ENU.exe"
|
||||
$InstallerUrl = "https://download.microsoft.com/download/3/B/F/3BFB9C35-405D-45DF-BDAF-0EB57D047888/${InstallerName}"
|
||||
$ArgumentList = ('Setup', '/passive', '/norestart' )
|
||||
|
||||
Install-EXE -Url $InstallerURI -Name $InstallerName -ArgumentList $ArgumentList
|
||||
Install-Binary -Url $InstallerUrl -Name $InstallerName -ArgumentList $ArgumentList
|
||||
|
||||
Reference in New Issue
Block a user