开发者

How ClickOnce deploymented application works during an update while application running?

开发者 https://www.devze.com 2023-03-28 15:17 出处:网络
We have a wpf application, 开发者_如何学Gowhich we have deployed using Microsoft\'s Click Once approach...manifest and application files are available in a web server.

We have a wpf application, 开发者_如何学Gowhich we have deployed using Microsoft's Click Once approach...manifest and application files are available in a web server.

If the application is already running on a client machine...and if I update the manifest and application files(in web server)...how do we notify the user about the changes ?

Is there anyway that we can display some kind of text to the user...that application has modified ..and he has to get latest ?

Any help will be appreciated. Thanks


ClickOnce does not provide you with an out-of-box means of alerting the end-users to an update.

In the company I worked at, it was good enough to walk around the end-users desks and making sure they weren't using the application before I updated it. Obviously, this doesn't scale too well.

If I had to implement a solution for this, I would include a message broadcast system that made sure the users were notified BEFORE the update was deployed.

If this was a client-server system, and updates to the server means that any out-of-date clients can't communicate with the server, then the end-users risk losing their work.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号