Pulling ClickOnce applications from the client using a script


I have a bunch of internal Microsoft ClickOnce applications that I use all the time.

But every time I clean install my machine I need to go look up all the application entry points and reinstall them.

This got boring, so I wrote an executable that takes a URL on the command line, and then uses the System.Deployment.Application.InPlaceHostingManager API to pull the ClickOnce application to the machine.

64-bit binary attached.

Source: https://github.com/mvaneerde/blog/tree/master/inplacehostingmanager

inplacehostingmanager.zip

Comments (0)

Skip to main content