diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index 5b68e14a..5bb04d6b 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -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