Possible roadmap:
1. You need to inject content script on every page where ClickOnce is needed, detected.
2. Develop and compile Native Messaging Host.
3. When user click on Install button, content script cooperate with a Native Messaging Host.
Native Messaging Host must be installed on user computer. If you need to run installation packages as admin, host must be installed as admin also!