microsoft / microsoft/winget-cli

Office upgrade does not work

Open
#1,728 25 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.