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

Silent install while application is running corrupts install #548

Open
JayG30 opened this issue May 23, 2023 · 0 comments
Open

Silent install while application is running corrupts install #548

JayG30 opened this issue May 23, 2023 · 0 comments

Comments

@JayG30
Copy link

JayG30 commented May 23, 2023

I'm testing silent upgrades of pdfsam through winget, which uses the msi installer.
I had version 5.1.1 open and running while winget finds and performs a silent upgrade to 5.1.2.

The result of this is that the current 5.1.1 version remains open, the 5.1.2 version appears to get installed and says that the system needs to be rebooted. Looking in the app/mods folder of the install directory there appears to be old and new versions of files. Closing the running version leaves you with an install that won't run. Performing a reboot cleans up a bunch of older versions of files in the install directory. However, application still fails. Running the .bat file says it's missing "jakarta.inject".

Is there any way to properly handle upgrades to the software silently in the background if the application is currently running?

If not I will have to script something to terminate the processes and hope a user doesn't try running it again before the upgrade kicks off.

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

No branches or pull requests

1 participant