PS C:\Users\foobar> choco install Temurin11 --params="/INSTALLLEVEL=2 /INSTALLDIR=C:\Program Files\Temurin\jdk11-hotspot-11.0.13.8" -f -y
Chocolatey v0.11.3
Installing the following packages:
Temurin11
By installing, you accept licenses for the packages.
Temurin11 v11.0.13.801 already installed. Forcing reinstall of version '11.0.13.801'.
Please use upgrade if you meant to upgrade to a new version.
Progress: Downloading Temurin11 11.0.13.801... 100%
Temurin11 v11.0.13.801 (forced) [Approved]
temurin11 package files install completed. Performing other installation steps.
WARNING: Installing only Get-OSArchitectureWidth
Downloading Temurin11 64 bit
from 'https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.13%2B8/OpenJDK11U-jdk_x64_windows_hotspot_11.0.13_8.msi'
Progress: 100% - Completed download of C:\Users\dmoench\AppData\Local\Temp\chocolatey\Temurin11\11.0.13.801\OpenJDK11U-jdk_x64_windows_hotspot_11.0.13_8.msi (166.97 MB).
Download of OpenJDK11U-jdk_x64_windows_hotspot_11.0.13_8.msi (166.97 MB) completed.
Hashes match.
Installing Temurin11...
Temurin11 has been installed.
The install of temurin11 was successful.
Software installed to 'C:\Program Files\Eclipse Adoptium\jdk-11.0.13.8-hotspot\'
using default dir:
PS C:\Users\foobar> choco install Temurin11 --params="/INSTALLLEVEL=2" -f -y
Chocolatey v0.11.3
Installing the following packages:
Temurin11
By installing, you accept licenses for the packages.
Temurin11 v11.0.13.801 already installed. Forcing reinstall of version '11.0.13.801'.
Please use upgrade if you meant to upgrade to a new version.
Progress: Downloading Temurin11 11.0.13.801... 100%
Temurin11 v11.0.13.801 (forced) [Approved]
temurin11 package files install completed. Performing other installation steps.
WARNING: Installing only Get-OSArchitectureWidth
Downloading Temurin11 64 bit
from 'https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.13%2B8/OpenJDK11U-jdk_x64_windows_hotspot_11.0.13_8.msi'
Progress: 100% - Completed download of C:\Users\dmoench\AppData\Local\Temp\chocolatey\Temurin11\11.0.13.801\OpenJDK11U-jdk_x64_windows_hotspot_11.0.13_8.msi (166.97 MB).
Download of OpenJDK11U-jdk_x64_windows_hotspot_11.0.13_8.msi (166.97 MB) completed.
Hashes match.
Installing Temurin11...
Temurin11 has been installed.
The install of temurin11 was successful.
Software installed to 'C:\Program Files\Eclipse Adoptium\jdk-11.0.13.8-hotspot\'
Hi,
the INSTALLDIR param is ignored on temurin11:
using default dir: