3
votes

My application has a different update location to publish location. I would like to change the update location after the application has been published using ClickOnce. I have turned off signing before publish and I tried editing the manifest and other files to point to a different server for updates. When I tried to install the application I get signature errors.

I have been researching, there's supposedly a tool MageUI.Exe which will help create manifests however iam unable to find this tool.

I am running Windows 8, .Net Framework 4.5.2 and my sample application is a WPF Application.

2

2 Answers

2
votes

I'm not sure what VS version you're running but the below should give you an idea of what to do

Go to Project > "ProjectName" Properties > Publish > Updates

enter image description here

Now specify the update location. By default, it is the same as your Installation location but you can change it to something else.

enter image description here

1
votes

Are you wanting to move your clickonce deployment so it is updated from a different URL than the original? This blog article shows how to do that.

MageUI.exe and mage.exe should be included with the Visual Studio installation. You can open a command prompt, navigate to c:\ and type "dsinit/s mageui.exe" and it will search the entire drive for it. If you don't have it, you can install the Windows SDK and it should have it. It's usually in c:\program files(x86)\Microsoft sdks\net...