When a copy of the updater is shipped as part of a product using e.g. MSI and the update removes the old version before applying the new one, the now running updater process launched from the product installation directory blocks the removal and the user is prompted to either kill it or reboot, disrupting a successful update flow.
Suggestion
Add a configuration option or auto-detection on how the updater is launched and re-launch itself as a copy from a temporary directory if needed. The file copy can be marked as to-be-deleted on reboot.
Issue
When a copy of the updater is shipped as part of a product using e.g. MSI and the update removes the old version before applying the new one, the now running updater process launched from the product installation directory blocks the removal and the user is prompted to either kill it or reboot, disrupting a successful update flow.
Suggestion
Add a configuration option or auto-detection on how the updater is launched and re-launch itself as a copy from a temporary directory if needed. The file copy can be marked as to-be-deleted on reboot.