microsoft / microsoft/winget-pkgs

[Package Issue]: Google.PlayGames wrong version detected

Open
#384,082 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

### Please confirm these before moving forward

- [x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- [x] 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

This is a repeat of issue #383966

### Steps to reproduce

Run winget upgrade -r twice or more in succesion while having Google.PlayGames installed.

### Actual behavior

As mentioned in that bug report, there's a version mismatch. If the version pull is automated, it is reading the installer version, 150.0.7863.0, not the actual application version, 26.5.750.0. Such bug causes a needless loop hitting the upstream update servers.

### Expected behavior

The winget pkg script should use the actual application version, so that it is updated once.

### Environment

```raw
winget --info
Administrador de paquetes de Windows v1.28.240
Copyright (c) Microsoft Corporation. Todos los derechos reservados.

Windows: Windows.Desktop v10.0.26200.8457
Arquitectura del sistema: X64
Paquete: Microsoft.DesktopAppInstaller v1.28.240.0

Directorios de WinGet
-----------------------------------------------------------------------------------------------------------------------
Registros %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalS…
Configuración de usuario %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalS…
Directorio de vínculos portátiles (usuario) %LOCALAPPDATA%\Microsoft\WinGet\Links
Directorio de vínculos portátiles (equipo) C:\Program Files\WinGet\Links
Raíz de paquete portátil (usuario) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Raíz de paquete portátil C:\Program Files\WinGet\Packages
Raíz de paquete portátil (x86) C:\Program Files (x86)\WinGet\Packages
Descargas del instalador %USERPROFILE%\Downloads
Módulos de configuración %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules

Vínculos
-----------------------------------------------------------------------------------
Declaración de privacidad https://aka.ms/winget-privacy
Contrato de licencia https://aka.ms/winget-license
Avisos de terceros https://aka.ms/winget-3rdPartyNotice
Página principal https://aka.ms/winget
Términos de Microsoft Store https://www.microsoft.com/en-us/storedocs/terms-of-sale

Configuración de administrador Estado
-------------------------------------------------------
LocalManifestFiles Deshabilitado
BypassCertificatePinningForMicrosoftStore Deshabilitado
InstallerHashOverride Deshabilitado
LocalArchiveMalwareScanOverride Deshabilitado
ProxyCommandLineOptions Deshabilitado
DefaultProxy Deshabilitado
```

### Screenshots and Logs

_No response_

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 with the referenced issue #383966 and the Google.PlayGames package metadata. Reproduce the behavior by running `winget upgrade -r` twice with Google.PlayGames installed, then verify that the package reports the application version 26.5.750.0 rather than the installer version 150.0.7863.0.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.