Greenshot 1.2.10.6 deployed as an update fails with error 0x80070020(-2147024864), aka "The process cannot access the file because it is being used by another process.
Killing the app in the System Tray, and the processes in Task Manager allows the update to complete. Can a logic be included in the updater to check for open process and to kill them before attempting the update installation?
This functionality is already built in please see:
https://patchmypc.com/custom-options-available-for-third-party-updates-and-applications
https://patchmypc.com/custom-options-available-for-third-party-updates-and-applications#close-apps
https://patchmypc.com/custom-options-available-for-third-party-updates-and-applications#skip-install