Files
runner-images-sangeeth/images/win/scripts/Installers/Install-NET472.ps1
Maksim Petrov 8e8fbb4f76 Improve Windows helpers functions stability (#723)
* Rework windows InstallHelpers; Add retry logic to install function
2020-04-21 11:58:27 +03:00

14 lines
583 B
PowerShell

################################################################################
## File: Install-NET472.ps1
## Desc: Install .NET 4.7.2
################################################################################
Import-Module -Name ImageHelpers -Force
# .NET 4.7.2 Dev pack
$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-Binary -Url $InstallerUrl -Name $InstallerName -ArgumentList $ArgumentList