Allow parameters to be passed for uninstall (required by some packages) (#2269)

pull/18777/head
Tim Small 9 years ago committed by Matt Clay
parent c56da672d1
commit efb29d6436

@ -288,6 +288,11 @@ Function Choco-Uninstall
$cmd += " -force" $cmd += " -force"
} }
if ($packageparams)
{
$cmd += " -params '$packageparams'"
}
$results = invoke-expression $cmd $results = invoke-expression $cmd
if ($LastExitCode -notin $successexitcodes) if ($LastExitCode -notin $successexitcodes)

Loading…
Cancel
Save