tags:

views:

67

answers:

2

I'm in the process of having to install/publish the same ClickOnce application on several different servers - I can't have a central site.

Do I have to publish the same app several times with only the InstallUrl changed, or is there another way ? A programatically solution ?

A: 

Check out mage.exe - MageUI is a graphical front-end.

thedugas
I can't see how I'd solve this with mage.
leeeroy
Sorry if I am misunderstanding your requirement. What I was suggesting was using mage.exe from a script to create a deployment for each server or making copies of the orginal publication then using mage.exe to edit the ProviderUrl of the Manifest See:http://social.msdn.microsoft.com/forums/en-US/winformssetup/thread/1d5c722b-5a15-4783-88b5-0da93a3577c3/"Andhttp://stackoverflow.com/questions/174764/how-to-move-a-clickonce-deployment-package"Andhttp://msdn.microsoft.com/en-us/library/xc3tc5xx.aspx
thedugas
A: 

We solved this by using a build script (MsBuild in our case) with parameters depending on the deployment instance. The builds tasks are available out of the box. I find this simpler than a programatic solution.

jl