diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index b153f114..20ccce95 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -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