From d537ba87a53127fd70f822b70675ddf9a1d6276f Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 18 Jul 2023 23:33:53 +0200 Subject: [PATCH] Add NetFx3 as a prerequisite --- scripts/Windows/OS/Install.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index 84c475bd..be7ee9f5 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -14,6 +14,8 @@ function Invoke-WindowsInstallation([Context] $context) if (-not $context.Get("InitialConfiguration")) { $configPath = "$PSScriptRoot/../Config"; + Enable-WindowsOptionalFeature -Online -All -FeatureName "NetFx3"; + . "$configPath/Windows/Install.ps1" $context; . "$configPath/Explorer/Install.ps1" $context; . "$configPath/OpenSSH/Install.ps1" $context;