Detect installation properly
This commit is contained in:
parent
fbeeb6532e
commit
9dbed50916
|
@ -141,10 +141,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