microsoft / microsoft/winget-cli
Office upgrade does not work
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue
I have the following package which is listed twice when entering winget upgrade:
Microsoft 365 Apps for enterprise [Microsoft.Office] Version 16.0.14527.20234
Every time I enter winget upgrade --all I have the following problem:
When winget tries to update the 2 office packages, a window is displayed which is black and has no output but the office icon.
After 2-3 min the update probably completes because the window disapears and winget moves on.
After entering winget upgrade the Microsoft 365 Apps is still displayed in the list of upgradeable packages.
Maybe the updater for office could be improved as well. (Not only a black window)
I also noticed that when I open a Office App and check the version from within the app it displays that it is up to date.
So it appears that it is only updated because I use winget.
Steps to reproduce
Install Microsoft Office for Enterprise.
execute winget upgrade --all
Expected behavior
The Office packages should be updated.
Actual behavior
The feedback of the update process is bad (black window).
After the update it is still listed as upgradable in winget.
Environment
Windows Package Manager v1.1.12986
Windows: Windows.Desktop v10.0.19043.1288
Paket: Microsoft.DesktopAppInstaller v1.16.12986.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the issue with winget upgrade --all on the stated Windows and WinGet versions, then inspect the Office upgrade and detection behavior; done means the package updates, disappears from the upgrade list, and provides useful progress feedback.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100