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

Trim whitespace from DisplayVersion before attempting to parse it as a version number #2695

Closed
KaranKad opened this issue Jun 5, 2021 · 8 comments
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.
Milestone

Comments

@KaranKad
Copy link

KaranKad commented Jun 5, 2021

Description

I submitted this pull request at microsoft/winget-pkgs#16094 to fix winamp's version to the one that it reported in settings.
image

But since then, winget upgrade command keeps showing that winamp has a update, I think this wasn't the issue until my pull request was merged, so how is that the version reported in the settings wrong.
image

@denelon denelon added the Help-Wanted We encourage anyone to jump on these. label Jun 7, 2021
@denelon
Copy link
Contributor

denelon commented Jun 7, 2021

@KaranKad it takes time after the PR is merged to go through the publishing pipeline ultimately landing in the PreIndexed package for your local machine to pull down. Is this still happening? I'm also not sure how Winamp is reported in Add / Remove Programs.

@KaranKad
Copy link
Author

KaranKad commented Jun 7, 2021

Still happening
image

@denelon
Copy link
Contributor

denelon commented Jun 8, 2021

@ItzLevvie or @OfficialEsco or @jedieaston

Any ideas on this one?

@OfficialEsco
Copy link

Any ideas on this one?

This most be a winget-cli issue because the manifest is correct and there is nothing we can do. My +1 meant can confirm.
You can replicate this by doing winget install winamp; winget upgrade.

@ItzLevvie
Copy link

ItzLevvie commented Jun 27, 2021

@denelon: Any ideas on this one?

Seems like the Winamp developers added a space after version number, so rather than the Control Panel displaying it as 5.8, it's actually 5.8 .

It can probably be fixed if #1073 is added since Windows only allows spaces between characters rather than after the characters in folder names.

@ItzLevvie
Copy link

A workaround for those encountering this issue: reg add HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Winamp /v DisplayVersion /d 5.8 /f

@Trenly
Copy link
Contributor

Trenly commented Nov 5, 2022

@denelon - just an idea here; Should this be a CLI issue? Feature request to trim whitespace from DisplayVersion before attempting to parse it as a version number? Similar to the request for better support for preambles

@ghost ghost added the Needs-Triage Issue need to be triaged label Nov 14, 2022
@denelon denelon transferred this issue from microsoft/winget-pkgs Nov 14, 2022
@denelon denelon added Issue-Feature This is a feature request for the Windows Package Manager client. and removed Help-Wanted We encourage anyone to jump on these. Needs-Triage Issue need to be triaged labels Nov 14, 2022
@denelon denelon changed the title Problem with Winamp version Trim whitespace from DisplayVersion before attempting to parse it as a version number Mar 6, 2024
@Trenly
Copy link
Contributor

Trenly commented Jun 14, 2024

@denelon denelon added this to the 1.8 Client milestone Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

No branches or pull requests

5 participants