Ensure prerequisites are installed at the very beginning
This commit is contained in:
parent
19900bac81
commit
67fc0770f3
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/pwsh
|
#!/bin/pwsh
|
||||||
|
. "$PSScriptRoot/../Scripts/Prerequisites.ps1";
|
||||||
|
|
||||||
. "$PSScriptRoot/Manage.ps1";
|
. "$PSScriptRoot/Manage.ps1";
|
||||||
. "$PSScriptRoot/Upgrade.ps1";
|
. "$PSScriptRoot/Upgrade.ps1";
|
||||||
. "$PSScriptRoot/User/Install.ps1";
|
. "$PSScriptRoot/User/Install.ps1";
|
||||||
|
@ -9,7 +11,6 @@ function Invoke-WindowsInstallation([Context] $context)
|
||||||
{
|
{
|
||||||
$Global:InformationPreference = "Continue";
|
$Global:InformationPreference = "Continue";
|
||||||
$Global:ErrorActionPreference = "Inquire";
|
$Global:ErrorActionPreference = "Inquire";
|
||||||
. "$PSScriptRoot/../Scripts/Prerequisites.ps1";
|
|
||||||
$context.UserNames ??= @("Manuel");
|
$context.UserNames ??= @("Manuel");
|
||||||
Start-WindowsInstallation $context;
|
Start-WindowsInstallation $context;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue