Daniel Mošmondor
Daniel Mošmondor

Reputation: 19956

.NET simple application update mechanism

Environment:

Problem

I am in a project phase where there are several updates to the project during a day. Since every change is small (two assemblies at most), it would be convenient for the user to use some kind of automatic update that will be both fast and worry-free.

Proposition

I would like to do a simple system that would store my application files somewhere on my server, along with some XML file that will list them with their hashes. A desktop application will read XML, compare hashes, download the required files, restart the application and the user would have a new version without even noticing it.

So my thoughts go further...

Client application for it: simple, day or two of work. Considerations:

Server side is trivial, but there are also some considerations:

Is there some tool that follows my train of thought to do that without much hassle from the side?

Upvotes: 2

Views: 1196

Answers (2)

Mark Seemann
Mark Seemann

Reputation: 233150

What you describe sounds a lot like ClickOnce. Yes: I noticed that your wrote that the application is installed via MSI, and that's fine.

ClickOnce is more than just initial installation. There are many options, and you can set it up so that it checks for updates even if the application is already running, and there's also an API that you can use if the declarative approach isn't flexible enough for you.

Upvotes: 4

Related Questions