Prevent unnecessary config evaluation
This commit is contained in:
parent
a9daaa9d2b
commit
46a8126298
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ $null = New-Module {
|
||||||
|
|
||||||
& $installHandler @argumentList -Action ([InstallerAction]::Configure);
|
& $installHandler @argumentList -Action ([InstallerAction]::Configure);
|
||||||
|
|
||||||
if (-not (Test-SetupUser)) {
|
if ($UserConfigurator -and (-not (Test-SetupUser))) {
|
||||||
& $installHandler @argumentList -Action ([InstallerAction]::ConfigureUser);
|
& $installHandler @argumentList -Action ([InstallerAction]::ConfigureUser);
|
||||||
}
|
}
|
||||||
# ToDo: Automatically configure after installation
|
# ToDo: Automatically configure after installation
|
||||||
|
|
Loading…
Reference in a new issue