In-use files not updated by MSI-installer (Visual Studio Installer project)

后端 未结 5 713
清歌不尽
清歌不尽 2020-11-28 16:41

I\'m using the Visual Studio Installer Projects extension to build the MSI-installer for my application. However, my application is meant to be running at all times, and if

5条回答
  •  执念已碎
    2020-11-28 17:22

    We had this problem, and the solution we came up with was to create two apps; the user app and an updater app. The MSI installs both. Each app checks if the other needs updating and, if it does, closes the other app, downloads the other app's updater, runs it, then relaunches the other app. Additionally, each app monitors if the other app is running and, if it isn't, launches it.

提交回复
热议问题