IT/C#

Autoupdater

lI헐헐Il 2014. 1. 10. 17:10

Description

Fixing bugs and adding new features is a part of developing software applications. From my experience, sending application updates to users is also a critical part of developing applications, especially when the user has no advanced knowledge of computers. In the Internet era today, the software developer must make application deployment and updating easier and often makes automatic application updates to do this.I already searched through the internet on this topic, but not much seems suited to my needs. So, I tried to create one myself. This sample application is developed in C# as a library with the project name “AutoUpdater”. The DLL “AutoUpdater” can be used in a C# Windows application(WinForm and WPF).

About the features

There are certain features about the AutoUpdater:

1,Easy to implement and use.
2,Application automatic re-run after checking update.
3,Update process transparent to the user .
4,To avoid blocking the main thread using multi-threaded download.
5,Ability to upgrade the system and also the auto update program.
6,A code that doesn't need change when used by different systems and could be compiled in a library.
7,Easy for user to download the update files.

 


Codeplex에서 퍼온 링크이다. Client-side에 실제 배포된 dll, exe 등의 버전 정보를 확인하지는 않는다.
Server와 Client 상에 XML 파일을 두고 이를 통해 Version 정보를 관리한다. 프로그램이 오동작할 경우, Update된 XML 정보와 실제 dll이 어긋날 가능성은 있어보인다.
실제 배포파일에서 버전정보를 확인하는 방법은 없는지 찾아보면 좀 더 나은 Autoupdater가 될 수 있을 것 같다.