[Windows] Implement minor improvements, rev 2 (#3839)

* implement minor improvements

* Update Install-WDK.ps1

* fix nitpick
This commit is contained in:
Maxim Lobanov
2021-08-04 09:35:16 +03:00
committed by GitHub
parent 924ebc40d1
commit 3b5c4ebd39
7 changed files with 104 additions and 70 deletions

View File

@@ -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")