Quote:
How to do auto update in already installed and running WPF application
Basically for update, 'installed' is mandatory, 'running' is forbidden.
Because Windows loads parts of your app as they are needed, the app file stay open and thus can't be updated as long as it remain opened.
The trick is to have a second app which is an updater.
The update procedure is something like:
App: start
App: ...
App: click Update button
App: check for updates
App: download update.
App: update Updater app
App launch Updater
Updater: close app
Updater: update app
Updater: relaunch app
Updater: close updater
App: ...