ClickOnce app as custom protocol handler

Mar 7, 2012 at 3:46 PM


I'm trying to register a a clickonce application to a custom URL protocol (url like 'myprococol:xxxxx') to . (see

It seems that you when you put the path to the appref-ms file in the command key in the registry file, it doesn't work (for security reason?).

The workaround that I found was to execute directly the .exe file. But in this case, we loose automatic updates.

Is it possible to associate an URL protocol with a clickonce application, without loosing the auto-update? I already try with a launcher (simple .exe that launch the appref-ms file), but I prefere a cleaner solution.


Jun 19, 2013 at 8:00 PM
Edited Jun 19, 2013 at 8:00 PM
I have developed a custom URL Protocol app that I was considering using ClickOnce to deploy. It sounds like you are able to write to the register, but not associate the protocol to the ClickOnce app.

Were you able to come up with a solution? Are there other problems with ClickOnce I should be aware of when using with a URL Protocol?