This commit is contained in:
2020-05-22 14:35:46 -04:00
parent c5b16d024c
commit 7907fe891b
15 changed files with 198 additions and 59 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
## Get the correct URL
If ( Test-Path "${Env:ProgramFiles(x86)}" )
{ $URL = 'https://emberkom.s3.amazonaws.com/management/installers/amazon-corretto-8.222.10.3-windows-x64.msi' }
Else { $URL = 'https://emberkom.s3.amazonaws.com/management/installers/amazon-corretto-8.222.10.3-windows-x86.msi' }
{ $URL = 'https://corretto.aws/downloads/latest/amazon-corretto-11-x64-windows-jdk.msi' }
Else { $URL = 'https://corretto.aws/downloads/latest/amazon-corretto-8-x86-windows-jdk.msi' }
## Install Amazon Corretto
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i ${URL} /qn /norestart" -Wait