Windows has a vague and ambiguous way of declaring standards for registering applications in the windows registry.
Following the official documentation for application registration Microsoft recommends registering apps under
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\MyApp.exe
This recommendation however doesn't seem to be followed by developers since this key has not even been created on my system yet while other applications being registered into
HKEY_CURRENT_USER\Software\Classes\MyApp
and
HKEY_CURRENT_USER\Software\Classes\Applications\MyApp.exe
Each of the keys above has a different structure and thus different options (i.e. the key SupportedTypes
being available in one but not the other).
What is the difference between registering apps under these different keys and in what scenarios would you chose one over another?