开发者

Deploying using Setup project with update functionality of ClickOnce

开发者 https://www.devze.com 2022-12-11 14:40 出处:网络
I want to deploy a wpf client appllication, I need to allow the user to choose a directory for the install, eg. c:\\program files\\myapp. Unable to do this with clickonce, I need to use a setup projec

I want to deploy a wpf client appllication, I need to allow the user to choose a directory for the install, eg. c:\program files\myapp. Unable to do this with clickonce, I need to use a setup project to deploy my app. How can I have the same update functionality as a ClicOnce app in my setup pro开发者_StackOverflow社区ject? ie Have the app check an adddress for update, download only changed parts of the app, and patch the client application.


One way of doing this is to wrap your application inside of another controller application responsible for launching the main app.

This way you can use your wrapper app to check for updates, replace files, and control the running of the main application.

I belive this is the way Firefox does it, and is the reason FF has to restart after doing updates. This is because updater.exe is in controll of the updating and running of FF its self.

Here's some information about the something called AppUpdater

0

精彩评论

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

关注公众号