Espanso updating version un multiple users context (Windows)
Description
NOTE: Still basically related to same issue wher current setup for Espanso on Windows OS is not installed as "Wide-machine/SYSTEM".
When Espanso need to be updated to a newer version, just launching the setup to update... but "Espansod.exe" is running under some other profile then the setup tell "Setup was unable to automatically close all applications" (Try again, Ignore the error and continue or Cancel installation) due to the lack of privilegies of user (even running setup under admin account).
Yes, we could request user to close each instance, the run the setup or reboot the computer at end... but in a enterprise context with a deployment tool is not easy and not "default/good possibility" to use.
Ignore to continue will not work. Another step will tell "Access Denied" and propose to skip this file "Not recommended".
Steps to reproduce
- Already have Espanso installed with a previous version
- Let users running Espanso on end user session like "User1"
- Try to update Espanso with newer a version (current 2.4.1) with another account (in context the package was installed in a folder like C:\Espanso or C:\Program Files\Espanso to be available for all users instead each user have own instance in their profile folder. Like "AdminUser2"
- The setup will tell "The following applications are using files that need to be updated by Setup..." where the file is "espansod.exe".
- A choice will allow to choose "Automatically close the applications" (Default) or "Do not close the applications". If you let defautl action to automatically close, it will tell "Try again, Ignore the error and continue or Cancel installation".
Expected behavior
A. Elevation as administrator should be able to close process and let the setup to be done. B. Some documentation about silent installation switches should allow to ignore or let to be completed without using default values.
Screenshots
No response
Logs
No response
Your environment
- Public source code:
- Environment name and version (e.g., Rust 1.59.0):
- Operating system and version (e.g., Ubuntu 20.04.2 LTS):
- Espanso version (e.g., 2.1.4-beta):
Self-service
- I'd be willing to fix this bug myself.
Source: espanso/espanso