Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run updater from temporary copy to avoid circular dependency #42

Closed
nefarius opened this issue Jun 21, 2024 · 0 comments · Fixed by #59
Closed

Run updater from temporary copy to avoid circular dependency #42

nefarius opened this issue Jun 21, 2024 · 0 comments · Fixed by #59
Assignees
Labels
enhancement New feature or request

Comments

@nefarius
Copy link
Owner

nefarius commented Jun 21, 2024

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.

image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant