UniGetUI icon indicating copy to clipboard operation
UniGetUI copied to clipboard

[IMPROVEMENT] Allow to override the Winget package ID per package

Open EDM115 opened this issue 9 months ago • 5 comments

Please confirm these before moving forward.

  • [x] I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
  • [x] This improvement refers to an existing feature. If you want to suggest a new feature, please use this template.
  • [x] This improvement is not a bug. If you want to report a bug, please use this template.

Describe the improvement

We already have the installation options for packages which allows us to override certain switches or add entirely new flags to the update command, which is great !
However, we miss the ability to customize the ID of the package on winget.

To this day, certain packages fails to install by their ID and only require a part of it (ex winget install ffmpeg instead of winget install Gyan.FFmpeg, or winget install pnpm instead of winget install pnpm.pnpm).
This prevents us to update these packages.

Describe how this improvement could help users

We could finally upgrade packages like FFmpeg and PNPM directly through UniGetUI without errors

EDM115 avatar Mar 14 '25 18:03 EDM115

Huh, I reckon this is an issue that should be solved from WinGet's side, and not from UniGetUI...

marticliment avatar Mar 14 '25 18:03 marticliment

That's very odd, as both of the provided examples work for me using the full ID and pnpm at least doesn't work with the shortened ID.... Image

Image

mrixner avatar Mar 14 '25 18:03 mrixner

@mrixner the issue mostly happens on update of these packages and not really on install
should have specified it

EDM115 avatar Mar 15 '25 08:03 EDM115

Huh, I reckon this is an issue that should be solved from WinGet's side, and not from UniGetUI...

@marticliment indeed, but as you can see it is a known issue of winget since years and there seems like they won't fix it anytime soon :

  • https://github.com/microsoft/winget-cli/issues/2686
  • https://github.com/microsoft/winget-cli/issues/4751

this would allow us to have a workaround

EDM115 avatar Mar 16 '25 09:03 EDM115

update : we can bypass it with this config. update works fine with this enabled

Image

EDM115 avatar Nov 14 '25 21:11 EDM115