What's the best way for a .NET winforms application to update itself without using ClickOnce?

前端 未结 9 2416
孤独总比滥情好
孤独总比滥情好 2020-12-23 17:29

For technical reasons, I can\'t use ClickOnce to auto-update my .NET application and its assemblies. What is the best way to handle auto-updating in .NET?

9条回答
  •  -上瘾入骨i
    2020-12-23 17:59

    I wrote my own autoupdater, the autoupdater uses a common config file to the application which contains urls to download latest versions from / check if it needs to update.

    This way you run the updater, which either updates the app or not, then runs the application, which as part of normal operation, checks for an updated updater and patches that.

提交回复
热议问题