installer icon indicating copy to clipboard operation
installer copied to clipboard

Upgrade changes install location to default (with winget upgrade --exact --id EclipseAdoptium.Temurin.22.JR)

Open de-served opened this issue 5 months ago • 0 comments

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

  1. Install outdated JRE v22 with winget install --force --exact --id "EclipseAdoptium.Temurin.22.JRE" --override "INSTALLDIR=\"C:\Something\BlablablaPathForJRE22\""
  2. When found that JRE is outdated (with winget upgrade) start upgrade with winget upgrade --exact --id EclipseAdoptium.Temurin.22.JRE
  3. 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

de-served avatar Sep 09 '24 07:09 de-served