diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index 06df6afa..bae56733 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -7,9 +7,10 @@ function Invoke-WindowsInstallation([Context] $context) { + $configPath = "$PSScriptRoot/../Config"; + $softwarePath = "$PSScriptRoot/../Software"; + if (-not $context.Get("InitialConfiguration")) { - $configPath = "$PSScriptRoot/../Config"; - $softwarePath = "$PSScriptRoot/../Software"; $null = Enable-WindowsOptionalFeature -Online -All -FeatureName "NetFx3";