Closed jfernandz closed 11 months ago
This is impossible to do because app installer isn't writing version number of package to registry. And because it uses some exotic installer it's going to be quite hard to detect version number of package from file metadata once https://github.com/microsoft/winget-cli/issues/3134 is finished. Because winget would need to start the app to see where is the executable located to detect version number from executable metadata.
@krystofkrticka and couldn't we report this upstream as in https://github.com/microsoft/winget-pkgs/issues/88994?
Well the issue here is that this package does not have constant install path as is shown in example with WinDirStat. Because this installer is creating new directory every time it downloads and update and path to this apps executable looks like this: C:\ProgramData\0install.net\implementations\sha256new_UWNGXVK6DRTTECOLMXJSJBKPLJSVPF4RLJDWUUYVXIU4S6CAUU7A
and since it uses sha256 in it's path it'll change every update.
Either way, it's an issue with the way the installer was designed and, at this time, there isn’t anything Winget can do to correct it
[Policy] Installer issue
Hello @jfernandz,
This issue has been identified as requiring a fix from a third party or external repository. Since there has been no recent activity on this issue, it will be automatically closed.
Template: msftbot/noRecentActivity/areaExternal
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
DeepL doesn't report a proper version so it's updated every time I run
winget upgrade --all --include-unknown
Steps to reproduce
Install
DeepL.DeepL
and verify version isn't properly reported withwinget upgrade --all --include-unknown
Actual behavior
DeepL.DeepL
is upgraded every time you runwinget upgrade --all --include-unknown
Expected behavior
DeepL.DeepL
is upgraded once, just when newer version is available.Environment