Install most recent version of winget
during installation
This commit is contained in:
parent
cb3455deee
commit
8bceb30872
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ function Invoke-WindowsInstallation([Context] $context)
|
|||
|
||||
if (-not $context.Get("SoftwarePrerequisitesInstalled")) {
|
||||
Write-Host "Installing prerequisites for installing software";
|
||||
choco install -y winget;
|
||||
|
||||
Install-Module -AcceptLicense -Force "NuGet";
|
||||
Import-Module NuGet;
|
||||
|
|
Loading…
Reference in a new issue