Deploy Amazon Corretto JRE 8 with PSADT, Intune, and Silent Install

Overview

This page covers deploying Amazon Corretto JRE 8, version 1.8.0.504, published by Amazon, to managed Windows devices. The verified silent install and uninstall commands, a PSADT v4 package, the Intune settings and the detection rule are gathered here so an administrator can work through them in order.

Amazon Corretto JRE 8 uses an MSI installer.

ItemValue
ProductAmazon Corretto JRE 8
PublisherAmazon
Version1.8.0.504
Installer typeMSI
Architecturex64
Scopemachine
ConfidenceHigh
Data freshnessCurrent
Verification statusStatic analysis of the vendor package; 17 of 17 deployment facts verified

Note: Deployment commands on this page were derived by statically analysing the vendor package. They were not executed or tested on a device.

Deployment Facts

The facts below come from the verified data for the x64 MSI package: how it is installed, how it is removed and which context it runs in.

ItemValue
Installer fileAmazon.Corretto.8.JRE.1.8.0.504.X64.msi
Install methodWindows Installer (MSI) with quiet arguments
Install arguments/qn REBOOT=ReallySuppress ALLUSERS=1
Uninstall methodWindows Installer, by product code
Uninstall target{5D26D061-D4D6-46E5-B9E9-05375B44A1E8}
Uninstall arguments/qn REBOOT=ReallySuppress
Install contextSystem (machine-wide)
Restart behaviorThe install arguments suppress restarts

Silent Install

Because the package is an MSI, the silent install is a standard Windows Installer call with quiet arguments.

Run this command from the folder that contains the MSI installer.

msiexec /i "Amazon.Corretto.8.JRE.1.8.0.504.X64.msi" /qn REBOOT=ReallySuppress ALLUSERS=1

This command runs in the system context (machine-wide). The arguments suppress restarts.

Silent Uninstall

Removal targets the product code of this release rather than the installer file.

Silent uninstall command:

msiexec /x {5D26D061-D4D6-46E5-B9E9-05375B44A1E8} /qn REBOOT=ReallySuppress

PSADT v4 Deployment

Inside the toolkit package the same Windows Installer calls run in the install and uninstall phases, with the same arguments as the direct commands.

The PSADT v4 deployment below targets PSAppDeployToolkit 4.1.8. The entry point is Invoke-AppDeployToolkit.ps1.

Commands of the install phase (Install-ADTDeployment). The generated script also wraps them in the standard toolkit scaffolding:

## Install
Start-ADTMsiProcess -Action 'Install' -FilePath "$($adtSession.DirFiles)\Amazon.Corretto.8.JRE.1.8.0.504.X64.msi" -ArgumentList '/qn REBOOT=ReallySuppress ALLUSERS=1'

Commands of the uninstall phase (Uninstall-ADTDeployment). The generated script also wraps them in the standard toolkit scaffolding:

## Uninstall
Start-ADTMsiProcess -Action 'Uninstall' -ProductCode '{5D26D061-D4D6-46E5-B9E9-05375B44A1E8}' -ArgumentList '/qn REBOOT=ReallySuppress'

Run the package from its folder:

powershell.exe -ExecutionPolicy Bypass -File Invoke-AppDeployToolkit.ps1 -DeploymentType Install -DeployMode Silent
powershell.exe -ExecutionPolicy Bypass -File Invoke-AppDeployToolkit.ps1 -DeploymentType Uninstall -DeployMode Silent

Microsoft Intune

The two commands below can be entered as the app's install and uninstall command lines.

Approach: direct silent commands. A single deterministic silent command each for install and uninstall; no extra steps or runtime symbols.

ItemValue
Install behaviorSystem
Restart behaviorsuppress (from the verified install arguments)
Architecturex64
Scopemachine
Minimum operating systemNot available in the verified source data. Select it in Intune yourself.
Return codesPackage-specific return codes: Not available in the verified source data.

Install command:

msiexec /i "Amazon.Corretto.8.JRE.1.8.0.504.X64.msi" /qn REBOOT=ReallySuppress ALLUSERS=1

Uninstall command:

msiexec /x {5D26D061-D4D6-46E5-B9E9-05375B44A1E8} /qn REBOOT=ReallySuppress

Intune detection rule types for this application: Windows Installer product code. See Detection Rules for the values.

Caution: This Intune configuration is not fully verified. The comparison operator of the detection rule could not be verified from the source data. Choose the operator yourself when you set up the version check.

Detection Rules

Detection uses the Windows Installer product code and also compares the installed version with the target version.

ItemValue
Rule typeWindows Installer product code
Product code{5D26D061-D4D6-46E5-B9E9-05375B44A1E8}
Version checkYes
Target version1.8.0.504
Comparison operatorOperator code 1 (its meaning is not documented in the verified source data; confirm it before relying on this rule)

Requirements, Scope and Architecture

ItemValue
Architecturex64
Scopemachine
Install contextSystem (machine-wide)
Minimum operating systemNot available in the verified source data.

Package

A PSADT v4 package for Amazon Corretto JRE 8 was assembled from the pinned PSAppDeployToolkit 4.1.8 and the vendor installer. Public download of this package is not offered yet.

ItemValue
Package fileAmazon-Corretto-JRE-8-1.8.0.504-psadt-v4.zip
ToolkitPSAppDeployToolkit 4.1.8
Files223
Size (bytes)40631831
SHA-256fe23ba645a9d51a3aabcc0288373f342a79e20e4dd2795a8a4db847f50457e2e
Installer SHA-256cf36010c727b13169084273e9db13843d72b6b3f4f3d7e28e7820d014ff172bd
Static validation19 of 19 checks passed

Version and Freshness

The deployment data on this page reflects Amazon Corretto JRE 8 1.8.0.504.

When this page was generated, the source data reported no newer version.

Source Confidence and Verification

ConfidenceHow it was obtainedFacts
VerifiedRead directlyInstaller file, Installer type, Uninstall target, Architecture
HighRead directlyInstall method, Install arguments, Uninstall method, Scope, Detection rule

Overall confidence is High. Confidence levels are Verified (read from installer metadata or confirmed by independent sources), High, Medium, Low and Unknown.

Frequently Asked Questions

Which installer format does Amazon Corretto JRE 8 come in?

It is an MSI package, so it installs through Windows Installer and accepts the quiet arguments shown on this page.

How do I install Amazon Corretto JRE 8 without prompts?

Use the command in the Silent Install section. It installs for the machine and suppresses restarts.

How do I remove Amazon Corretto JRE 8 silently?

Use the command in the Silent Uninstall section, which removes the installed product by its product code and also suppresses restarts.

How does Intune detect Amazon Corretto JRE 8?

By the Windows Installer product code together with a version check; see Detection Rules for the values.

Will installing Amazon Corretto JRE 8 restart the device?

No restart is triggered by the installation itself, because the verified install arguments suppress restarts.