dotnet / dotnet/cli-lab

Uninstall Tool fails for same reason as Add/Remove Programs

Open
#415 1 comment 0 reactions 0 assignees View on GitHub
Area-Uninstall-Tool
Dominant language
C#
Stars
774
Forks
72
Avg merge
1d 23h
Merged PRs (30d)
2

Description

I was expecting this tool would help to uninstall "stuck" .NET installations that can't be uninstalled via the normal approach (add/remove programs, msi, etc.)

Sadly, it seems this tool is just running the same uninstallation logic as those other approaches or at least it does so to enough of an extent that I am unable to uninstall an old version of .NET 8 that I can't seem to figure out how to get rid of.

The issue appears to be an MSI (`dotnet-apphost-pack-8.0.0-win-x64.msi`) that is missing from its folder under `C:\ProgramData\Package Cache\` but I can't seem to find anywhere that I can get my hands on that MSI so I remembered this tool was supposed to be good at getting rid of broken installations (at least I thought I remembered hearing that), though sadly it seems not to be the case.

Any chance the tool can be improved to function despite whatever caused this scenario? Any way I can fix this issue so I can get rid of these old versions?

Thanks kindly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.