Uninstall needs the ability to specify --architecture
#4810
Labels
Area-Architecture
Issue related to processor architecture
Command-Uninstall
Issue related to WinGet Uninstall
Issue-Feature
This is a feature request for the Windows Package Manager client.
Description of the new feature / enhancement
Background: This actually started with me wanting to update
Microsoft.DotNet.DesktopRuntime.6
x64, but WinGet would neitherwinget install --silent --id Microsoft.Dotnet.DesktopRuntime.6 --architecture x64
norwinget upgrade --all
.Scenario: I want to uninstall
Microsoft.DotNet.DesktopRuntime.6
x64, so I can upgrade it / install the newest version.I try with
--architecture
,winget install
has it, so.Hmm, maybe uninstall will prompt me for what architecture to uninstall then?
In my case I could use version, as x86 and x64 are different versions. But they could in theory be the same version.
I ended up doing:
Reproduce
Now try to either upgrade or uninstall just x64.
Proposed technical implementation details
Add a
--architecture
switch / parameter / option towinget uninstall
.winget install
andwinget upgrade
already have.The text was updated successfully, but these errors were encountered: