installer
installer copied to clipboard
Upgrade changes install location to default (with winget upgrade --exact --id EclipseAdoptium.Temurin.22.JR)
Please provide a brief summary of the bug
Upgrade outdated version that was installed not in default directory cleans custom installation directory and installs upgrade to another directory
Did you test with the latest update version?
- [X] Yes
Please provide steps to reproduce where possible
- Install outdated JRE v22 with
winget install --force --exact --id "EclipseAdoptium.Temurin.22.JRE" --override "INSTALLDIR=\"C:\Something\BlablablaPathForJRE22\""
- When found that JRE is outdated (with
winget upgrade
) start upgrade withwinget upgrade --exact --id EclipseAdoptium.Temurin.22.JRE
- Upgrade kills installation in C:\Something\BlablablaPathForJRE22\ and installs to Program Files... 👎 👎 :
Expected Results
Expected that original installation path will be left as is!
Actual Results
Upgrade outdated version that was installed not in default directory cleans custom installation directory and installs upgrade to another directory
What Java Version are you using?
22.0.1+8 -> 22.0.2.9
What is your operating system and platform?
Windows 10 22h2 x64
How did you install Java?
winget install --force --exact --id "EclipseAdoptium.Temurin.22.JRE" --override "INSTALLDIR=\"C:\Something\BlablablaPathForJRE22\""
Did it work before?
No response
Did you test with other Java versions?
No response
Relevant log output
No response