Redirect user for configuration properly
This commit is contained in:
parent
ea53352de6
commit
8268fdd29d
|
@ -253,8 +253,8 @@ $null = New-Module {
|
||||||
& $installHandler @argumentList;
|
& $installHandler @argumentList;
|
||||||
}
|
}
|
||||||
} elseif ($Action -eq ([InstallerAction]::ConfigureUser)) {
|
} elseif ($Action -eq ([InstallerAction]::ConfigureUser)) {
|
||||||
if ((-not $Arguments.ContainsKey($userArgument)) -or ($null -eq $Arguments[$userArgument])) {
|
if ((-not $Arguments.ContainsKey($userArgument)) -or (-not $Arguments[$userArgument])) {
|
||||||
$argumentList.Add($userArgument, ($env:UserName));
|
$Arguments.Add($userArgument, ($env:UserName));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($UserConfigurator) {
|
if ($UserConfigurator) {
|
||||||
|
|
Loading…
Reference in a new issue