After trying few things there is some changes that needs to be done for Winget to work properly :
- I wrote a script with multiples
winget update
in a row, beginning with some specific overrride options, then doing the global update. - Trying with the last update the mentioned parameters in the
--help
option with the installer. apparently you need to add--
in front of the options to be functional (it wasn't clear) - Winget accepts
--override
only with one package at a time
So, it's my final version in my script :
winget update --silent --accept-package-agreements --accept-source-agreements --disable-interactivity --override "--setdefaultbrowser=0 --desktopshortcut=0 --startmenushortcut=0 --pintotaskbar=0 ----launchbrowser=0 --silent" Opera.Opera
winget update --silent --accept-package-agreements --accept-source-agreements --all --wait --disable-interactivity
If this doesn't work for you, my last solution is to block the version used in Winget so it'll ignore any future update.