microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.24k stars 1.45k forks source link

Mark Installed Packages To Not Upgrade #1335

Closed EzekialSA closed 3 years ago

EzekialSA commented 3 years ago

Mark Installed Packages To Not Upgrade

In a lot of enterprise environments there are controls that exist to force certain versions of things like Microsoft Office. Winget is cool in that it will do a check of installed apps that it didn't install and try to update them, that should definitely stay, but I have the issue where office will fail to install because the enterprise forces updates on a semi annual schedule instead of latest.

Proposed technical implementation details (optional)

Be able to do a "winget list", find the Microsoft.Office entry or whatever it may be -> winget flag --ignore-upgrade Microsoft.Office

That way it allows winget to work in tandem with enterprise applications such as SCCM or InTune, without competing.

jedieaston commented 3 years ago

Probably a dupe of (or at least very related to) #476.

denelon commented 3 years ago

Duplicate of #476

ghost commented 3 years ago

@EzekialSA we've identified this Issue as a duplicate of another one that already exists. This specific instance is being closed in favor of tracking the concern over on the referenced Issue. Thanks for your report! Be sure to add your 👍 to the other issue to help raise the priority.