Determine installer action properly
This commit is contained in:
parent
806478db65
commit
ea53352de6
2 changed files with 3 additions and 3 deletions
scripts/Common/Scripts
|
@ -205,7 +205,7 @@ $null = New-Module {
|
|||
)
|
||||
|
||||
[InstallerAction] $Action = & {
|
||||
if ($Action.HasValue) {
|
||||
if ($null -ne $Action) {
|
||||
$Action;
|
||||
} else {
|
||||
[InstallerAction]::Install;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue