Bug Report: Prefer Chocolatey and Uninstall uses WinGet for uninstall instead of Choco
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:
- Check Prefer Chocolatey
- Select the Application you want to uninstall (WireShark for my example.)
- 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 ---
===========================================
This issue was marked as stale due to inactivity.
This is still the case. So this has to be looked into!
I get the same behaviour, I'm choosing chocolatey as the package manager but uninstalling is using winget.
This issue was marked as stale due to inactivity.