chocolatey / cChoco

Community resource to manage Chocolatey
Apache License 2.0
154 stars 99 forks source link

Chocolatey params not used on upgrade #105

Closed bozho closed 5 years ago

bozho commented 6 years ago

Set-TargetResource is not passing $chocoParams to Upgrade-Package function.

Our use case is a problematic SQL Server Management Studio package, which lists a KB dependency, which makes choco install fail on Win10/Win2016. Therefore, we use --ignore-dependencies Chocolatey parameter. The parameter is ignored on upgrade, which makes upgrading SSMS tedious :-)

I will be submitting a pull request with a fix shortly.

pauby commented 5 years ago

Merged #106