Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
jre8 v8.0.281 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1953236517-242735908-2433092285-500</user>
<keys>
<key installerType="Msi" displayName="Java 8 Update 281 (64-bit)" displayVersion="8.0.2810.9">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F64180281F0}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\Java\jre1.8.0_281\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180281F0}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Oracle Corporation]]></Publisher>
<InstallDate>20210122</InstallDate>
<InstallSource><![CDATA[C:\Users\Administrator\AppData\LocalLow\Oracle\Java\jre1.8.0_281_x64\]]></InstallSource>
<Language>1033</Language>
<Version>134220538</Version>
<VersionMajor>8</VersionMajor>
<VersionMinor>0</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>true</NoModify>
<NoRepair>true</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\6ad93.msi]]></LocalPackage>
</key>
<key installerType="Msi" displayName="Java 8 Update 281" displayVersion="8.0.2810.9">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F32180281F0}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files (x86)\Java\jre1.8.0_281\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180281F0}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Oracle Corporation]]></Publisher>
<InstallDate>20210122</InstallDate>
<InstallSource><![CDATA[C:\Users\Administrator\AppData\LocalLow\Oracle\Java\jre1.8.0_281\]]></InstallSource>
<Language>1033</Language>
<Version>134220538</Version>
<VersionMajor>8</VersionMajor>
<VersionMinor>0</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>true</NoModify>
<NoRepair>true</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\6ad8b.msi]]></LocalPackage>
</key>
<key installerType="Msi" displayName="Java Auto Updater" displayVersion="2.8.281.9">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4A03706F-666A-4037-7777-5F2748764D10}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Oracle Corporation]]></Publisher>
<InstallDate>20210122</InstallDate>
<InstallSource><![CDATA[C:\Users\Administrator\AppData\LocalLow\Oracle\Java\jre1.8.0_281\]]></InstallSource>
<Language>1033</Language>
<Version>34079001</Version>
<VersionMajor>2</VersionMajor>
<VersionMinor>8</VersionMinor>
<SystemComponent>true</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>true</NoRemove>
<NoModify>true</NoModify>
<NoRepair>true</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\6ad8f.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

jre8 v8.0.281 - Passed - Package Test Results

  • https://chocolatey.org/packages/jre8/8.0.281
  • Tested 27 Jan 2021 18:27:48 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v0.5.0-8-g7441bc6
  • Install was successful.
  • Uninstall was successful.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\jre8\jre8.nupkg" checksum="929069D24C3E832A533490DE88506F18" />
