How to manually register ClickOnce file associations after installation?

You can figure out the registry keys to be added, using Windows Sysinternals Process Monitor (Previously known as RegMon). Capture Events when you install your app using ClickOnce with default file associations. It will record all the registry operations (lots of them). You would need to use some filters to easily identify the registry keys.

Remove ClickOnce from a WinForms app

Other responses here are not correct or helpful. It is incorrect to state that it never needs removing. One such example I experienced recently was when the application had a need for administrative privileges. Any attempt to embed administrative requirements into the manifest will result in the application not even compiling while ClickOnce is still … Read more

ClickOnce deploy a Windows Service?

AFAIK you can’t really use ClickOnce end-to-end to deploy a service; there are issues with both the file locations (ClickOnce installs into a user’s profile) and installation (ClickOnce is largely side-effect free). You can, however, write a service as an exe that can self-install/uninstall from the services list, like so; basically, you write it as … Read more