Update Software when update is available using C# -


i include software update in application check shared location or url such shared url google drive replace old .exe , config files. if new update available, user should notification etc.. guide me on how can achieve or if feasible?

it feasible.

there 1 solution called clickonce can check updates @ every launch.

the other way have program updater since windows won't allow overwrite opened file (the main program can update updater)

however, recommend dropbox's public folder host files, has several advantages on gdrive imho (direct download link (gdrive sharing link redirects download page, gdrive host url not report downloaded file size))

edit : use clickonce dropbox's public folder follow steps :

(i'll assume have dropbox sync client installed)

1. (not mandatory if plan host 1 project) create subfolder in dropbox public folder :) 2. open project's properties go in "properties tab" 3. first box publish application (select folder created in 1) 4. second box installer/updater fetch files, 1 little trickier.   4.1. create file in folder created in 1   4.2. wait synchronised... right-click on it, click on "copy public link"   4.3. paste link in second box (back in vs)   4.4. remove file name path pasted  5. click on "updates" button tick checkbox "the application must check updates" choose if want updates downloaded before or after application launch. 

and that's basic configuration.

there's other possibilities it's not subject here :)


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -