I use a home-grown system where the application updates itself from a web service. However, I seem to remember something in the original .NET sales pitch about auto-updating of components being a built-in feature of .NET. What are the best practices for having an application update itself and/or the assemblies it uses?
views:
387answers:
2
+5
A:
You may want to take a look at the Click-Once technology. Some great examples in these references.
http://www.codeproject.com/KB/install/QuickClickOnceArticle.aspx
smink
2008-09-29 22:10:05
@Jorge Ferreira: +1 ClickOnce is great, unfortunately you run into issues if your app is command line or is more complicated than a single executable. Otherwise, go go ClickOnce.
sixlettervariables
2008-09-29 22:15:43
I actually can't use ClickOnce because it isn't currently supported by the Compact Framework (the app has to run on that also). I'm going to post another question excluding ClickOnce as an option.
MusiGenesis
2008-09-29 22:20:39
Click once is a bit of a hassle in the long run, as if the certificate expires, it offers no was of "bridging" to a new certificate. Your users have to suck it up, uninstall, and reinstall.
Gregory
2009-10-19 04:53:12