Reputation: 9857
So up until this point I have been using an updater I wrote for deployment across my company network. Enough people have asked me to switch to a clickonce updater so I am looking into it now. These are the steps I took to implement it.
What am I missing?
Upvotes: 3
Views: 3568
Reputation: 9857
So the Answer is I was pretty simple but it should be documented on Stack for clarity.
Everything I am about to post is here. http://msdn.microsoft.com/en-us/library/1zyc39fb(v=vs.80).aspx
The problem that I was having was that I kept publishing to the same location when in reality after you do your initial publish, you need to ONLY publish to the update location.
For example: What I was doing:
Version 1 is published to c:\ver1\ With and update location of c:\ver1Update\
Version 2 is published to c:\ver1\ With nothing put into c:\ver1Update\
The correct way to do it (at least to make it update):
Version 1 is published to c:\ver1\ with an update location of c:\ver1Update\
Version 2 is published to c:\ver1Update\ with an update location of c:\ver1Update\
This was the fundamental difference and allowed it to update
This can all be done by right click on your project and selecting properties. Then clicking on the publish tab.
Hopefully this helps someone else confused in the future about this process.
Upvotes: 0
Reputation: 7522
There are a couple of steps you may have missed:
Upvotes: 7