[BUG] Installed .NET Runtimes and Visual C++ Redistributables incorrectly detected as missing
Please confirm these before moving forward
- [x] I have searched for my issue and have not found a similiar in the Open or Closed issues.
- [x] I have tested that this issue has not been fixed in the latest (beta or stable) release.
- [x] I have checked the Discussions section for solutions.
- [x] This issue is about a bug (if it is not, please use the correct template).
Winhance Version
v26.06.12
Windows version, edition, and architecture
Windows 11 Pro 26200.8655
Describe your issue
Instaling Runtimes & Dependencies notes that NET Runtime 3.1 and Visual C++ 2015-2022 is not instaled.
Steps to reproduce the issue
- Mark Runtimes & Dependecies to install.
- Install and wait to finish installation.
- Check status installed.
- Notice that some part is markt as not instaled.
Expected behavior
Expected that all is instaled.
Actual behavior
Winhance not recognize tht some part of installation sucefull is instaled.
Screenshots or Logs (if applicable)
Additional context
Logs from instalation status Command CProgram FilesWinhancewinge.txt
Update After third force install, Visual C++ 2015-2022 marks as instaled, but not for NET Runtime 3.1. In cmd logs nothing changed.
Noted, will look into this. Thanks
Hey @limeingtone,
Thanks for reporting this. The cause was that Winhance checks two things — the package manager and the registry — and only trusted the result if the registry display name matched the pattern it had on file. Microsoft has used several different names for the same runtime over the years (".NET Core Runtime" vs ".NET Runtime", and "Visual C++ v14 Redistributable" alongside "Visual C++ 2015-2022 Redistributable"), so a correct "installed" result from WinGet was being thrown away as a false positive.
Each entry can now hold several display-name patterns and matches if any of them fit, with the real-world alternates added. Credit to @hamsa0x7, who tracked this down and submitted the fix in #724 along with tests for it.
If anything still shows as not installed after Release 28, please do let us know which runtime and what it's called in Apps & Features — there may be another name variant we haven't covered.
This will be available for testing in Release 28.
Thanks for reporting!
Drafted and approved by @memstechtips - Sent by Memory's Agent