Similar to creating file associations during ClickOnce installations, is it possible to register custom URL schemes (e.g. "my-app:")?
I couldn't find any information about registering custom URL schemes in the ClickOnce Application Manifest documentation, so I fear that it's not possible to do that with with ClickOnce.
Maybe anyone has some kind of workaround or some different idea how to circumvent this limitation?
(Of course I could modify the registry on first start of my application, but then, when uninstalling the app via the ClickOnce uninstaller the registry keys I added manually wouldn't get removed.)
Thanks for a hint
I found this workaround for adding and removing custom registry keys for ClickOnce installations:
http://www.codeproject.com/Articles/506162/ClickOnce-application-autostart-and-clean-uninstal
It basically works as follows:
Installation:
Deinstallation:
Caution: I observed problems (Windows complaining about an incomplete (de)installation) if the custom uninstaller contains certain typical "uninstaller keywords" (e.g. if the filename is "uninstall.exe"). See Windows Installer Detection: What's the full list of keywords?