E.g. is it possible to set the /NoSetAsDefault
parameter for the PDFXchangeEditor package so that it is used on install
and each upgrade
, including upgrade all
?
Is there a way to persist Chocolatey package parameters so that they are silently reused on upgrade?
1 Answer
Upgrade to at least Chocolatey v0.10.4 and turn on the feature that does this for you automatically.
choco feature enable -n useRememberedArgumentsForUpgrades
To better understand all of the considerations, please read over issue #797.
Note: this feature is in preview currently to work out any unforeseen issues, but it will be turned on automatically in a future release.
You may also wish to subscribe to the chocolatey-announce group for release announcements in the Chocolatey ecosystem so you continue to be aware of new features and fixes.
choco upgrade pdfxchangeeditor -params '"/NoSetAsDefault"' -y && choco upgrade all -y