Detect installation properly
This commit is contained in:
parent
37b252d578
commit
6b7e30c035
1 changed files with 2 additions and 2 deletions
|
@ -142,10 +142,10 @@ $null = New-Module {
|
|||
$arguments = [hashtable]@{ };
|
||||
|
||||
if ($Action) {
|
||||
$install = $true;
|
||||
$install = ($Action -eq ([InstallerAction]::Install));
|
||||
$null = $arguments.Add("action", $Action);
|
||||
} else {
|
||||
$install = ($Action -eq ([InstallerAction]::Install));
|
||||
$install = $true;
|
||||
}
|
||||
|
||||
# Drivers
|
||||
|
|
Loading…
Reference in a new issue