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

Winget says unknown version for package it just installed #1356

Closed
Josh65-2201 opened this issue Aug 9, 2021 · 7 comments
Closed

Winget says unknown version for package it just installed #1356

Josh65-2201 opened this issue Aug 9, 2021 · 7 comments
Milestone

Comments

@Josh65-2201
Copy link

Brief description of your issue

When looking at a package upgraded/installed then running the upgrade command it will say unknow version but show the lasted version as available.

image

Steps to reproduce

  1. Install a package (Paper cut mobility)
  2. Run winget upgrade.
  3. See version say unknown with available having a version number.

Environment

Windows: Windows.Desktop v10.0.19043.1151
Package: Microsoft.DesktopAppInstaller v1.11.11451.0
@ghost ghost added the Needs-Triage Issue need to be triaged label Aug 9, 2021
@ItzLevvie
Copy link

ItzLevvie commented Aug 9, 2021

This happens because WinGet relies on the information provided from Control Panel, so in this case, the applications' developers didn't add a DisplayVersion key in the registry, so WinGet can't find the version number. Please report this to the applications' developers to see if this is something they can resolve.

@ImJoakim
Copy link
Contributor

ImJoakim commented Aug 9, 2021

The reason for this is because the version from winget upgrade or winget list relies on the information from the ARP (Add or Remove Programs) in the control panel.

The ideal solution is to request the publisher of the software to add a version to the installer.

image

@Josh65-2201
Copy link
Author

Alright ill make a request on there end.

@remidebette
Copy link

remidebette commented Dec 15, 2022

Hi everyone,

Can someone provide a more in depth technical explanation to the google teams about what should be done to fix the versionning of their gcloud SDK installer?
They do not seem to understand the issue:
https://issuetracker.google.com/issues/258012256

And since their code is not public, the community cannot do it for them like fbstj and jedieaston did for rustup here rust-lang/rustup#3047

@Masamune3210
Copy link

WinGet will show unknown version when the entry for the app in the registry is either missing or has otherwise issues with it's version entries.

@Ramshu
Copy link

Ramshu commented Jul 7, 2023

I had a similar problem with the software “Hard Disk Low Level Format Tool” no matter how many times I updated or reinstalled it, the version number always appeared as unknown.

I solved it by editing the registry: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Hard Disk Low Level Format Tool_is1 I added a string value with the name DisplayVersion and as value I put the version of the program 4.40

This solution may work for any application.

@Masamune3210
Copy link

This isnt them not understanding the issue. This is them deciding its not their issue to worry about. Its basically their way of dusting their hands off and walking away from it

Hi everyone,

Can someone provide a more in depth technical explanation to the google teams about what should be done to fix the versionning of their gcloud SDK installer? They do not seem to understand the issue: issuetracker.google.com/issues/258012256

And since their code is not public, the community cannot do it for them like fbstj and jedieaston did for rustup here rust-lang/rustup#3047

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants