diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index 88e9618e..fcbd3df5 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -18,8 +18,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; }