DrewNaylor / guinget

Unofficial GUI for Microsoft's Windows Package Manager (winget). Kinda like Synaptic, but for Windows. Not associated with either Microsoft or the Synaptic project, and Microsoft does not endorse this software.
Apache License 2.0
135 stars 3 forks source link

Add support for winget's uninstall command once it's available. #85

Closed DrewNaylor closed 3 years ago

DrewNaylor commented 3 years ago

I've planned for this for a while, but I just want to have an issue to remind myself to do it.

DrewNaylor commented 3 years ago

Early tests show it can have just the package ID specified for things like Terminal, but packages not installed with MSIX packages need their Add/Remove Programs entry to be specified. This makes it kinda complicated unless non-MSIX manifests have an "uninstall" key specified. What would be nice is if all the packages were available in MSIX format so that this would be simple, but a lot of packages don't have a signing certificate they can use. Hopefully this'll change when the free signing service is available.

DrewNaylor commented 3 years ago

Most of this is complete, but I need to add a way to say whether the uninstaller should take a package's version into consideration. That would be done with a checkbox in the "Options" window, and I can add a "More..." linklabel to the "Apply Changes" window that opens a small tool window with the "Apply Changes" tab checkboxes duplicated. Checking and unchecking the boxes immediately applies the setting, saves, and reloads, and there can be a "Defaults" button to reset them to default. The window will close when the "Apply Changes" window is closed by using the "closing" event, and I guess there can be a "Close" button in the bottom-right.

By default, we won't specify the version number, but it may be necessary in some cases so the option will be there.

This'll be available when upgrading, too.

DrewNaylor commented 3 years ago

There's a way to ignore versions now as of 56356be, so this can be closed.

DrewNaylor commented 3 years ago

Now there's a "Defaults" button, as that window is kinda complicated.