Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: .NET4 ClickOnce
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 13-Jan-12 2:25am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Go through this[^] discussion.
This[^] discusses another approach to achieve the same task.

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 305
1 _Amy 235
2 Peter Leow 205
3 Andreas Gieriet 180
4 Abhinav S 140
0 OriginalGriff 7,540
1 Sergey Alexandrovich Kryukov 6,462
2 Maciej Los 3,849
3 Peter Leow 3,653
4 CHill60 2,712

Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 13 Jan 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100