Detect installation properly
This commit is contained in:
parent
1baf93c48a
commit
a43f09dce4
|
@ -141,10 +141,10 @@ $null = New-Module {
|
||||||
$arguments = [hashtable]@{ };
|
$arguments = [hashtable]@{ };
|
||||||
|
|
||||||
if ($Action) {
|
if ($Action) {
|
||||||
$install = $true;
|
$install = ($Action -eq ([InstallerAction]::Install));
|
||||||
$null = $arguments.Add("action", $Action);
|
$null = $arguments.Add("action", $Action);
|
||||||
} else {
|
} else {
|
||||||
$install = ($Action -eq ([InstallerAction]::Install));
|
$install = $true;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Drivers
|
# Drivers
|
||||||
|
|
Loading…
Reference in a new issue