views:

148

answers:

6

What do I have to add to a C# program in order for it to search for and update itself every time it loads up?

+9  A: 

Check out Click Once: http://msdn.microsoft.com/en-us/library/142dbbz4%28v=VS.80%29.aspx

Jage
+3  A: 

Take a look at ClickOnce.

Dave Markle
wow, beat by 6 seconds
Jean-Bernard Pellerin
+3  A: 

Have you looked at ClickOnce?

yodaj007
+1  A: 

If you want to do something that's hard or impossible with ClickOnce (which includes most non-trivial tasks), check out AppLife Update.

erikkallen
I am curious as to why this answer has downvotes. Perhaps the downvoters could leave a comment.
Charles
+1 We use AppLife, and I love it. There are things to like about ClickOnce, but it is very limited.
JohnForDummies
I'd like to know this, too. Sure, it's commercial, but it easily saves the money it costs.
erikkallen
A: 

Take a look at ClickOnce

Pierreten
A: 

There is a .NET application updater component from Microsoft that comes with the source code:

http://windowsclient.net/articles/appupdater.aspx

I have used this on several projects and it works well.