'Alternative to ClickOnce for auto-update?
I'm using ClickOnce setup to deploy a WPF app internally in our organization. A new version is build on a build server and copied to a location in the network, where the ClickOnce-Setup can find it - and install the update the next time the user starts the applications. This is pretty much what I need.
But ... the WPF application is a tray-app (running with an icon in the system tray of windows). Since every new version of the app is handled as a new app, the icon is always hidden after an update and all users have to manually bring it to visibility in their taskbar settings - what's annoying and not acceptable.
Thus, I looking for an alternative to ClickOnce-Seupt to auto-update an once installed application (replacing the exe and some dlls) at startup. Is there any?
Solution 1:[1]
You may want to take a look at Squirrel. It's an open-source installation and update framework for Windows desktop apps.
If you are on Windows 10 version 1803 or later, you may also want to take a look at .appinstaller. Please refer to the following blog post for more information about this.
Handling auto updates for sideloaded UWP and Desktop Bridge apps: https://blogs.msdn.microsoft.com/appconsult/2018/03/22/handling-auto-updates-for-sideloaded-uwp-and-desktop-bridge-apps/
There are also commercial options such as for example Advanced Installer available to handle this.
Solution 2:[2]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | mm8 |
| Solution 2 | Daniel |
