microsoft / microsoft/winget-pkgs

[Package Issue]: Zoom.Zoom Incorrect Installed Version Reported

Open
#88,334 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
No language data
Stars
11.1k
Forks
9.7k
Avg merge
1h 32m
Merged PRs (30d)
376

Description

Please confirm these before moving forward
  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue

No applicable update found.

Brief description of your issue

When Zoom.Zoom in installed in the Machine Scope it does not correctly report the Installed Version, instead it reports its less than ( > ) the currently available version

Problematic Machine Scope Install

winget list zoom.zoom
Name        Id        Version
Zoom(64bit) Zoom.Zoom > 5.12.10137

Compared to the User Scope

Name Id        Version   Available
-----------------------------------
Zoom Zoom.Zoom 5.12.8964 5.12.10137

This causes problems as Winget Update isn't able to detect upgrades as the Installed version will always match the Available version.

I suspect specify the ProductCode or UpgradeCode is causing this problem within Zoom.Zoom.installer.yaml

  AppsAndFeaturesEntries:
  - DisplayName: Zoom(64bit)
    DisplayVersion: 5.12.6 (10137)
    ProductCode: '{8A24B3AE-F70D-4FA5-8A8D-AB84595A891C}'
    UpgradeCode: '{C819B794-A45C-4F27-9860-0C86492A52CC}'
Steps to reproduce

Installing an older version of Zoom

Install an older version of Zoom.Zoom will cause this issue to occur but only in the Machine Scope
winget install zoom.zoom --silent --scope machine --version 5.12.8964

Actual behavior

This should be the same as the User
Install an older version of Zoom.Zoom
winget install zoom.zoom --silent --scope machine --version 5.12.8964
Run Winget List

winget list zoom.zoom
Name        Id        Version
Zoom(64bit) Zoom.Zoom > 5.12.10137
Expected behavior

This should behave exactly the same as the User Scope version
Install an older version of Zoom.Zoom
winget install zoom.zoom --silent --scope user --version 5.12.8964
Run Winget List

winget list zoom.zoom
Name        Id        Version
Zoom(64bit) Zoom.Zoom > 5.12.10137
Environment
C:\Users\******>winget --info
Windows Package Manager v1.3.2691
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19043.2130
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2691.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Environment:
- Windows 10 Pro 21H2 Build 19044.1706
- WinGet
Screenshots and Logs

When installed in User Scope
image
image

When installed in Machine Scope
image
image
Note: The correct version of Zoom is installed
image

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

Start by inspecting Zoom.Zoom.installer.yaml, especially its AppsAndFeaturesEntries ProductCode and UpgradeCode, then reproduce the machine-scope installation with winget install zoom.zoom --silent --scope machine --version 5.12.8964 and run winget list zoom.zoom. Done means the installed version is reported as 5.12.8964 rather than > 5.12.10137, matching the user-scope behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
yaml
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.