-
Notifications
You must be signed in to change notification settings - Fork 220
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
JAVA_HOME/PATH and empty folder remains after uninstall Corretto x86 and x64 #38
Comments
Hi @yamadamn. Thanks for letting us know, we're taking a deeper look and will get back with an answer soon. |
Hi @yamadamn , Thank you for submitted the issue! This is actually an known issue of Windows 10. You can find the Microsoft KB here: https://support.microsoft.com/en-us/help/3166232/windows-installer-package-doesn-t-update-system-environment-variables If you log off and log in again, you should see the environment variables get updated and the folder get removed. Otherwise you can apply the Microsoft hotfix mentioned in the post. Let me know whether it works for you. We will also look into adding an option to warn Windows 10 customer to sign off after uninstall if the hotfix is not present. So I will leave this issue open until we added the improvement. |
Hi @yoroto , Thank you for your investigation. |
Hi @yamadamn I have managed to reproduce your issue. The root cause was because the x86 and x64 MSIs share some installer code, and therefore are having the same IDs for some installation components. When you uninstall both of them, it confused the msiexec on which one to remove. We will try to fix this in future releases. Thank you for submitting the issue! |
@yoroto : When you look at this, it also happens when updating an existing MSI. Here are the steps that I did:
Below is a screenshot of the environment variable editor in Windows 10: |
This issue was resolved in 8.222.x.x. Closing the issue. |
Describe the bug
I uninstalled both Corretto x86/x64 in Windows;
But the JAVA_HOME and PATH environment variable remains, and the installed directory remains empty.
To Reproduce
Expected behavior
Both JAVA_HOME and PATH (x86/x64) environment will be removed after uninstall.
Screenshots
It depends on install/uninstall order.
Platform information
Additional context
This issue is related to #15, #22 and #37 .
The text was updated successfully, but these errors were encountered: