diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index eb2ec892..ed28c7ce 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -17,8 +17,13 @@ $null = New-Module { Finishes the installation of a running Windows machine. #> function Start-WindowsInstallation { - $env:WSLENV = "CONFIG_MODULE/p"; $ErrorActionPreference = 'Inquire'; + $env:WSLENV = "CONFIG_MODULE/p"; + + if ($env:CONFIG_MODULE) { + $env:CONFIG_MODULE = Resolve-Path $env:CONFIG_MODULE; + } + Start-InstallationLoop; }