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

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

Open
1 task done
de-served opened this issue Sep 9, 2024 · 0 comments
Labels

Comments

@de-served
Copy link

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?

  • 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 de-served added the bug label Sep 9, 2024
@karianna karianna transferred this issue from adoptium/adoptium-support Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant