I'm using a custom protocol, but sometimes, even though the program is installed, I get a message saying that the protocol cannot be found and prompting me to find an app in the MS Store.
This occurs when trying to execute a specific program from a Chrome web service.
The format used in Chrome is something like myProgram://parameter.
Sure, here is the translated version of your query:
I asked GPT about my issue and received the following guidance for registering a custom protocol:
HKEY_CLASSES_ROOT
└── myProgram
├── (Default) = "URL:myProgram Protocol"
├── URL Protocol = ""
└── shell
└── open
└── command
└── (Default) = "C:\Path\To\Your\myProgram.exe" "%1"
Default programs like callto, mailto, and calculator all have their default values set, but I know that to register a custom protocol, you need the [URL Protocol = "" ] value.
Why do we also need to set the (Default) value to "URL Protocol"? Is it possible that the program sometimes cannot be found if this value is not set?
If so, could you provide evidence?