My application needs ".NET 5.0 Desktop Runtime" to get executed and if this .net version is not available then the application gives pop up saying "To run this application, you must install .NET. Would you like to download it now?". If I Click on yes, it will open web page to download the " .NET 5.0 Desktop Runtime", However if I already have some other version like "Microsoft Windows Desktop Runtime 6.0.24" then it still shows that pop up but it will not open any web page when clicked on yes button like previously.
I found Microsoft document related to it but it won't answer my question
Troubleshoot app launch failures - .NET | Microsoft Learn