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