Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Package Issue]: Tencent.WeChat still notify update even I have installed the latest version #178063

Open
2 tasks done
ali50m opened this issue Oct 5, 2024 · 2 comments · May be fixed by #178077, #178078 or #178079
Open
2 tasks done
Labels
In-PR Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage This work item needs to be triaged by a member of the core team.

Comments

@ali50m
Copy link

ali50m commented Oct 5, 2024

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

Installation issue.

Brief description of your issue

Install Tencent.WeChat with winget, then run winget update, it will notify there is update for Tencent.WeChat. If I run winget update Tencent.WeChat, winget will download and install it successfully. But when I run winget update again, it still prompt there is an update for Tencent.WeChat.

Steps to reproduce

  1. winget install Tencent.WeChat
  2. winget update
  3. winget update Tencent.WeChat
  4. winget update

图片
图片

Actual behavior

Always prompt there is an update for Tencent.WeChat .

Expected behavior

install the latest Tencent.WeChat through winget successfully.

Environment

Winget v1.8.1911
Windows: Windows.Desktop v10.0.19044.4894
Tencent.WeChat 3.9.12.16 -> 3.9.12.1000
WT: 1.21.2701.0
PowerShell 7.4.5

Screenshots and Logs

No response

@ali50m ali50m added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Oct 5, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Oct 5, 2024
@Dragon1573
Copy link
Contributor

Manually verified. It seems the *.msi installer will write File version instead of Product version to the ARP entries.

image

@Dragon1573
Copy link
Contributor

Start from version 3.9.12.16, a vanity URL is used as InstallerUrl. In order to avoid "infinite upgrade loop", manifest version of 3.9.12.16 and 3.9.12.17 should be removed.

11:13:46 D:\...\winget-pkgs  [master ≡] 1.387s pwsh> komac show --installer-manifest -v 3.9.12.17 Tencent.WeChat
PackageIdentifier: Tencent.WeChat
PackageVersion: 3.9.12.17
InstallerType: nullsoft
Scope: machine
UpgradeBehavior: install
Protocols:
- weixin
Installers:
- Architecture: x64
  InstallerUrl: https://dldir1v6.qq.com/weixin/Windows/WeChatSetup.exe
  InstallerSha256: 4985F96235154FC4176E3972F14709F5F10FC0606E5589075A6DA9B6DC7FCCD3
  ProductCode: WeChat
ManifestType: installer
ManifestVersion: 1.6.0

11:14:14 D:\...\winget-pkgs  [master ≡] 1.895s pwsh> komac show --installer-manifest -v 3.9.12.16 Tencent.WeChat
PackageIdentifier: Tencent.WeChat
PackageVersion: 3.9.12.16
InstallerType: nullsoft
Scope: machine
UpgradeBehavior: install
Protocols:
- weixin
Installers:
- Architecture: x86
  InstallerUrl: https://dldir1v6.qq.com/weixin/Windows/WeChatSetup_x86.exe
  InstallerSha256: A084A7B6416F4AF4A7108A46CE0A4F288562475592B6053BE04EE9B8D91D8D96
  ProductCode: WeChat
ManifestType: installer
ManifestVersion: 1.6.0

11:14:34 D:\...\winget-pkgs  [master ≡] 2.049s pwsh> komac show --installer-manifest -v 3.9.10.19 Tencent.WeChat
PackageIdentifier: Tencent.WeChat
PackageVersion: 3.9.10.19
InstallerType: nullsoft
Scope: machine
UpgradeBehavior: install
Protocols:
- weixin
Installers:
- Architecture: x64
  InstallerUrl: https://dldir1v6.qq.com/weixin/Windows/WeChat3.9.10.19.exe
  InstallerSha256: 9602ACB85408EE48EE689468F63565496DFB12F1FE21AD674AA423029E38856C
  ProductCode: WeChat
ManifestType: installer
ManifestVersion: 1.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In-PR Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage This work item needs to be triaged by a member of the core team.
Projects
None yet
2 participants