Detect installation properly
This commit is contained in:
parent
617a29da3e
commit
c957ee4b19
|
@ -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