After some months I search at google, I get a good article about software update
I already applied method in article, everything worked successfully. But I still confuse which the best method between 2 method below for applying updater.
Method 1 :
We develop an program full in one .exe file, so when program will update from client side, we download file from server (full installer). after success downloaded,
the old program in client we uninstall first. after that we install full again from new file which already downloaded.
Method 2 :
We develop separate module and we package become one .exe. So when developer get some error and fixed that error,
in client side just download that module (not full installer) and can be directly apply to old program without reinstall the old program.
In Method 1, Full installer is a large size and in method 2, file which downloaded to client is small size.
This is my method. If you get different idea. feel free to share.
Correct me if I'm wrong. Thank you.