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