-
Notifications
You must be signed in to change notification settings - Fork 910
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
Handle MSI Error 1638 on upgrade of packages #762
Comments
So with 0.9.10, we've added the beforeModify script to allow packages to do things like uninstall an older version prior to install. I think there may be something additional that needs to occur here as well. Would you agree with that? |
We have plans to take the exit codes and interpret them better. |
Hi is there any ETA for this enhancement as it's a real problem for alot of people? |
@patnolan Did not realize this was a real problem for folks, as it seems slightly installer (and by extension package) dependent when this would occur. I believe I was mentioning the enhancement here would be for Chocolatey to automatically better handle 1638 issues. There is nothing keeping the package(s) in question from being fixed to deal with this issue. |
And it was still under triage, waiting for @bc3tech or anyone else to get back on this issue with more details. I imagine he is likely quite busy and this fell off of his radar. |
i've not seen too many pkg authors use the beforemodify, but at first glance it seems that this should indeed do the trick. apologies for the delay in responding. |
I do think we should repurpose this ticket or maybe call it a duplicate of #484 ? |
Actually, Let's just say they are related. 1638, 1618, and generally better handling of MSIs. |
I am specifically encountering this error and wondering if there is any progress on this or perhaps a better work around? |
Editor (Rob): Handle 1638 errors automatically allowing things to be "upgraded" automatically. In other words, see this error come back and then do the needful on getting things into the correct state.
This may incorporate some switches and feature flags to allow for customization of how this works.
Related to #484 and #755.
ORIGINAL
What You Are Seeing?
Trying to update
plexmediaserver
pkg on my machine. I docup -y -pre -f
and am met with error code 1638 failure from the installer. If I go to the temp dir and execute the installer manually, it throws me the error that another version is installed and I need to uninstall that firstWhat is Expected?
I would expect plex to do something successful, esp with the
-f
flag on it. As it stands now, there's no way for me to get the version on the PC and the choco version in sync (without a complete uninstall)How Did You Get This To Happen? (Steps to Reproduce)
cinst plexmediserver --version=0.9.11.7803
plexmediaserver
v0.9.15.6.1714-7be11e1 from plex.com (or otherwise outside choco)cup plexmediaserver -y -pre -f
Output Log
The text was updated successfully, but these errors were encountered: