Is there a standard way for .NET Winforms apps to auto-upgrade?

后端 未结 5 1302
说谎
说谎 2021-01-02 10:03

If you have a Winforms app that is installed on a large number of machines, is there a standard way of implementing an automatic upgrade function?

e.g. Each time it

5条回答
  •  伪装坚强ぢ
    2021-01-02 10:43

    I eventually used the Open Source 'Conversive Sharp AutoUpdater' at

    http://csautoupdater.sourceforge.net/

    Sharp AutoUpdater is a C# component that will automatically update your .NET application. Using XML configuration files, the AutoUpdater component detects if there is a new version of the software, downloads, unzips, and installs the new files.

    Its fairly simpe - it downloads a zip and unzips it over the installed app - but it works well and was easier than writing my own. I don't think it handles things very well if users dont have admin access to their program files folder.

提交回复
热议问题