winutil icon indicating copy to clipboard operation
winutil copied to clipboard

Bug Report: Prefer Chocolatey and Uninstall uses WinGet for uninstall instead of Choco

Open ruxunderscore opened this issue 1 year ago • 1 comments

Describe the bug

Uninstall seems to trigger WinGet for the uninstall process, which with WireShark in my example completes, but leaves behind a broken shortcut.

NOTE: I am currently looking into this bug, but if someone else figures it out first, let me know.

To Reproduce

Steps to reproduce the behavior:

  1. Check Prefer Chocolatey
  2. Select the Application you want to uninstall (WireShark for my example.)
  3. Select Uninstall Selected

Expected behavior

Should be calling Uninstall-ChocoPackage instead.

Screenshots

===========================================
--   Configuring Chocolatey packages   ---
===========================================
Starting installation of wireshark with Chocolatey.
wireshark installed successfully.
===========================================
--      Installs have finished          ---
===========================================
Queueing WiresharkFoundation.Wireshark for Winget uninstall
Queueing  for Winget uninstall
===========================================
--    Configuring winget packages       ---
===========================================
Found Wireshark 4.4.0 x64 [WiresharkFoundation.Wireshark]
Starting package uninstall...
Successfully uninstalled
WiresharkFoundation.Wireshark uninstalled successfully.
No installed package found matching input criteria.
Failed to uninstall .
===========================================
--       Uninstalls have finished       ---
===========================================

ruxunderscore avatar Oct 10 '24 22:10 ruxunderscore

This issue was marked as stale due to inactivity.

github-actions[bot] avatar Jan 09 '25 00:01 github-actions[bot]

This is still the case. So this has to be looked into!

MyDrift-user avatar Jun 15 '25 08:06 MyDrift-user

I get the same behaviour, I'm choosing chocolatey as the package manager but uninstalling is using winget.

pauloo0 avatar Jul 11 '25 08:07 pauloo0

This issue was marked as stale due to inactivity.

github-actions[bot] avatar Oct 10 '25 00:10 github-actions[bot]