From 8bceb30872cf2c2e19d397b5f17f0d5e2513ddfc Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 27 Sep 2023 18:36:17 +0200 Subject: [PATCH] Install most recent version of `winget` during installation --- scripts/Windows/OS/Install.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index 0a6b4da1..beb83518 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -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;