<file path="C:\ProgramData\chocolatey\lib\jre8\jre8.nuspec" checksum="FB2BE42A4AB984A9F4CED70C1C5A7536" />
<file path="C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1" checksum="7E159F176C906D8697EF092D2D442EC0" />
<file path="C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1" checksum="AB0427D94B9A42F91D9589B9EB6D8F6A" />
</files>
</fileSnapshot>
2021-01-22 19:02:55,672 2232 [DEBUG] - XmlConfiguration is now operational
2021-01-22 19:02:55,844 2232 [INFO ] - ============================================================
2021-01-22 19:02:56,468 2232 [INFO ] - Chocolatey v0.10.16-beta
2021-01-22 19:02:56,499 2232 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2021-01-22 19:02:56,516 2232 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2021-01-22 19:02:56,530 2232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2021-01-22 19:02:56,562 2232 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install jre8 --version 8.0.281 -fdvy --execution-timeout=2700 --allow-downgrade
2021-01-22 19:02:56,562 2232 [DEBUG] - Received arguments: install jre8 --version 8.0.281 -fdvy --execution-timeout=2700 --allow-downgrade
2021-01-22 19:02:56,704 2232 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2021-01-22 19:02:56,749 2232 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2021-01-22 19:02:56,765 2232 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2021-01-22 19:02:56,906 2232 [DEBUG] - Performing validation checks.
2021-01-22 19:02:56,938 2232 [DEBUG] - Global Configuration Validation Checks:
2021-01-22 19:02:56,953 2232 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2021-01-22 19:02:56,968 2232 [DEBUG] - System State Validation Checks:
2021-01-22 19:02:56,968 2232 [DEBUG] - Reboot Requirement Checks:
2021-01-22 19:02:56,984 2232 [DEBUG] - - Pending Computer Rename = Checked
2021-01-22 19:02:56,999 2232 [DEBUG] - - Pending Component Based Servicing = Checked
2021-01-22 19:02:56,999 2232 [DEBUG] - - Pending Windows Auto Update = Checked
2021-01-22 19:02:57,015 2232 [DEBUG] - - Pending File Rename Operations = Ignored
2021-01-22 19:02:57,032 2232 [DEBUG] - - Pending Windows Package Installer = Checked
2021-01-22 19:02:57,046 2232 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2021-01-22 19:02:57,062 2232 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2021-01-22 19:02:57,077 2232 [DEBUG] - The source 'c:\cached-packages;https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2021-01-22 19:02:57,094 2232 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2021-01-22 19:02:57,125 2232 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='jre8'|Version='8.0.281'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='jre8'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.16.0'|
Information.ChocolateyProductVersion='0.10.16-beta'|
Information.FullName='choco, Version=0.10.16.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2021-01-22 19:02:57,125 2232 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2021-01-22 19:02:57,157 2232 [INFO ] - Installing the following packages:
2021-01-22 19:02:57,157 2232 [INFO ] - jre8
2021-01-22 19:02:57,157 2232 [INFO ] - By installing you accept licenses for the packages.
2021-01-22 19:02:57,187 2232 [DEBUG] - Current environment values (may contain sensitive data):
2021-01-22 19:02:57,187 2232 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2021-01-22 19:02:57,187 2232 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2021-01-22 19:02:57,203 2232 [DEBUG] - * 'ChocolateyLastPathUpdate'='132558156221560765' ('User')
2021-01-22 19:02:57,203 2232 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2021-01-22 19:02:57,203 2232 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2021-01-22 19:02:57,281 2232 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2021-01-22 19:02:57,281 2232 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2021-01-22 19:02:57,296 2232 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2021-01-22 19:02:57,296 2232 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2021-01-22 19:02:57,296 2232 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2021-01-22 19:02:57,296 2232 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2021-01-22 19:02:57,312 2232 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2021-01-22 19:02:57,312 2232 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2021-01-22 19:02:57,312 2232 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2021-01-22 19:02:57,312 2232 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2021-01-22 19:02:57,329 2232 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2021-01-22 19:02:57,329 2232 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2021-01-22 19:02:57,343 2232 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2021-01-22 19:02:57,343 2232 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2021-01-22 19:02:57,359 2232 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2021-01-22 19:03:00,641 2232 [INFO ] - [NuGet] Installing 'jre8 8.0.281'.
2021-01-22 19:03:00,672 2232 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'jre8\tools'.
2021-01-22 19:03:00,672 2232 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'jre8\tools'.
2021-01-22 19:03:00,688 2232 [DEBUG] - [NuGet] Added file 'jre8.nupkg' to folder 'jre8'.
2021-01-22 19:03:01,015 2232 [DEBUG] - [NuGet] Added file 'jre8.nuspec' to folder 'jre8'.
2021-01-22 19:03:01,015 2232 [INFO ] - [NuGet] Successfully installed 'jre8 8.0.281'.
2021-01-22 19:03:01,031 2232 [INFO ] -
jre8 v8.0.281 (forced)
2021-01-22 19:03:01,063 2232 [INFO ] - jre8 package files install completed. Performing other installation steps.
2021-01-22 19:03:01,219 2232 [DEBUG] - Setting installer args for jre8
2021-01-22 19:03:01,234 2232 [DEBUG] - Setting package parameters for jre8
2021-01-22 19:03:01,234 2232 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1':
2021-01-22 19:03:01,266 2232 [DEBUG] - try {
$arguments = @{}
# Now we can use the $env:chocolateyPackageParameters inside the Chocolatey package
$packageParameters = $env:chocolateyPackageParameters
# Default value
$exclude = $null
# Now parse the packageParameters using good old regular expression
if ($packageParameters) {
$match_pattern = "\/(?<option>([a-zA-Z0-9]+)):(?<value>([`"'])?([a-zA-Z0-9- \(\)\s_\\:\.]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
$option_name = 'option'
$value_name = 'value'
if ($packageParameters -match $match_pattern ){
$results = $packageParameters | Select-String $match_pattern -AllMatches
$results.matches | % {
$arguments.Add(
$_.Groups[$option_name].Value.Trim(),
$_.Groups[$value_name].Value.Trim())
}
}
else
{
Throw "Package Parameters were found but were invalid (REGEX Failure)"
}
if($arguments.ContainsKey("exclude")) {
Write-Host "exclude Argument Found"
$exclude = $arguments["exclude"]
}
if($arguments.ContainsKey("64dir")) {
Write-Host "64Dir Argument Found"
$64dir = $arguments["64dir"]
}
if($arguments.ContainsKey("32dir")) {
Write-Host "32Dir Argument Found"
$32dir = $arguments["32dir"]
}
} else {
Write-Debug "No Package Parameters Passed in"
}
$scriptDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$packageName = 'jre8'
# Modify these values -----------------------------------------------------
# Find download URLs at http://www.java.com/en/download/manual.jsp
$url = 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=244066_89d678f2be164786b292527658ca1605'
$checksum32 = '8CF2C7D207E47A8937BA2A7A179920DCB432C4991A98C186DB8F2F69A786240E'
$url64 = 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=244068_89d678f2be164786b292527658ca1605'
$checksum64 = '27FD9A85F2B49AE6A11B15E36AB28C0493D5572357EDF2990A65A2B56F1E1157'
$oldVersion = '8.0.2710.9'
$version = '8.0.2810.9'
#--------------------------------------------------------------------------
if ($64dir) { $64dir = "INSTALLDIR=`"$64dir`""; echo "64 dir detected at $64dir";}
if ($32dir) { $32dir = "INSTALLDIR=`"$32dir`""; echo "32 dir detected at $32dir";}
$homepath = $version -replace "(\d+\.\d+)\.(\d\d)(.*)",'jre1.$1_$2'
$installerType = 'exe'
$installArgs = "/s $32dir REBOOT=0 SPONSORS=0 AUTO_UPDATE=0"
$installArgs64 = "/s $64dir REBOOT=0 SPONSORS=0 AUTO_UPDATE=0"
$osBitness = Get-ProcessorBits
$cachepath = "$env:temp\$packagename\$version"
Write-Host "The software license has changed for Java and this software must be licensed for general business use. Please ensure your licensing is compliant before installing." -ForegroundColor white -BackgroundColor red
#This checks to see if current version is already installed
Write-Output "Checking to see if local install is already up to date..."
try{
$checkreg64 = Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion | Where-Object { $_.DisplayName -like '*Java 8*' -and ([Version]$_.DisplayVersion) -eq $version} -ErrorAction SilentlyContinue
$checkreg32 = Get-ItemProperty HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion | Where-Object { $_.DisplayName -like '*Java 8*' -and ([Version]$_.DisplayVersion) -eq $version} -ErrorAction SilentlyContinue
}catch{
Write-Output "Registry check failed. This is commonly caused by corrupt keys (Do you have netbeans installed?)"
}
# Checks if JRE 32/64-bit in the same version is already installed and if the user excluded 32-bit Java.
# Otherwise it downloads and installs it.
# This is to avoid unnecessary downloads and 1603 errors.
if ($checkreg32 -ne $null)
{
Write-Output "Java Runtime Environment $version (32-bit) is already installed. Skipping download and installation"
}
elseif ($exclude -ne "32")
{
Write-Output "Downloading 32-bit installer"
Get-ChocolateyWebFile -packageName $packageName -fileFullPath "$cachepath\JRE8x86.exe" -url $url -checksum $checksum32 -checksumType 'SHA256'
Write-Output "Installing JRE $version 32-bit"
Install-ChocolateyInstallPackage -packageName JRE8 -fileType $installerType -silentArgs $installArgs -file "$cachepath\JRE8x86.exe"
}
else
{
Write-Output "Java Runtime Environment $Version (32-bit) excluded for installation"
}
# Only check for the 64-bit version if the system is 64-bit
if ($osBitness -eq 64)
{
if ($checkreg64 -ne $null)
{
Write-Output "Java Runtime Environment $version (64-bit) is already installed. Skipping download and installation"
}
elseif ($exclude -ne "64")
{
Write-Output "Downloading 64-bit installer"
Get-ChocolateyWebFile -packageName $packageName -fileFullPath "$cachepath\JRE8x64.exe" -url64 $url64 -checksum64 $checksum64 -checksumType 'SHA256'
Write-Output "Installing JRE $version 64-bit"
Install-ChocolateyInstallPackage -packageName JRE8 -fileType $installerType -silentArgs $installArgs64 -file64 "$cachepath\JRE8x64.exe"
# Install-ChocolateyPackage $packageName $installerType $installArgs64 -url64bit "$env:temp\chocolatey\$packagename\$version\JRE8x64.exe" -checksum64 $checksum64 -checksumtype64 'sha256'
}
else
{
Write-Output "Java Runtime Environment $Version (64-bit) excluded for installation"
}
}
#Uninstalls the previous version of Java if either version exists
Write-Output "Searching if the previous version exists..."
$checkoldreg64 = Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, PSChildName | Where-Object { $_.DisplayName -like '*Java 8*' -and ([Version]$_.DisplayVersion) -eq $oldversion} -ErrorAction SilentlyContinue
$checkoldreg32 = Get-ItemProperty HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, PSChildName | Where-Object { $_.DisplayName -like '*Java 8*' -and ([Version]$_.DisplayVersion) -eq $oldversion} -ErrorAction SilentlyContinue
if($checkoldreg32 -ne $null)
{
Write-Warning "Uninstalling JRE version $oldVersion 32bit"
$32 = $checkoldreg32.PSChildName
Start-ChocolateyProcessAsAdmin "/qn /norestart /X$32" -exeToRun "msiexec.exe" -validExitCodes @(0,1605,3010)
}
if($checkoldreg64 -ne $null)
{
Write-Warning "Uninstalling JRE version $oldVersion $osBitness bit" #Formatted weird because this is used if run on a x86 install
$64 = $checkoldreg64.PSChildName
Start-ChocolateyProcessAsAdmin "/qn /norestart /X$64" -exeToRun "msiexec.exe" -validExitCodes @(0,1605,3010)
}
$64dir = $null
$32dir = $null
} catch {
#Write-ChocolateyFailure $packageName $($_.Exception.Message)
throw
}
2021-01-22 19:03:01,437 2232 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2021-01-22 19:03:01,484 2232 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2021-01-22 19:03:02,125 2232 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.34014'.
2021-01-22 19:03:02,469 2232 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2021-01-22 19:03:02,469 2232 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2021-01-22 19:03:02,484 2232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2021-01-22 19:03:02,484 2232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2021-01-22 19:03:02,500 2232 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2021-01-22 19:03:02,500 2232 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2021-01-22 19:03:02,500 2232 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2021-01-22 19:03:02,516 2232 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2021-01-22 19:03:02,516 2232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2021-01-22 19:03:02,516 2232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2021-01-22 19:03:02,531 2232 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2021-01-22 19:03:02,531 2232 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2021-01-22 19:03:02,547 2232 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2021-01-22 19:03:02,547 2232 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2021-01-22 19:03:02,563 2232 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2021-01-22 19:03:02,563 2232 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2021-01-22 19:03:02,563 2232 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2021-01-22 19:03:02,563 2232 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2021-01-22 19:03:02,578 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2021-01-22 19:03:02,578 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2021-01-22 19:03:02,578 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2021-01-22 19:03:02,578 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2021-01-22 19:03:02,593 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2021-01-22 19:03:02,593 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2021-01-22 19:03:02,593 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2021-01-22 19:03:02,609 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2021-01-22 19:03:02,609 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2021-01-22 19:03:02,624 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2021-01-22 19:03:02,624 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2021-01-22 19:03:02,641 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2021-01-22 19:03:02,641 2232 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2021-01-22 19:03:02,655 2232 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2021-01-22 19:03:02,655 2232 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2021-01-22 19:03:02,655 2232 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2021-01-22 19:03:02,671 2232 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2021-01-22 19:03:02,671 2232 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2021-01-22 19:03:02,765 2232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-01-22 19:03:02,765 2232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2021-01-22 19:03:02,781 2232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2021-01-22 19:03:02,781 2232 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2021-01-22 19:03:02,797 2232 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2021-01-22 19:03:02,797 2232 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2021-01-22 19:03:02,812 2232 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2021-01-22 19:03:02,812 2232 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2021-01-22 19:03:02,828 2232 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2021-01-22 19:03:02,828 2232 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2021-01-22 19:03:02,843 2232 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2021-01-22 19:03:02,843 2232 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2021-01-22 19:03:02,843 2232 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2021-01-22 19:03:02,859 2232 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2021-01-22 19:03:02,859 2232 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2021-01-22 19:03:02,859 2232 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2021-01-22 19:03:02,874 2232 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2021-01-22 19:03:02,906 2232 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2021-01-22 19:03:02,906 2232 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2021-01-22 19:03:02,906 2232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2021-01-22 19:03:02,906 2232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2021-01-22 19:03:02,921 2232 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2021-01-22 19:03:02,921 2232 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2021-01-22 19:03:02,921 2232 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2021-01-22 19:03:02,937 2232 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2021-01-22 19:03:02,937 2232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2021-01-22 19:03:02,937 2232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2021-01-22 19:03:02,954 2232 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2021-01-22 19:03:02,954 2232 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2021-01-22 19:03:02,954 2232 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2021-01-22 19:03:02,968 2232 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2021-01-22 19:03:02,968 2232 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2021-01-22 19:03:02,984 2232 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2021-01-22 19:03:02,984 2232 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2021-01-22 19:03:02,984 2232 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2021-01-22 19:03:02,999 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2021-01-22 19:03:02,999 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2021-01-22 19:03:02,999 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2021-01-22 19:03:03,016 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2021-01-22 19:03:03,016 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2021-01-22 19:03:03,016 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2021-01-22 19:03:03,031 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2021-01-22 19:03:03,031 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2021-01-22 19:03:03,031 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2021-01-22 19:03:03,046 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2021-01-22 19:03:03,046 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2021-01-22 19:03:03,062 2232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2021-01-22 19:03:03,062 2232 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2021-01-22 19:03:03,062 2232 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2021-01-22 19:03:03,062 2232 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2021-01-22 19:03:03,062 2232 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2021-01-22 19:03:03,077 2232 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2021-01-22 19:03:03,077 2232 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2021-01-22 19:03:03,077 2232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-01-22 19:03:03,077 2232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2021-01-22 19:03:03,093 2232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2021-01-22 19:03:03,093 2232 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2021-01-22 19:03:03,093 2232 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2021-01-22 19:03:03,093 2232 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2021-01-22 19:03:03,093 2232 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2021-01-22 19:03:03,109 2232 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2021-01-22 19:03:03,109 2232 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2021-01-22 19:03:03,109 2232 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2021-01-22 19:03:03,109 2232 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2021-01-22 19:03:03,124 2232 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2021-01-22 19:03:03,124 2232 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2021-01-22 19:03:03,124 2232 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2021-01-22 19:03:03,142 2232 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2021-01-22 19:03:03,142 2232 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2021-01-22 19:03:03,202 2232 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2021-01-22 19:03:03,218 2232 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2021-01-22 19:03:03,218 2232 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2021-01-22 19:03:03,218 2232 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2021-01-22 19:03:03,234 2232 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2021-01-22 19:03:03,234 2232 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2021-01-22 19:03:03,234 2232 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2021-01-22 19:03:03,234 2232 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2021-01-22 19:03:03,234 2232 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2021-01-22 19:03:03,250 2232 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2021-01-22 19:03:03,250 2232 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2021-01-22 19:03:03,250 2232 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2021-01-22 19:03:03,265 2232 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2021-01-22 19:03:03,265 2232 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2021-01-22 19:03:03,265 2232 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2021-01-22 19:03:03,265 2232 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2021-01-22 19:03:03,280 2232 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2021-01-22 19:03:03,280 2232 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2021-01-22 19:03:03,280 2232 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2021-01-22 19:03:03,280 2232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2021-01-22 19:03:03,280 2232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2021-01-22 19:03:03,296 2232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2021-01-22 19:03:03,296 2232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2021-01-22 19:03:03,296 2232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2021-01-22 19:03:03,296 2232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2021-01-22 19:03:03,312 2232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2021-01-22 19:03:03,312 2232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2021-01-22 19:03:03,312 2232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2021-01-22 19:03:03,327 2232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2021-01-22 19:03:03,327 2232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2021-01-22 19:03:03,327 2232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2021-01-22 19:03:03,344 2232 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2021-01-22 19:03:03,344 2232 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2021-01-22 19:03:03,344 2232 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2021-01-22 19:03:03,359 2232 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2021-01-22 19:03:03,359 2232 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2021-01-22 19:03:03,359 2232 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2021-01-22 19:03:03,378 2232 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-01-22 19:03:03,378 2232 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2021-01-22 19:03:03,390 2232 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2021-01-22 19:03:03,390 2232 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2021-01-22 19:03:03,390 2232 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2021-01-22 19:03:03,390 2232 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2021-01-22 19:03:03,406 2232 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2021-01-22 19:03:03,406 2232 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2021-01-22 19:03:03,406 2232 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2021-01-22 19:03:03,406 2232 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2021-01-22 19:03:03,423 2232 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2021-01-22 19:03:03,423 2232 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2021-01-22 19:03:03,423 2232 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2021-01-22 19:03:03,438 2232 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2021-01-22 19:03:03,438 2232 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2021-01-22 19:03:03,438 2232 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2021-01-22 19:03:03,452 2232 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2021-01-22 19:03:03,609 2232 [DEBUG] - ---------------------------Script Execution---------------------------
2021-01-22 19:03:03,625 2232 [DEBUG] - Running 'ChocolateyScriptRunner' for jre8 v8.0.281 with packageScript 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\jre8', installArguments: '', packageParameters: '',
2021-01-22 19:03:03,657 2232 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1'
2021-01-22 19:03:03,703 2232 [DEBUG] - No Package Parameters Passed in
2021-01-22 19:03:03,828 2232 [DEBUG] - Running Get-ProcessorBits
2021-01-22 19:03:03,874 2232 [INFO ] - The software license has changed for Java and this software must be licensed for general business use. Please ensure your licensing is compliant before installing.
2021-01-22 19:03:03,874 2232 [INFO ] -
2021-01-22 19:03:03,890 2232 [INFO ] - Checking to see if local install is already up to date...
2021-01-22 19:03:04,030 2232 [INFO ] - Downloading 32-bit installer
2021-01-22 19:03:04,203 2232 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'jre8' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x86.exe' -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=244066_89d678f2be164786b292527658ca1605' -checksum '8CF2C7D207E47A8937BA2A7A179920DCB432C4991A98C186DB8F2F69A786240E' -checksumType 'SHA256'
2021-01-22 19:03:04,234 2232 [DEBUG] - Running Get-ProcessorBits -compare '64'
2021-01-22 19:03:04,265 2232 [DEBUG] - CPU is 64 bit
2021-01-22 19:03:04,390 2232 [DEBUG] - Running Get-WebHeaders -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=244066_89d678f2be164786b292527658ca1605' -ErrorAction 'Stop'
2021-01-22 19:03:04,617 2232 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2021-01-22 19:03:04,625 2232 [DEBUG] - Request Headers:
2021-01-22 19:03:04,641 2232 [DEBUG] - 'Accept':'*/*'
2021-01-22 19:03:04,656 2232 [DEBUG] - 'User-Agent':'chocolatey command line'
2021-01-22 19:03:05,517 2232 [DEBUG] - Response Headers:
2021-01-22 19:03:05,578 2232 [DEBUG] - 'Pragma':'no-cache'
2021-01-22 19:03:05,593 2232 [DEBUG] - 'Connection':'keep-alive'
2021-01-22 19:03:05,593 2232 [DEBUG] - 'Accept-Ranges':'bytes'
2021-01-22 19:03:05,593 2232 [DEBUG] - 'Content-Length':'73129608'
2021-01-22 19:03:05,609 2232 [DEBUG] - 'Cache-Control':'max-age=0, no-cache'
2021-01-22 19:03:05,609 2232 [DEBUG] - 'Content-Type':'application/x-sdlc'
2021-01-22 19:03:05,609 2232 [DEBUG] - 'Date':'Wed, 27 Jan 2021 18:19:45 GMT'
2021-01-22 19:03:05,609 2232 [DEBUG] - 'Expires':'Wed, 27 Jan 2021 18:19:45 GMT'
2021-01-22 19:03:05,625 2232 [DEBUG] - 'ETag':'"a53e62ce1d02002b334020a218ce2593:1607626658.985624"'
2021-01-22 19:03:05,625 2232 [DEBUG] - 'Last-Modified':'Wed, 09 Dec 2020 16:38:34 GMT'
2021-01-22 19:03:05,625 2232 [DEBUG] - 'Server':'AkamaiNetStorage'
2021-01-22 19:03:05,656 2232 [INFO ] - Downloading jre8
from 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=244066_89d678f2be164786b292527658ca1605'
2021-01-22 19:03:05,679 2232 [INFO ] -
2021-01-22 19:03:05,702 2232 [DEBUG] - Running Get-WebFile -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=244066_89d678f2be164786b292527658ca1605' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x86.exe' -options 'System.Collections.Hashtable'
2021-01-22 19:03:05,737 2232 [DEBUG] - Setting request timeout to 30000
2021-01-22 19:03:05,737 2232 [DEBUG] - Setting read/write timeout to 2700000
2021-01-22 19:03:05,750 2232 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2021-01-22 19:03:06,502 2232 [DEBUG] - Downloading https://javadl.oracle.com/webapps/download/AutoDL?BundleId=244066_89d678f2be164786b292527658ca1605 to C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x86.exe
2021-01-22 19:03:16,707 2232 [INFO ] -
2021-01-22 19:03:16,719 2232 [INFO ] - Download of JRE8x86.exe (69.74 MB) completed.
2021-01-22 19:03:16,719 2232 [INFO ] -
2021-01-22 19:03:24,718 2232 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2021-01-22 19:03:24,718 2232 [DEBUG] - Verifying package provided checksum of '8CF2C7D207E47A8937BA2A7A179920DCB432C4991A98C186DB8F2F69A786240E' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x86.exe'.
2021-01-22 19:03:24,749 2232 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x86.exe' -checksum '8CF2C7D207E47A8937BA2A7A179920DCB432C4991A98C186DB8F2F69A786240E' -checksumType 'SHA256' -originalUrl 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=244066_89d678f2be164786b292527658ca1605'
2021-01-22 19:03:24,828 2232 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2021-01-22 19:03:24,844 2232 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="8CF2C7D207E47A8937BA2A7A179920DCB432C4991A98C186DB8F2F69A786240E" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x86.exe"]
2021-01-22 19:03:28,609 2232 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="8CF2C7D207E47A8937BA2A7A179920DCB432C4991A98C186DB8F2F69A786240E" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x86.exe"] exited with '0'.
2021-01-22 19:03:28,624 2232 [INFO ] - C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x86.exe
2021-01-22 19:03:28,624 2232 [INFO ] - Installing JRE 8.0.2810.9 32-bit
2021-01-22 19:03:28,703 2232 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'JRE8' -fileType 'exe' -silentArgs '/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x86.exe'
2021-01-22 19:03:28,703 2232 [DEBUG] - Running Get-ProcessorBits -compare '32'
2021-01-22 19:03:30,093 2232 [INFO ] - Installing JRE8...
2021-01-22 19:03:30,109 2232 [INFO ] -
2021-01-22 19:03:30,359 2232 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9' -statements '/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ' -exeToRun 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x86.exe'
2021-01-22 19:03:30,405 2232 [DEBUG] - Test-ProcessAdminRights: returning True
2021-01-22 19:03:30,437 2232 [DEBUG] - Elevating permissions and running ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x86.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ]. This may take a while, depending on the statements.
2021-01-22 19:07:16,327 2232 [DEBUG] - Command ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x86.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ] exited with '0'.
2021-01-22 19:07:16,359 2232 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2021-01-22 19:07:16,359 2232 [INFO ] - JRE8 has been installed.
2021-01-22 19:07:16,359 2232 [INFO ] -
2021-01-22 19:07:16,359 2232 [INFO ] - Downloading 64-bit installer
2021-01-22 19:07:16,390 2232 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'jre8' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x64.exe' -url64bit 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=244068_89d678f2be164786b292527658ca1605' -checksum64 '27FD9A85F2B49AE6A11B15E36AB28C0493D5572357EDF2990A65A2B56F1E1157' -checksumType 'SHA256'
2021-01-22 19:07:16,390 2232 [DEBUG] - Running Get-ProcessorBits -compare '64'
2021-01-22 19:07:16,390 2232 [DEBUG] - CPU is 64 bit
2021-01-22 19:07:16,407 2232 [DEBUG] - Setting url to 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=244068_89d678f2be164786b292527658ca1605' and bitPackage to 64
2021-01-22 19:07:16,407 2232 [DEBUG] - Running Get-WebHeaders -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=244068_89d678f2be164786b292527658ca1605' -ErrorAction 'Stop'
2021-01-22 19:07:16,500 2232 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2021-01-22 19:07:16,500 2232 [DEBUG] - Request Headers:
2021-01-22 19:07:16,515 2232 [DEBUG] - 'Accept':'*/*'
2021-01-22 19:07:16,515 2232 [DEBUG] - 'User-Agent':'chocolatey command line'
2021-01-22 19:07:17,280 2232 [DEBUG] - Response Headers:
2021-01-22 19:07:17,280 2232 [DEBUG] - 'Pragma':'no-cache'
2021-01-22 19:07:17,297 2232 [DEBUG] - 'Connection':'keep-alive'
2021-01-22 19:07:17,297 2232 [DEBUG] - 'Accept-Ranges':'bytes'
2021-01-22 19:07:17,297 2232 [DEBUG] - 'Content-Length':'83548808'
2021-01-22 19:07:17,312 2232 [DEBUG] - 'Cache-Control':'max-age=0, no-cache'
2021-01-22 19:07:17,390 2232 [DEBUG] - 'Content-Type':'application/x-sdlc'
2021-01-22 19:07:17,390 2232 [DEBUG] - 'Date':'Wed, 27 Jan 2021 18:23:57 GMT'
2021-01-22 19:07:17,390 2232 [DEBUG] - 'Expires':'Wed, 27 Jan 2021 18:23:57 GMT'
2021-01-22 19:07:17,407 2232 [DEBUG] - 'ETag':'"c6136758f1fec04a2f7f01249280c315:1607626666.594795"'
2021-01-22 19:07:17,407 2232 [DEBUG] - 'Last-Modified':'Wed, 09 Dec 2020 16:33:22 GMT'
2021-01-22 19:07:17,423 2232 [DEBUG] - 'Server':'AkamaiNetStorage'
2021-01-22 19:07:17,423 2232 [INFO ] - Downloading jre8 64 bit
from 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=244068_89d678f2be164786b292527658ca1605'
2021-01-22 19:07:17,423 2232 [INFO ] -
2021-01-22 19:07:17,437 2232 [DEBUG] - Running Get-WebFile -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=244068_89d678f2be164786b292527658ca1605' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x64.exe' -options 'System.Collections.Hashtable'
2021-01-22 19:07:17,437 2232 [DEBUG] - Setting request timeout to 30000
2021-01-22 19:07:17,453 2232 [DEBUG] - Setting read/write timeout to 2700000
2021-01-22 19:07:17,453 2232 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2021-01-22 19:07:28,265 2232 [INFO ] -
2021-01-22 19:07:28,281 2232 [INFO ] - Download of JRE8x64.exe (79.68 MB) completed.
2021-01-22 19:07:28,281 2232 [INFO ] -
2021-01-22 19:07:31,718 2232 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2021-01-22 19:07:31,718 2232 [DEBUG] - Verifying package provided checksum of '27FD9A85F2B49AE6A11B15E36AB28C0493D5572357EDF2990A65A2B56F1E1157' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x64.exe'.
2021-01-22 19:07:31,734 2232 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x64.exe' -checksum '27FD9A85F2B49AE6A11B15E36AB28C0493D5572357EDF2990A65A2B56F1E1157' -checksumType 'SHA256' -originalUrl 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=244068_89d678f2be164786b292527658ca1605'
2021-01-22 19:07:31,734 2232 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2021-01-22 19:07:31,750 2232 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="27FD9A85F2B49AE6A11B15E36AB28C0493D5572357EDF2990A65A2B56F1E1157" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x64.exe"]
2021-01-22 19:07:33,062 2232 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="27FD9A85F2B49AE6A11B15E36AB28C0493D5572357EDF2990A65A2B56F1E1157" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x64.exe"] exited with '0'.
2021-01-22 19:07:33,062 2232 [INFO ] - C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x64.exe
2021-01-22 19:07:33,062 2232 [INFO ] - Installing JRE 8.0.2810.9 64-bit
2021-01-22 19:07:33,077 2232 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'JRE8' -fileType 'exe' -silentArgs '/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0' -file64 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x64.exe'
2021-01-22 19:07:33,077 2232 [DEBUG] - Running Get-ProcessorBits -compare '32'
2021-01-22 19:07:33,077 2232 [INFO ] - Installing 64-bit JRE8...
2021-01-22 19:07:33,093 2232 [INFO ] -
2021-01-22 19:07:33,109 2232 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9' -statements '/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ' -exeToRun 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x64.exe'
2021-01-22 19:07:33,109 2232 [DEBUG] - Test-ProcessAdminRights: returning True
2021-01-22 19:07:33,125 2232 [DEBUG] - Elevating permissions and running ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x64.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ]. This may take a while, depending on the statements.
2021-01-22 19:10:18,579 2232 [DEBUG] - Command ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2810.9\JRE8x64.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ] exited with '0'.
2021-01-22 19:10:18,593 2232 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2021-01-22 19:10:18,593 2232 [INFO ] - JRE8 has been installed.
2021-01-22 19:10:18,593 2232 [INFO ] -
2021-01-22 19:10:18,610 2232 [INFO ] - Searching if the previous version exists...
2021-01-22 19:10:18,797 2232 [DEBUG] - ----------------------------------------------------------------------
2021-01-22 19:10:18,797 2232 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2021-01-22 19:10:18,812 2232 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2021-01-22 19:10:18,906 2232 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2021-01-22 19:10:18,921 2232 [INFO ] - jre8 may be able to be automatically uninstalled.
2021-01-22 19:10:18,937 2232 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2021-01-22 19:10:18,953 2232 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2021-01-22 19:10:18,953 2232 [DEBUG] - * Path='C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' (Machine)
2021-01-22 19:10:19,218 2232 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\jre8'
2021-01-22 19:10:19,234 2232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nupkg'
with checksum '929069D24C3E832A533490DE88506F18'
2021-01-22 19:10:19,234 2232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nuspec'
with checksum 'FB2BE42A4AB984A9F4CED70C1C5A7536'
2021-01-22 19:10:19,234 2232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1'
with checksum '7E159F176C906D8697EF092D2D442EC0'
2021-01-22 19:10:19,234 2232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1'
with checksum 'AB0427D94B9A42F91D9589B9EB6D8F6A'
2021-01-22 19:10:19,312 2232 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.281".
2021-01-22 19:10:19,406 2232 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.281\.registry'
2021-01-22 19:10:19,484 2232 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.281\.files'
2021-01-22 19:10:19,547 2232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.281\.extra".
2021-01-22 19:10:19,547 2232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.281\.version".
2021-01-22 19:10:19,547 2232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.281\.sxs".
2021-01-22 19:10:19,562 2232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.281\.pin".
2021-01-22 19:10:19,562 2232 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2021-01-22 19:10:19,579 2232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\jre8\.chocolateyPending".
2021-01-22 19:10:19,593 2232 [INFO ] - The install of jre8 was successful.
2021-01-22 19:10:19,593 2232 [INFO ] - Software installed to 'C:\Program Files\Java\jre1.8.0_281\'
2021-01-22 19:10:19,593 2232 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\jre8.8.0.281.nupkg".
2021-01-22 19:10:19,640 2232 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2021-01-22 19:10:19,640 2232 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2021-01-22 19:10:19,688 2232 [DEBUG] - Exiting with 0
2021-01-22 19:10:44,875 1604 [DEBUG] - XmlConfiguration is now operational
2021-01-22 19:10:45,048 1604 [INFO ] - ============================================================
2021-01-22 19:10:45,702 1604 [INFO ] - Chocolatey v0.10.16-beta
2021-01-22 19:10:45,734 1604 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2021-01-22 19:10:45,749 1604 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2021-01-22 19:10:45,749 1604 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2021-01-22 19:10:45,796 1604 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall jre8 --version 8.0.281 -dvy --execution-timeout=2700
2021-01-22 19:10:45,796 1604 [DEBUG] - Received arguments: uninstall jre8 --version 8.0.281 -dvy --execution-timeout=2700
2021-01-22 19:10:45,953 1604 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2021-01-22 19:10:45,968 1604 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2021-01-22 19:10:46,001 1604 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2021-01-22 19:10:46,140 1604 [DEBUG] - Performing validation checks.
2021-01-22 19:10:46,171 1604 [DEBUG] - Global Configuration Validation Checks:
2021-01-22 19:10:46,171 1604 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2021-01-22 19:10:46,187 1604 [DEBUG] - System State Validation Checks:
2021-01-22 19:10:46,202 1604 [DEBUG] - Reboot Requirement Checks:
2021-01-22 19:10:46,219 1604 [DEBUG] - - Pending Computer Rename = Checked
2021-01-22 19:10:46,219 1604 [DEBUG] - - Pending Component Based Servicing = Checked
2021-01-22 19:10:46,234 1604 [DEBUG] - - Pending Windows Auto Update = Checked
2021-01-22 19:10:46,234 1604 [DEBUG] - - Pending File Rename Operations = Ignored
2021-01-22 19:10:46,249 1604 [DEBUG] - - Pending Windows Package Installer = Checked
2021-01-22 19:10:46,249 1604 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2021-01-22 19:10:46,282 1604 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2021-01-22 19:10:46,296 1604 [DEBUG] - The source 'c:\cached-packages;https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2021-01-22 19:10:46,313 1604 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2021-01-22 19:10:46,343 1604 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='jre8'|Version='8.0.281'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='jre8'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.16.0'|
Information.ChocolateyProductVersion='0.10.16-beta'|
Information.FullName='choco, Version=0.10.16.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2021-01-22 19:10:46,359 1604 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2021-01-22 19:10:46,376 1604 [INFO ] - Uninstalling the following packages:
2021-01-22 19:10:46,376 1604 [INFO ] - jre8
2021-01-22 19:10:46,407 1604 [DEBUG] - Current environment values (may contain sensitive data):
2021-01-22 19:10:46,407 1604 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2021-01-22 19:10:46,407 1604 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2021-01-22 19:10:46,421 1604 [DEBUG] - * 'ChocolateyLastPathUpdate'='132558156221560765' ('User')
2021-01-22 19:10:46,421 1604 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2021-01-22 19:10:46,421 1604 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2021-01-22 19:10:46,421 1604 [DEBUG] - * 'Path'='C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2021-01-22 19:10:46,438 1604 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2021-01-22 19:10:46,438 1604 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2021-01-22 19:10:46,438 1604 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2021-01-22 19:10:46,452 1604 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2021-01-22 19:10:46,452 1604 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2021-01-22 19:10:46,452 1604 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2021-01-22 19:10:46,452 1604 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2021-01-22 19:10:46,452 1604 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2021-01-22 19:10:46,469 1604 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2021-01-22 19:10:46,469 1604 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2021-01-22 19:10:46,484 1604 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2021-01-22 19:10:46,484 1604 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2021-01-22 19:10:46,484 1604 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2021-01-22 19:10:46,484 1604 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2021-01-22 19:10:46,765 1604 [DEBUG] - Running list with the following filter = ''
2021-01-22 19:10:46,796 1604 [DEBUG] - --- Start of List ---
2021-01-22 19:10:47,437 1604 [DEBUG] - jre8 8.0.281
2021-01-22 19:10:47,452 1604 [DEBUG] - --- End of List ---
2021-01-22 19:10:47,688 1604 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2021-01-22 19:10:47,703 1604 [DEBUG] - Backing up existing jre8 prior to operation.
2021-01-22 19:10:47,718 1604 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\jre8'
to 'C:\ProgramData\chocolatey\lib-bkp\jre8'
2021-01-22 19:10:49,750 1604 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\jre8".
2021-01-22 19:10:49,765 1604 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\jre8\jre8.nupkg"
to "C:\ProgramData\chocolatey\lib\jre8\jre8.nupkg".
2021-01-22 19:10:49,765 1604 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\jre8\jre8.nuspec"
to "C:\ProgramData\chocolatey\lib\jre8\jre8.nuspec".
2021-01-22 19:10:49,781 1604 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\jre8\tools".
2021-01-22 19:10:49,781 1604 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\jre8\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1".
2021-01-22 19:10:49,797 1604 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\jre8\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1".
2021-01-22 19:10:51,328 1604 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\jre8'
2021-01-22 19:10:51,344 1604 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nupkg'
with checksum '929069D24C3E832A533490DE88506F18'
2021-01-22 19:10:51,344 1604 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nuspec'
with checksum 'FB2BE42A4AB984A9F4CED70C1C5A7536'
2021-01-22 19:10:51,359 1604 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1'
with checksum '7E159F176C906D8697EF092D2D442EC0'
2021-01-22 19:10:51,359 1604 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1'
with checksum 'AB0427D94B9A42F91D9589B9EB6D8F6A'
2021-01-22 19:10:51,610 1604 [INFO ] - [NuGet] Uninstalling 'jre8 8.0.281'.
2021-01-22 19:10:51,624 1604 [INFO ] -
jre8 v8.0.281
2021-01-22 19:10:51,687 1604 [DEBUG] - Setting installer args for jre8
2021-01-22 19:10:51,703 1604 [DEBUG] - Setting package parameters for jre8
2021-01-22 19:10:51,718 1604 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1':
2021-01-22 19:10:51,735 1604 [DEBUG] - Write-Debug ("Starting " + $MyInvocation.MyCommand.Definition)
$scriptDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
[string]$packageName="JRE8"
$version = '8.0.2810.9'
#$thisJreInstalledHash = thisJreInstalled($version)
$checkreg64 = Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, PSChildName | Where-Object { $_.DisplayName -like '*Java 8*' -and ([Version]$_.DisplayVersion) -eq $version} -ErrorAction SilentlyContinue
$checkreg32 = Get-ItemProperty HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, PSChildName | Where-Object { $_.DisplayName -like '*Java 8*' -and ([Version]$_.DisplayVersion) -eq $version} -ErrorAction SilentlyContinue
$osBitness = Get-ProcessorBits
<#
Exit Codes:
0: Java installed successfully.
1605: Java is not installed.
3010: A reboot is required to finish the install.
#>
if($checkreg32 -ne $null)
{
Write-Warning "Uninstalling JRE version $Version 32bit"
$32 = $checkreg32.PSChildName
Start-ChocolateyProcessAsAdmin "/qn /norestart /X$32" -exeToRun "msiexec.exe" -validExitCodes @(0,1605,3010)
}
if($checkreg64 -ne $null)
{
Write-Warning "Uninstalling JRE version $Version $osBitness bit" #Formatted weird for x86 windows installs
$64 = $checkreg64.PSChildName
Start-ChocolateyProcessAsAdmin "/qn /norestart /X$64" -exeToRun "msiexec.exe" -validExitCodes @(0,1605,3010)
}
Write-Warning "$packageName may require a reboot to complete the uninstallation."
2021-01-22 19:10:51,796 1604 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters ''']
2021-01-22 19:10:51,796 1604 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2021-01-22 19:10:52,452 1604 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.34014'.
2021-01-22 19:10:52,875 1604 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2021-01-22 19:10:52,921 1604 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2021-01-22 19:10:52,921 1604 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2021-01-22 19:10:52,921 1604 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2021-01-22 19:10:52,938 1604 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2021-01-22 19:10:52,938 1604 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2021-01-22 19:10:52,938 1604 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2021-01-22 19:10:52,938 1604 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2021-01-22 19:10:52,953 1604 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2021-01-22 19:10:52,953 1604 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2021-01-22 19:10:52,953 1604 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2021-01-22 19:10:52,953 1604 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2021-01-22 19:10:52,970 1604 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2021-01-22 19:10:52,970 1604 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2021-01-22 19:10:52,970 1604 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2021-01-22 19:10:52,970 1604 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2021-01-22 19:10:52,984 1604 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2021-01-22 19:10:52,984 1604 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2021-01-22 19:10:52,984 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2021-01-22 19:10:52,984 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2021-01-22 19:10:53,000 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2021-01-22 19:10:53,000 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2021-01-22 19:10:53,022 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2021-01-22 19:10:53,022 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2021-01-22 19:10:53,030 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2021-01-22 19:10:53,030 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2021-01-22 19:10:53,030 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2021-01-22 19:10:53,030 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2021-01-22 19:10:53,030 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2021-01-22 19:10:53,048 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2021-01-22 19:10:53,048 1604 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2021-01-22 19:10:53,048 1604 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2021-01-22 19:10:53,062 1604 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2021-01-22 19:10:53,062 1604 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2021-01-22 19:10:53,062 1604 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2021-01-22 19:10:53,062 1604 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2021-01-22 19:10:53,078 1604 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-01-22 19:10:53,078 1604 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2021-01-22 19:10:53,078 1604 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2021-01-22 19:10:53,093 1604 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2021-01-22 19:10:53,093 1604 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2021-01-22 19:10:53,093 1604 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2021-01-22 19:10:53,093 1604 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2021-01-22 19:10:53,116 1604 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2021-01-22 19:10:53,116 1604 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2021-01-22 19:10:53,125 1604 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2021-01-22 19:10:53,125 1604 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2021-01-22 19:10:53,140 1604 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2021-01-22 19:10:53,140 1604 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2021-01-22 19:10:53,140 1604 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2021-01-22 19:10:53,140 1604 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2021-01-22 19:10:53,157 1604 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2021-01-22 19:10:53,157 1604 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2021-01-22 19:10:53,188 1604 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2021-01-22 19:10:53,188 1604 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2021-01-22 19:10:53,188 1604 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2021-01-22 19:10:53,188 1604 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2021-01-22 19:10:53,218 1604 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2021-01-22 19:10:53,218 1604 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2021-01-22 19:10:53,218 1604 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2021-01-22 19:10:53,218 1604 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2021-01-22 19:10:53,234 1604 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2021-01-22 19:10:53,234 1604 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2021-01-22 19:10:53,234 1604 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2021-01-22 19:10:53,234 1604 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2021-01-22 19:10:53,258 1604 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2021-01-22 19:10:53,266 1604 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2021-01-22 19:10:53,266 1604 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2021-01-22 19:10:53,266 1604 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2021-01-22 19:10:53,281 1604 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2021-01-22 19:10:53,281 1604 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2021-01-22 19:10:53,281 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2021-01-22 19:10:53,298 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2021-01-22 19:10:53,298 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2021-01-22 19:10:53,298 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2021-01-22 19:10:53,298 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2021-01-22 19:10:53,312 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2021-01-22 19:10:53,312 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2021-01-22 19:10:53,312 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2021-01-22 19:10:53,312 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2021-01-22 19:10:53,327 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2021-01-22 19:10:53,327 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2021-01-22 19:10:53,327 1604 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2021-01-22 19:10:53,327 1604 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2021-01-22 19:10:53,343 1604 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2021-01-22 19:10:53,343 1604 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2021-01-22 19:10:53,343 1604 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2021-01-22 19:10:53,343 1604 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2021-01-22 19:10:53,343 1604 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2021-01-22 19:10:53,360 1604 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-01-22 19:10:53,360 1604 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2021-01-22 19:10:53,360 1604 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2021-01-22 19:10:53,360 1604 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2021-01-22 19:10:53,360 1604 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2021-01-22 19:10:53,375 1604 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2021-01-22 19:10:53,375 1604 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2021-01-22 19:10:53,392 1604 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2021-01-22 19:10:53,392 1604 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2021-01-22 19:10:53,392 1604 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2021-01-22 19:10:53,406 1604 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2021-01-22 19:10:53,406 1604 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2021-01-22 19:10:53,406 1604 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2021-01-22 19:10:53,421 1604 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2021-01-22 19:10:53,421 1604 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2021-01-22 19:10:53,421 1604 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2021-01-22 19:10:53,421 1604 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2021-01-22 19:10:53,438 1604 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2021-01-22 19:10:53,438 1604 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2021-01-22 19:10:53,452 1604 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2021-01-22 19:10:53,452 1604 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2021-01-22 19:10:53,452 1604 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2021-01-22 19:10:53,452 1604 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2021-01-22 19:10:53,452 1604 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2021-01-22 19:10:53,470 1604 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2021-01-22 19:10:53,470 1604 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2021-01-22 19:10:53,470 1604 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2021-01-22 19:10:53,484 1604 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2021-01-22 19:10:53,484 1604 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2021-01-22 19:10:53,499 1604 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2021-01-22 19:10:53,499 1604 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2021-01-22 19:10:53,499 1604 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2021-01-22 19:10:53,499 1604 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2021-01-22 19:10:53,515 1604 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2021-01-22 19:10:53,515 1604 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2021-01-22 19:10:53,515 1604 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2021-01-22 19:10:53,515 1604 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2021-01-22 19:10:53,515 1604 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2021-01-22 19:10:53,531 1604 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2021-01-22 19:10:53,531 1604 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2021-01-22 19:10:53,531 1604 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2021-01-22 19:10:53,546 1604 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2021-01-22 19:10:53,546 1604 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2021-01-22 19:10:53,546 1604 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2021-01-22 19:10:53,546 1604 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2021-01-22 19:10:53,562 1604 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2021-01-22 19:10:53,562 1604 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2021-01-22 19:10:53,562 1604 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2021-01-22 19:10:53,562 1604 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2021-01-22 19:10:53,577 1604 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2021-01-22 19:10:53,577 1604 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2021-01-22 19:10:53,577 1604 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2021-01-22 19:10:53,577 1604 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2021-01-22 19:10:53,594 1604 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-01-22 19:10:53,594 1604 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2021-01-22 19:10:53,594 1604 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2021-01-22 19:10:53,609 1604 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2021-01-22 19:10:53,609 1604 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2021-01-22 19:10:53,625 1604 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2021-01-22 19:10:53,625 1604 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2021-01-22 19:10:53,640 1604 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2021-01-22 19:10:53,657 1604 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2021-01-22 19:10:53,657 1604 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2021-01-22 19:10:53,671 1604 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2021-01-22 19:10:53,671 1604 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2021-01-22 19:10:53,687 1604 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2021-01-22 19:10:53,687 1604 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2021-01-22 19:10:53,703 1604 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2021-01-22 19:10:53,703 1604 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2021-01-22 19:10:53,703 1604 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2021-01-22 19:10:53,797 1604 [DEBUG] - ---------------------------Script Execution---------------------------
2021-01-22 19:10:53,812 1604 [DEBUG] - Running 'ChocolateyScriptRunner' for jre8 v8.0.281 with packageScript 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\jre8', installArguments: '', packageParameters: '',
2021-01-22 19:10:53,843 1604 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1'
2021-01-22 19:10:53,860 1604 [DEBUG] - Starting C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1
2021-01-22 19:10:54,078 1604 [DEBUG] - Running Get-ProcessorBits
2021-01-22 19:10:54,125 1604 [WARN ] - WARNING: Uninstalling JRE version 8.0.2810.9 32bit
2021-01-22 19:10:54,234 1604 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -exeToRun 'msiexec.exe' -validExitCodes '0 1605 3010' -statements '/qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F32180281F0}'
2021-01-22 19:10:54,328 1604 [DEBUG] - Test-ProcessAdminRights: returning True
2021-01-22 19:10:54,360 1604 [DEBUG] - Elevating permissions and running ["msiexec.exe" /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F32180281F0}]. This may take a while, depending on the statements.
2021-01-22 19:11:00,280 1604 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F32180281F0}] exited with '0'.
2021-01-22 19:11:00,312 1604 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2021-01-22 19:11:00,327 1604 [INFO ] - 0
2021-01-22 19:11:00,327 1604 [WARN ] - WARNING: Uninstalling JRE version 8.0.2810.9 64 bit
2021-01-22 19:11:00,327 1604 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -exeToRun 'msiexec.exe' -validExitCodes '0 1605 3010' -statements '/qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F64180281F0}'
2021-01-22 19:11:00,343 1604 [DEBUG] - Test-ProcessAdminRights: returning True
2021-01-22 19:11:00,343 1604 [DEBUG] - Elevating permissions and running ["msiexec.exe" /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F64180281F0}]. This may take a while, depending on the statements.
2021-01-22 19:11:04,485 1604 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F64180281F0}] exited with '0'.
2021-01-22 19:11:04,485 1604 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2021-01-22 19:11:04,485 1604 [INFO ] - 0
2021-01-22 19:11:04,500 1604 [WARN ] - WARNING: JRE8 may require a reboot to complete the uninstallation.
2021-01-22 19:11:04,515 1604 [DEBUG] - ----------------------------------------------------------------------
2021-01-22 19:11:04,515 1604 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2021-01-22 19:11:04,546 1604 [INFO ] - Running auto uninstaller...
2021-01-22 19:11:04,546 1604 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2021-01-22 19:11:06,640 1604 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180281F0}' for 'Java 8 Update 281 (64-bit)'
2021-01-22 19:11:06,640 1604 [INFO ] - Skipping auto uninstaller - 'Java 8 Update 281 (64-bit)' appears to have been uninstalled already by other means.
2021-01-22 19:11:06,655 1604 [DEBUG] - Searched for install path 'C:\Program Files\Java\jre1.8.0_281\' - found? False
2021-01-22 19:11:06,765 1604 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F64180281F0}' value 'InstallLocation' - found? False
2021-01-22 19:11:06,765 1604 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180281F0}' for 'Java 8 Update 281'
2021-01-22 19:11:06,780 1604 [INFO ] - Skipping auto uninstaller - 'Java 8 Update 281' appears to have been uninstalled already by other means.
2021-01-22 19:11:06,780 1604 [DEBUG] - Searched for install path 'C:\Program Files (x86)\Java\jre1.8.0_281\' - found? False
2021-01-22 19:11:06,780 1604 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F32180281F0}' value 'InstallLocation' - found? False
2021-01-22 19:11:06,798 1604 [INFO ] - Skipping auto uninstaller - 'Java Auto Updater' does not have an uninstall string.
2021-01-22 19:11:06,798 1604 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2021-01-22 19:11:06,891 1604 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2021-01-22 19:11:06,906 1604 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\jre8".
2021-01-22 19:11:06,969 1604 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\jre8\tools'.
2021-01-22 19:11:06,984 1604 [DEBUG] - [NuGet] Removed file 'chocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\jre8\tools'.
2021-01-22 19:11:06,984 1604 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\jre8\tools'.
2021-01-22 19:11:06,999 1604 [DEBUG] - [NuGet] Removed file 'jre8.nuspec' to folder 'C:\ProgramData\chocolatey\lib\jre8'.
2021-01-22 19:11:06,999 1604 [DEBUG] - [NuGet] Removed file 'jre8.nupkg' to folder 'C:\ProgramData\chocolatey\lib\jre8'.
2021-01-22 19:11:07,015 1604 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\jre8'.
2021-01-22 19:11:07,015 1604 [INFO ] - [NuGet] Successfully uninstalled 'jre8 8.0.281'.
2021-01-22 19:11:07,032 1604 [INFO ] - jre8 has been successfully uninstalled.
2021-01-22 19:11:07,032 1604 [DEBUG] - Removing nupkg if it still exists.
2021-01-22 19:11:07,047 1604 [DEBUG] - Ensuring removal of installation files.
2021-01-22 19:11:07,047 1604 [DEBUG] - Ensuring removal of package cache files.
2021-01-22 19:11:07,078 1604 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2021-01-22 19:11:07,078 1604 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2021-01-22 19:11:07,078 1604 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' (Machine)
2021-01-22 19:11:07,124 1604 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2021-01-22 19:11:07,124 1604 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2021-01-22 19:11:07,156 1604 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment