mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[Windows] Implement minor improvements, rev 2 (#3839)
* implement minor improvements * Update Install-WDK.ps1 * fix nitpick
This commit is contained in:
@@ -11,13 +11,17 @@ if (Test-IsWin19)
|
||||
$FilePath = "C:\Program Files (x86)\Windows Kits\10\Vsix\VS2019\WDK.vsix"
|
||||
$VSver = "2019"
|
||||
}
|
||||
else
|
||||
elseif (Test-IsWin16)
|
||||
{
|
||||
$winSdkUrl = "https://go.microsoft.com/fwlink/p/?LinkID=2023014"
|
||||
$wdkUrl = "https://go.microsoft.com/fwlink/?linkid=2026156"
|
||||
$FilePath = "C:\Program Files (x86)\Windows Kits\10\Vsix\WDK.vsix"
|
||||
$VSver = "2017"
|
||||
}
|
||||
else
|
||||
{
|
||||
throw "Invalid version of Visual Studio is found. Either 2017 or 2019 are required"
|
||||
}
|
||||
|
||||
$argumentList = ("/features", "+", "/quiet")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user