Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the best way for a .NET winforms application to update itself without using ClickOnce?

Tags:

For technical reasons, I can't use ClickOnce to auto-update my .NET application and its assemblies. What is the best way to handle auto-updating in .NET?

like image 782
MusiGenesis Avatar asked Sep 29 '08 22:09

MusiGenesis


People also ask

How do I manage updates for a ClickOnce application?

With a project selected in Solution Explorer, on the Project menu, click Properties. Click the Publish tab. Click the Updates button to open the Application Updates dialog box. In the Application Updates dialog box, make sure that the check box The application should check for updates is selected.


2 Answers

We have a product that's commercial/open source: wyBuild & wyUpdate. It has patching ability and is dead simple to use.

Edit: I'm getting voted down into the negative numbers, but my post wasn't just blatant selling. Our updater, wyUpdate, is open source, written in C# and is licensed under the BSD license.

I thought it might help anyone trying to build an updater from scratch using the .NET framework.

But, vote me down if you must.

like image 106
Wyatt O'Day Avatar answered Oct 22 '22 16:10

Wyatt O'Day


I think the Updater Application Block was something of a precursor to ClickOnce. Might be worth investigating. Looking at its source code might be enough to spark some ideas.

like image 20
Matt Hamilton Avatar answered Oct 22 '22 17:10

Matt Hamilton