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 ?

leeeroy
  • 11,216
  • 17
  • 52
  • 54

2 Answers2

1

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

codeConcussion
  • 12,739
  • 8
  • 49
  • 62
dugas
  • 12,025
  • 3
  • 45
  • 51
  • 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/" And http://stackoverflow.com/questions/174764/how-to-move-a-clickonce-deployment-package" And http://msdn.microsoft.com/en-us/library/xc3tc5xx.aspx – dugas Feb 09 '10 at 01:59
0

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.
  • 752
  • 6
  • 19