microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
22.93k stars 1.42k forks source link

Handle Steam games' unknown version #3156

Open NLZ opened 1 year ago

NLZ commented 1 year ago

Description of the new feature / enhancement

Steam install games without version in the uninstall records, hence currently winget just says it's unknown. Because of this, winget keeps printing warnings like x package(s) have version numbers that cannot be determined. Use --include-unknown to see all results. depending on the number of games installed.

Now this is annoying because I cannot really do anything about it (aside from manually changing the uninstall entries in the registry). So now I'm simply ignoring this message, and if there will be other, more valid reasons to pay attention to unknown versions, I won't see them.

I guess winget does this whole thing to provide the option to replace wild programs from winget, but with Steam being another package manager, it's probably best to leave it's packages alone.

Proposed technical implementation details

My proposal would be to have special case for when the Id is Steam App %appid% and not count it as unknown.

Or maybe some advanced magic to query Steam about the real version, but that might be over-complicated. Afaik Steam only uses buildid instead of version (stored in \steamapps\appmanifest_%appid%.acf), but that's not useful outside of Steam's database.

cjwijtmans commented 1 year ago

file bug with steam.

lbonvarl commented 6 months ago

@NLZ did you file anything with Steam ?

NLZ commented 6 months ago

@NLZ did you file anything with Steam ?

I think I did, but now I can't find it in their support system, so maybe I haven't actually. I'll open one now.

edit: submitted https://help.steampowered.com/en/wizard/HelpRequest/HT-3MX8-B9KM-5KJ2 but I think it's only visible to me

NLZ commented 6 months ago

Steam Support told me to open a suggestion forum entry and hope that it might catch a developer's eye. https://steamcommunity.com/discussions/forum/10/4286935719733230650/