Click here to Skip to main content
15,889,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We have a very large, very slow, distributed network.

On the network we have a Main central server, as well as a smaller server at each individual site.

Since we have slow lines, and our application is quite large (20MB) we cannot have all our client PC's (300+) installing/updating the application from the Main central server, so I create separate ClickOnce Deployments for each site respectively.

This allows the majority of our users to install/update the application over a fast LAN connection from their local server.

However, the more sites we add the more cumbersome this gets since I have to publish a separate copy of the application for each and every site, each time making sure that I don't mess up the URL's etc. (This happens quite easily)

Is there a way to change the Installation URL & the Update Location URL after publishing the application (preferably programmatically)?

If this is possible, I will create a distribution system that uses a single ClickOnce deployment, modifies it for each server, and copies it to the correct location on each server.

If this is not possible, I will have to continue publishing separate deployments per site and this will most probably force us in the longer run to re-invent the wheel altogether and stop using ClickOnce.
Posted

1 solution

Go through this[^] discussion.

This[^] discusses another approach to achieve the same task.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900