Trying to get default web browser path fails on Windows 10
问题 I'm doing the following in my app's installer (note that the installer for this project is just a Windows executable ( setup.exe ) and not an MSI.) First I needed to check if there're file associations for .htm and .html file types. I did so already. And then if there's no association I needed to add them to be opened by a web browser. To make a lesser of an impact on a user's system, I thought to go with the user's default web browser. The question is how to find its path? So I was doing