marticliment / UniGetUI

UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
https://www.marticliment.com/unigetui/
MIT License
11.93k stars 396 forks source link

[BUG] uninstall failed when single - isolated in the id, missing "" to make it works #2515

Closed Pascal-KOTTE closed 1 month ago

Pascal-KOTTE commented 1 month ago

Please confirm these before moving forward

UniGetUI Version

3.1.0

Windows version, edition, and architecture

Microsoft Windows 11 Famille, Version 10.0.22631 Build 22631

Describe your issue

Some packages have a single - in their id name; and the uninstall generated command line does not include "" so it fails. example: winget.exe uninstall --id ARP\Machine\X64\OneNoteFreeRetail - uk-ua --exact --accept-source-agreements --version "16.0.16327.20264" --silent --disable-interactivity result: Bad argument error

OK if manual correction; add ": winget.exe uninstall --id "ARP\Machine\X64\OneNoteFreeRetail - uk-ua" --exact --accept-source-agreements --version "16.0.16327.20264" --silent --disable-interactivity

Very simple issue ;-) Thanks your job & share Marti I make an article (in french.) to promote it. https://medium.com/cloudready-ch/winget-comment-installer-et-mettre-%C3%A0-jour-une-application-sous-windows-1781a5d1a203

Steps to reproduce the issue

Can use the Microsoft office multilingual package already preinstalled lot of prefilled market computers.

UniGetUI Log


:\Windows\System32>winget.exe uninstall --id ARP\Machine\X64\OneNoteFreeRetail - uk-ua --exact --accept-source-agreements --version "16.0.16327.20264" --silent --disable-interactivity
Gestionnaire de package Windows v1.8.1911
Copyright (c) Microsoft Corporation. Tous droits réservés.

Spécificateur d’argument non valide : '-'

Package Managers Logs

useless to provide more I think.

Relevant information

I do not find where to read work-in-progress; but I take time to verify not already submitted. Hope not...

Screenshots and videos

image image