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

WIX installer: Allow update to new version when gsudo is active. #203

Closed
wants to merge 3 commits into from

Conversation

gerardog
Copy link
Owner

Featuring #192.

This works
image

But still, when doing gsudo winget upgrade gsudo a message appears showing some files are in use, and warns of future restart needed.

Need help in WIX defining a file as 'do not delete on upgrade'.

@gerardog gerardog changed the title [On-Hold] WIX installer: Allow update to new version when gsudo is active. WIX installer: Allow update to new version when gsudo is active. Nov 11, 2022
@gerardog
Copy link
Owner Author

gerardog commented Nov 11, 2022

Need help in WIX defining a file as 'do not delete on upgrade'.

Found it: Either using <component Permament="true"> or <component id=""> (empty string).

Decided to use the later, because it does not leaves registry settings behind after uninstall

@gerardog
Copy link
Owner Author

Using fake version numbers, this is how it looks to install 2.0.7, then using gsudo to install 2.0.8. (note that 2.0.7 exe file could not be deleted)

image

@gerardog
Copy link
Owner Author

Merged with #213

@gerardog gerardog closed this Nov 24, 2022
@gerardog gerardog deleted the Feature.MSIUpdateInUse branch July 8, 2023 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant