Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
jre8 v8.0.261 - 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 261 (64-bit)" displayVersion="8.0.2610.12">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F64180261F0}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\Java\jre1.8.0_261\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180261F0}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Oracle Corporation]]></Publisher>
<InstallDate>20200729</InstallDate>
<InstallSource><![CDATA[C:\Users\Administrator\AppData\LocalLow\Oracle\Java\jre1.8.0_261_x64\]]></InstallSource>
<Language>1033</Language>
<Version>134220338</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\43957.msi]]></LocalPackage>
</key>
<key installerType="Msi" displayName="Java 8 Update 261" displayVersion="8.0.2610.12">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F32180261F0}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files (x86)\Java\jre1.8.0_261\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180261F0}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Oracle Corporation]]></Publisher>
<InstallDate>20200729</InstallDate>
<InstallSource><![CDATA[C:\Users\Administrator\AppData\LocalLow\Oracle\Java\jre1.8.0_261\]]></InstallSource>
<Language>1033</Language>
<Version>134220338</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\4394f.msi]]></LocalPackage>
</key>
<key installerType="Msi" displayName="Java Auto Updater" displayVersion="2.8.261.12">
<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>20200729</InstallDate>
<InstallSource><![CDATA[C:\Users\Administrator\AppData\LocalLow\Oracle\Java\jre1.8.0_261\]]></InstallSource>
<Language>1033</Language>
<Version>34078981</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\43953.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

jre8 v8.0.261 - Passed - Package Test Results

  • https://chocolatey.org/packages/jre8/8.0.261
  • Tested 29 Jul 2020 16:13:36 +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.4.0-38-g3187e94
  • 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="7F9826EDD34EB33E8B63C981650BDF42" />
<file path="C:\ProgramData\chocolatey\lib\jre8\jre8.nuspec" checksum="D4055587EB0FF761C4767693E9C9766C" />
<file path="C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1" checksum="08CAA43E0336BD4855E5E80A2E0C5445" />
<file path="C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1" checksum="263138289EA41639730992832A38EEF4" />
</files>
</fileSnapshot>
2020-07-29 16:04:46,268 2972 [DEBUG] - XmlConfiguration is now operational
2020-07-29 16:04:46,425 2972 [INFO ] - ============================================================
2020-07-29 16:04:47,065 2972 [INFO ] - Chocolatey v0.10.15
2020-07-29 16:04:47,080 2972 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-07-29 16:04:47,096 2972 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-07-29 16:04:47,096 2972 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-07-29 16:04:47,128 2972 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install jre8 --version 8.0.261 -fdvy --execution-timeout=5400 --allow-downgrade
2020-07-29 16:04:47,128 2972 [DEBUG] - Received arguments: install jre8 --version 8.0.261 -fdvy --execution-timeout=5400 --allow-downgrade
2020-07-29 16:04:47,252 2972 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-07-29 16:04:47,268 2972 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-07-29 16:04:47,284 2972 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-07-29 16:04:47,425 2972 [DEBUG] - Performing validation checks.
2020-07-29 16:04:47,440 2972 [DEBUG] - Global Configuration Validation Checks:
2020-07-29 16:04:47,455 2972 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-07-29 16:04:47,455 2972 [DEBUG] - System State Validation Checks:
2020-07-29 16:04:47,472 2972 [DEBUG] - Reboot Requirement Checks:
2020-07-29 16:04:47,472 2972 [DEBUG] - - Pending Computer Rename = Checked
2020-07-29 16:04:47,487 2972 [DEBUG] - - Pending Component Based Servicing = Checked
2020-07-29 16:04:47,487 2972 [DEBUG] - - Pending Windows Auto Update = Checked
2020-07-29 16:04:47,487 2972 [DEBUG] - - Pending File Rename Operations = Checked
2020-07-29 16:04:47,487 2972 [DEBUG] - - Pending Windows Package Installer = Checked
2020-07-29 16:04:47,503 2972 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-07-29 16:04:47,503 2972 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-07-29 16:04:47,518 2972 [DEBUG] - The source 'c:\cached-packages;https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-07-29 16:04:47,518 2972 [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.
2020-07-29 16:04:47,549 2972 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='5400'|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.261'|
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.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.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'|
2020-07-29 16:04:47,566 2972 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-07-29 16:04:47,597 2972 [INFO ] - Installing the following packages:
2020-07-29 16:04:47,597 2972 [INFO ] - jre8
2020-07-29 16:04:47,597 2972 [INFO ] - By installing you accept licenses for the packages.
2020-07-29 16:04:47,612 2972 [DEBUG] - Current environment values (may contain sensitive data):
2020-07-29 16:04:47,627 2972 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-29 16:04:47,627 2972 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-29 16:04:47,627 2972 [DEBUG] - * 'ChocolateyLastPathUpdate'='132400658289071043' ('User')
2020-07-29 16:04:47,627 2972 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-07-29 16:04:47,627 2972 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-07-29 16:04:47,644 2972 [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')
2020-07-29 16:04:47,644 2972 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-07-29 16:04:47,644 2972 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-07-29 16:04:47,644 2972 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-07-29 16:04:47,644 2972 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-07-29 16:04:47,658 2972 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-07-29 16:04:47,658 2972 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-07-29 16:04:47,658 2972 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-07-29 16:04:47,658 2972 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-07-29 16:04:47,658 2972 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-07-29 16:04:47,674 2972 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-07-29 16:04:47,674 2972 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-07-29 16:04:47,674 2972 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-07-29 16:04:47,674 2972 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-07-29 16:04:47,753 2972 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-07-29 16:04:52,096 2972 [INFO ] - [NuGet] Installing 'jre8 8.0.261'.
2020-07-29 16:04:52,111 2972 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'jre8\tools'.
2020-07-29 16:04:52,111 2972 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'jre8\tools'.
2020-07-29 16:04:52,127 2972 [DEBUG] - [NuGet] Added file 'jre8.nupkg' to folder 'jre8'.
2020-07-29 16:04:52,519 2972 [DEBUG] - [NuGet] Added file 'jre8.nuspec' to folder 'jre8'.
2020-07-29 16:04:52,519 2972 [INFO ] - [NuGet] Successfully installed 'jre8 8.0.261'.
2020-07-29 16:04:52,519 2972 [INFO ] -
jre8 v8.0.261 (forced)
2020-07-29 16:04:52,581 2972 [INFO ] - jre8 package files install completed. Performing other installation steps.
2020-07-29 16:04:52,754 2972 [DEBUG] - Setting installer args for jre8
2020-07-29 16:04:52,768 2972 [DEBUG] - Setting package parameters for jre8
2020-07-29 16:04:52,768 2972 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1':
2020-07-29 16:04:52,800 2972 [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=242988_a4634525489241b9a9e1aa73d9e118e6'
$checksum32 = '9B7A8B449054164890D96FD25662CD2CD606B4B71032D435BD878589425E6F7F'
$url64 = 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242990_a4634525489241b9a9e1aa73d9e118e6'
$checksum64 = '3F3B8ECBB0808B15A811CA437767D09E73C04D465729FD1532E296903634461C'
$oldVersion = '8.0.2510.8'
$version = '8.0.2610.12'
#--------------------------------------------------------------------------
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
}
2020-07-29 16:04:53,081 2972 [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 ''']
2020-07-29 16:04:53,081 2972 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-07-29 16:04:53,987 2972 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-07-29 16:04:54,471 2972 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-07-29 16:04:54,471 2972 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-07-29 16:04:54,471 2972 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-07-29 16:04:54,471 2972 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-07-29 16:04:54,486 2972 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-07-29 16:04:54,486 2972 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-07-29 16:04:54,486 2972 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-07-29 16:04:54,486 2972 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-07-29 16:04:54,502 2972 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-07-29 16:04:54,502 2972 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-07-29 16:04:54,502 2972 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-07-29 16:04:54,502 2972 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-07-29 16:04:54,519 2972 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-07-29 16:04:54,519 2972 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-07-29 16:04:54,519 2972 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-07-29 16:04:54,519 2972 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-07-29 16:04:54,533 2972 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-07-29 16:04:54,533 2972 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-07-29 16:04:54,533 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-07-29 16:04:54,533 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-07-29 16:04:54,549 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-07-29 16:04:54,549 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-07-29 16:04:54,549 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-07-29 16:04:54,549 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-07-29 16:04:54,582 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-07-29 16:04:54,582 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-29 16:04:54,582 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-07-29 16:04:54,582 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-07-29 16:04:54,597 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-07-29 16:04:54,597 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-07-29 16:04:54,597 2972 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-07-29 16:04:54,597 2972 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-07-29 16:04:54,614 2972 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-07-29 16:04:54,614 2972 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-07-29 16:04:54,614 2972 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-07-29 16:04:54,614 2972 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-07-29 16:04:54,630 2972 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-29 16:04:54,630 2972 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-07-29 16:04:54,643 2972 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-07-29 16:04:54,643 2972 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-07-29 16:04:54,643 2972 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-07-29 16:04:54,643 2972 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-07-29 16:04:54,659 2972 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-07-29 16:04:54,659 2972 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-07-29 16:04:54,659 2972 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-07-29 16:04:54,659 2972 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-07-29 16:04:54,659 2972 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-07-29 16:04:54,675 2972 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-07-29 16:04:54,675 2972 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-07-29 16:04:54,675 2972 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-07-29 16:04:54,675 2972 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-07-29 16:04:54,690 2972 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-07-29 16:04:54,690 2972 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-07-29 16:04:54,737 2972 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-07-29 16:04:54,737 2972 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-07-29 16:04:54,737 2972 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-07-29 16:04:54,752 2972 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-07-29 16:04:54,752 2972 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-07-29 16:04:54,752 2972 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-07-29 16:04:54,752 2972 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-07-29 16:04:54,768 2972 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-07-29 16:04:54,768 2972 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-07-29 16:04:54,768 2972 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-07-29 16:04:54,768 2972 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-07-29 16:04:54,783 2972 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-07-29 16:04:54,783 2972 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-07-29 16:04:54,783 2972 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-07-29 16:04:54,799 2972 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-07-29 16:04:54,799 2972 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-07-29 16:04:54,799 2972 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-07-29 16:04:54,799 2972 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-07-29 16:04:54,817 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-07-29 16:04:54,817 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-07-29 16:04:54,817 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-07-29 16:04:54,831 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-07-29 16:04:54,831 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-07-29 16:04:54,831 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-07-29 16:04:54,855 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-07-29 16:04:54,855 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-29 16:04:54,861 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-07-29 16:04:54,861 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-07-29 16:04:54,861 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-07-29 16:04:54,861 2972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-07-29 16:04:54,877 2972 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-07-29 16:04:54,877 2972 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-07-29 16:04:54,877 2972 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-07-29 16:04:54,877 2972 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-07-29 16:04:54,894 2972 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-07-29 16:04:54,894 2972 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-07-29 16:04:54,894 2972 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-29 16:04:54,894 2972 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-07-29 16:04:54,912 2972 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-07-29 16:04:54,924 2972 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-07-29 16:04:54,924 2972 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-07-29 16:04:54,924 2972 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-07-29 16:04:54,924 2972 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-07-29 16:04:54,940 2972 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-07-29 16:04:54,940 2972 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-07-29 16:04:54,940 2972 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-07-29 16:04:54,940 2972 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-07-29 16:04:54,959 2972 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-07-29 16:04:54,959 2972 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-07-29 16:04:54,959 2972 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-07-29 16:04:54,959 2972 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-07-29 16:04:54,971 2972 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-07-29 16:04:54,971 2972 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-07-29 16:04:54,971 2972 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-07-29 16:04:54,989 2972 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-07-29 16:04:54,989 2972 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-07-29 16:04:54,989 2972 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-07-29 16:04:54,989 2972 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-07-29 16:04:55,002 2972 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-07-29 16:04:55,002 2972 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-07-29 16:04:55,002 2972 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-07-29 16:04:55,019 2972 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-07-29 16:04:55,019 2972 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-07-29 16:04:55,019 2972 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-07-29 16:04:55,019 2972 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-07-29 16:04:55,033 2972 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-07-29 16:04:55,033 2972 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-07-29 16:04:55,033 2972 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-07-29 16:04:55,033 2972 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-07-29 16:04:55,049 2972 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-07-29 16:04:55,049 2972 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-07-29 16:04:55,049 2972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-07-29 16:04:55,065 2972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-07-29 16:04:55,065 2972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-07-29 16:04:55,065 2972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-07-29 16:04:55,065 2972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-07-29 16:04:55,081 2972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-07-29 16:04:55,081 2972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-07-29 16:04:55,081 2972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-29 16:04:55,081 2972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-07-29 16:04:55,096 2972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-07-29 16:04:55,096 2972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-07-29 16:04:55,096 2972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-07-29 16:04:55,096 2972 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-07-29 16:04:55,113 2972 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-07-29 16:04:55,113 2972 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-07-29 16:04:55,113 2972 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-07-29 16:04:55,128 2972 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-07-29 16:04:55,128 2972 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-07-29 16:04:55,128 2972 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-29 16:04:55,128 2972 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-07-29 16:04:55,128 2972 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-07-29 16:04:55,145 2972 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-07-29 16:04:55,145 2972 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-07-29 16:04:55,145 2972 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-07-29 16:04:55,145 2972 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-07-29 16:04:55,160 2972 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-07-29 16:04:55,160 2972 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-07-29 16:04:55,160 2972 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-07-29 16:04:55,160 2972 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-07-29 16:04:55,174 2972 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-07-29 16:04:55,174 2972 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-07-29 16:04:55,174 2972 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-07-29 16:04:55,190 2972 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-07-29 16:04:55,190 2972 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-07-29 16:04:55,190 2972 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-07-29 16:04:55,346 2972 [DEBUG] - ---------------------------Script Execution---------------------------
2020-07-29 16:04:55,362 2972 [DEBUG] - Running 'ChocolateyScriptRunner' for jre8 v8.0.261 with packageScript 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\jre8', installArguments: '', packageParameters: '',
2020-07-29 16:04:55,409 2972 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1'
2020-07-29 16:04:55,443 2972 [DEBUG] - No Package Parameters Passed in
2020-07-29 16:04:55,518 2972 [DEBUG] - Running Get-ProcessorBits
2020-07-29 16:04:55,627 2972 [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.
2020-07-29 16:04:55,645 2972 [INFO ] -
2020-07-29 16:04:55,645 2972 [INFO ] - Checking to see if local install is already up to date...
2020-07-29 16:04:55,799 2972 [INFO ] - Downloading 32-bit installer
2020-07-29 16:04:56,050 2972 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'jre8' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x86.exe' -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242988_a4634525489241b9a9e1aa73d9e118e6' -checksum '9B7A8B449054164890D96FD25662CD2CD606B4B71032D435BD878589425E6F7F' -checksumType 'SHA256'
2020-07-29 16:04:56,096 2972 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-07-29 16:04:56,096 2972 [DEBUG] - CPU is 64 bit
2020-07-29 16:04:56,222 2972 [DEBUG] - Running Get-WebHeaders -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242988_a4634525489241b9a9e1aa73d9e118e6' -ErrorAction 'Stop'
2020-07-29 16:04:56,377 2972 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-07-29 16:04:56,393 2972 [DEBUG] - Request Headers:
2020-07-29 16:04:56,440 2972 [DEBUG] - 'Accept':'*/*'
2020-07-29 16:04:56,440 2972 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-07-29 16:04:57,543 2972 [DEBUG] - Response Headers:
2020-07-29 16:04:57,596 2972 [DEBUG] - 'Pragma':'no-cache'
2020-07-29 16:04:57,596 2972 [DEBUG] - 'Connection':'keep-alive'
2020-07-29 16:04:57,596 2972 [DEBUG] - 'Accept-Ranges':'bytes'
2020-07-29 16:04:57,611 2972 [DEBUG] - 'Content-Length':'72990856'
2020-07-29 16:04:57,611 2972 [DEBUG] - 'Cache-Control':'max-age=0, no-cache'
2020-07-29 16:04:57,611 2972 [DEBUG] - 'Content-Type':'application/x-sdlc'
2020-07-29 16:04:57,611 2972 [DEBUG] - 'Date':'Wed, 29 Jul 2020 16:04:57 GMT'
2020-07-29 16:04:57,627 2972 [DEBUG] - 'Expires':'Wed, 29 Jul 2020 16:04:57 GMT'
2020-07-29 16:04:57,627 2972 [DEBUG] - 'ETag':'"d502ea66a2e5fa06622af45f5ed12553:1592521496"'
2020-07-29 16:04:57,627 2972 [DEBUG] - 'Last-Modified':'Thu, 18 Jun 2020 10:24:01 GMT'
2020-07-29 16:04:57,627 2972 [DEBUG] - 'Server':'Apache'
2020-07-29 16:04:57,830 2972 [INFO ] - Downloading jre8
from 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242988_a4634525489241b9a9e1aa73d9e118e6'
2020-07-29 16:04:57,830 2972 [INFO ] -
2020-07-29 16:04:57,956 2972 [DEBUG] - Running Get-WebFile -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242988_a4634525489241b9a9e1aa73d9e118e6' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x86.exe' -options 'System.Collections.Hashtable'
2020-07-29 16:04:58,018 2972 [DEBUG] - Setting request timeout to 30000
2020-07-29 16:04:58,018 2972 [DEBUG] - Setting read/write timeout to 5400000
2020-07-29 16:04:58,018 2972 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-07-29 16:04:59,362 2972 [DEBUG] - Downloading https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242988_a4634525489241b9a9e1aa73d9e118e6 to C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x86.exe
2020-07-29 16:05:09,018 2972 [INFO ] -
2020-07-29 16:05:09,018 2972 [INFO ] - Download of JRE8x86.exe (69.61 MB) completed.
2020-07-29 16:05:09,034 2972 [INFO ] -
2020-07-29 16:05:12,315 2972 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-07-29 16:05:12,315 2972 [DEBUG] - Verifying package provided checksum of '9B7A8B449054164890D96FD25662CD2CD606B4B71032D435BD878589425E6F7F' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x86.exe'.
2020-07-29 16:05:12,330 2972 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x86.exe' -checksum '9B7A8B449054164890D96FD25662CD2CD606B4B71032D435BD878589425E6F7F' -checksumType 'SHA256' -originalUrl 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242988_a4634525489241b9a9e1aa73d9e118e6'
2020-07-29 16:05:12,910 2972 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-07-29 16:05:12,924 2972 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="9B7A8B449054164890D96FD25662CD2CD606B4B71032D435BD878589425E6F7F" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x86.exe"]
2020-07-29 16:05:16,690 2972 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="9B7A8B449054164890D96FD25662CD2CD606B4B71032D435BD878589425E6F7F" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x86.exe"] exited with '0'.
2020-07-29 16:05:16,705 2972 [INFO ] - C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x86.exe
2020-07-29 16:05:16,705 2972 [INFO ] - Installing JRE 8.0.2610.12 32-bit
2020-07-29 16:05:16,769 2972 [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.2610.12\JRE8x86.exe'
2020-07-29 16:05:16,769 2972 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-07-29 16:05:16,784 2972 [INFO ] - Installing JRE8...
2020-07-29 16:05:16,784 2972 [INFO ] -
2020-07-29 16:05:18,659 2972 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12' -statements '/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ' -exeToRun 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x86.exe'
2020-07-29 16:05:18,659 2972 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-07-29 16:05:18,722 2972 [DEBUG] - Test-ProcessAdminRights: returning True
2020-07-29 16:05:18,752 2972 [DEBUG] - Elevating permissions and running ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x86.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ]. This may take a while, depending on the statements.
2020-07-29 16:08:45,002 2972 [DEBUG] - Command ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x86.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ] exited with '0'.
2020-07-29 16:08:45,081 2972 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-07-29 16:08:45,081 2972 [INFO ] - JRE8 has been installed.
2020-07-29 16:08:45,096 2972 [INFO ] -
2020-07-29 16:08:45,096 2972 [INFO ] - Downloading 64-bit installer
2020-07-29 16:08:45,096 2972 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'jre8' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x64.exe' -url64bit 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242990_a4634525489241b9a9e1aa73d9e118e6' -checksum64 '3F3B8ECBB0808B15A811CA437767D09E73C04D465729FD1532E296903634461C' -checksumType 'SHA256'
2020-07-29 16:08:45,113 2972 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-07-29 16:08:45,113 2972 [DEBUG] - CPU is 64 bit
2020-07-29 16:08:45,127 2972 [DEBUG] - Setting url to 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242990_a4634525489241b9a9e1aa73d9e118e6' and bitPackage to 64
2020-07-29 16:08:45,127 2972 [DEBUG] - Running Get-WebHeaders -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242990_a4634525489241b9a9e1aa73d9e118e6' -ErrorAction 'Stop'
2020-07-29 16:08:45,237 2972 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-07-29 16:08:45,237 2972 [DEBUG] - Request Headers:
2020-07-29 16:08:45,252 2972 [DEBUG] - 'Accept':'*/*'
2020-07-29 16:08:45,252 2972 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-07-29 16:08:45,769 2972 [DEBUG] - Response Headers:
2020-07-29 16:08:45,769 2972 [DEBUG] - 'Pragma':'no-cache'
2020-07-29 16:08:45,783 2972 [DEBUG] - 'Connection':'keep-alive'
2020-07-29 16:08:45,783 2972 [DEBUG] - 'Accept-Ranges':'bytes'
2020-07-29 16:08:45,783 2972 [DEBUG] - 'Content-Length':'83038856'
2020-07-29 16:08:45,799 2972 [DEBUG] - 'Cache-Control':'max-age=0, no-cache'
2020-07-29 16:08:45,971 2972 [DEBUG] - 'Content-Type':'application/x-sdlc'
2020-07-29 16:08:45,971 2972 [DEBUG] - 'Date':'Wed, 29 Jul 2020 16:08:45 GMT'
2020-07-29 16:08:45,986 2972 [DEBUG] - 'Expires':'Wed, 29 Jul 2020 16:08:45 GMT'
2020-07-29 16:08:45,986 2972 [DEBUG] - 'ETag':'"608914d57c9476b6af49a545d042f4fc:1592521505"'
2020-07-29 16:08:45,986 2972 [DEBUG] - 'Last-Modified':'Thu, 18 Jun 2020 10:13:37 GMT'
2020-07-29 16:08:46,003 2972 [DEBUG] - 'Server':'Apache'
2020-07-29 16:08:46,003 2972 [INFO ] - Downloading jre8 64 bit
from 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242990_a4634525489241b9a9e1aa73d9e118e6'
2020-07-29 16:08:46,003 2972 [INFO ] -
2020-07-29 16:08:46,018 2972 [DEBUG] - Running Get-WebFile -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242990_a4634525489241b9a9e1aa73d9e118e6' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x64.exe' -options 'System.Collections.Hashtable'
2020-07-29 16:08:46,018 2972 [DEBUG] - Setting request timeout to 30000
2020-07-29 16:08:46,018 2972 [DEBUG] - Setting read/write timeout to 5400000
2020-07-29 16:08:46,034 2972 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-07-29 16:08:55,955 2972 [INFO ] -
2020-07-29 16:08:55,955 2972 [INFO ] - Download of JRE8x64.exe (79.19 MB) completed.
2020-07-29 16:08:55,972 2972 [INFO ] -
2020-07-29 16:09:00,535 2972 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-07-29 16:09:00,535 2972 [DEBUG] - Verifying package provided checksum of '3F3B8ECBB0808B15A811CA437767D09E73C04D465729FD1532E296903634461C' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x64.exe'.
2020-07-29 16:09:00,549 2972 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x64.exe' -checksum '3F3B8ECBB0808B15A811CA437767D09E73C04D465729FD1532E296903634461C' -checksumType 'SHA256' -originalUrl 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242990_a4634525489241b9a9e1aa73d9e118e6'
2020-07-29 16:09:00,549 2972 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-07-29 16:09:00,549 2972 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="3F3B8ECBB0808B15A811CA437767D09E73C04D465729FD1532E296903634461C" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x64.exe"]
2020-07-29 16:09:02,143 2972 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="3F3B8ECBB0808B15A811CA437767D09E73C04D465729FD1532E296903634461C" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x64.exe"] exited with '0'.
2020-07-29 16:09:02,143 2972 [INFO ] - C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x64.exe
2020-07-29 16:09:02,143 2972 [INFO ] - Installing JRE 8.0.2610.12 64-bit
2020-07-29 16:09:02,159 2972 [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.2610.12\JRE8x64.exe'
2020-07-29 16:09:02,174 2972 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-07-29 16:09:02,441 2972 [INFO ] - Installing 64-bit JRE8...
2020-07-29 16:09:02,441 2972 [INFO ] -
2020-07-29 16:09:02,455 2972 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12' -statements '/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ' -exeToRun 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x64.exe'
2020-07-29 16:09:02,455 2972 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-07-29 16:09:02,472 2972 [DEBUG] - Test-ProcessAdminRights: returning True
2020-07-29 16:09:02,472 2972 [DEBUG] - Elevating permissions and running ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x64.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ]. This may take a while, depending on the statements.
2020-07-29 16:12:30,675 2972 [DEBUG] - Command ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2610.12\JRE8x64.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ] exited with '0'.
2020-07-29 16:12:30,675 2972 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-07-29 16:12:30,690 2972 [INFO ] - JRE8 has been installed.
2020-07-29 16:12:30,690 2972 [INFO ] -
2020-07-29 16:12:30,706 2972 [INFO ] - Searching if the previous version exists...
2020-07-29 16:12:30,892 2972 [DEBUG] - ----------------------------------------------------------------------
2020-07-29 16:12:30,908 2972 [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'.
2020-07-29 16:12:30,924 2972 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-07-29 16:12:30,988 2972 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-07-29 16:12:31,017 2972 [INFO ] - jre8 may be able to be automatically uninstalled.
2020-07-29 16:12:31,049 2972 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2020-07-29 16:12:31,049 2972 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2020-07-29 16:12:31,065 2972 [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)
2020-07-29 16:12:31,330 2972 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\jre8'
2020-07-29 16:12:31,846 2972 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nupkg'
with checksum '7F9826EDD34EB33E8B63C981650BDF42'
2020-07-29 16:12:31,846 2972 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nuspec'
with checksum 'D4055587EB0FF761C4767693E9C9766C'
2020-07-29 16:12:31,846 2972 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1'
with checksum '08CAA43E0336BD4855E5E80A2E0C5445'
2020-07-29 16:12:31,862 2972 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1'
with checksum '263138289EA41639730992832A38EEF4'
2020-07-29 16:12:31,987 2972 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2020-07-29 16:12:32,017 2972 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.261".
2020-07-29 16:12:32,127 2972 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.261\.registry'
2020-07-29 16:12:32,205 2972 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.261\.files'
2020-07-29 16:12:32,236 2972 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.261\.extra".
2020-07-29 16:12:32,252 2972 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.261\.version".
2020-07-29 16:12:32,252 2972 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.261\.sxs".
2020-07-29 16:12:32,267 2972 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.261\.pin".
2020-07-29 16:12:32,283 2972 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-07-29 16:12:32,300 2972 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\jre8\.chocolateyPending".
2020-07-29 16:12:32,315 2972 [INFO ] - The install of jre8 was successful.
2020-07-29 16:12:32,315 2972 [INFO ] - Software installed to 'C:\Program Files\Java\jre1.8.0_261\'
2020-07-29 16:12:32,315 2972 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\jre8.8.0.261.nupkg".
2020-07-29 16:12:32,377 2972 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-07-29 16:12:32,392 2972 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-07-29 16:12:32,439 2972 [DEBUG] - Exiting with 0
2020-07-29 16:13:10,158 2296 [DEBUG] - XmlConfiguration is now operational
2020-07-29 16:13:10,314 2296 [INFO ] - ============================================================
2020-07-29 16:13:10,971 2296 [INFO ] - Chocolatey v0.10.15
2020-07-29 16:13:11,002 2296 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-07-29 16:13:11,018 2296 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-07-29 16:13:11,018 2296 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-07-29 16:13:11,050 2296 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall jre8 --version 8.0.261 -dvy --execution-timeout=5400
2020-07-29 16:13:11,050 2296 [DEBUG] - Received arguments: uninstall jre8 --version 8.0.261 -dvy --execution-timeout=5400
2020-07-29 16:13:11,176 2296 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-07-29 16:13:11,221 2296 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-07-29 16:13:11,236 2296 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-07-29 16:13:11,378 2296 [DEBUG] - Performing validation checks.
2020-07-29 16:13:11,392 2296 [DEBUG] - Global Configuration Validation Checks:
2020-07-29 16:13:11,392 2296 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-07-29 16:13:11,409 2296 [DEBUG] - System State Validation Checks:
2020-07-29 16:13:11,409 2296 [DEBUG] - Reboot Requirement Checks:
2020-07-29 16:13:11,424 2296 [DEBUG] - - Pending Computer Rename = Checked
2020-07-29 16:13:11,424 2296 [DEBUG] - - Pending Component Based Servicing = Checked
2020-07-29 16:13:11,424 2296 [DEBUG] - - Pending Windows Auto Update = Checked
2020-07-29 16:13:11,439 2296 [DEBUG] - - Pending File Rename Operations = Checked
2020-07-29 16:13:11,439 2296 [DEBUG] - - Pending Windows Package Installer = Checked
2020-07-29 16:13:11,439 2296 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-07-29 16:13:11,456 2296 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-07-29 16:13:11,471 2296 [DEBUG] - The source 'c:\cached-packages;https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-07-29 16:13:11,471 2296 [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.
2020-07-29 16:13:11,503 2296 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='5400'|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.261'|
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.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.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'|
2020-07-29 16:13:11,503 2296 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2020-07-29 16:13:11,517 2296 [INFO ] - Uninstalling the following packages:
2020-07-29 16:13:11,534 2296 [INFO ] - jre8
2020-07-29 16:13:11,550 2296 [DEBUG] - Current environment values (may contain sensitive data):
2020-07-29 16:13:11,550 2296 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-29 16:13:11,550 2296 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-29 16:13:11,550 2296 [DEBUG] - * 'ChocolateyLastPathUpdate'='132400658289071043' ('User')
2020-07-29 16:13:11,564 2296 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-07-29 16:13:11,564 2296 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-07-29 16:13:11,564 2296 [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')
2020-07-29 16:13:11,564 2296 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-07-29 16:13:11,580 2296 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-07-29 16:13:11,580 2296 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-07-29 16:13:11,580 2296 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-07-29 16:13:11,580 2296 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-07-29 16:13:11,580 2296 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-07-29 16:13:11,596 2296 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-07-29 16:13:11,596 2296 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-07-29 16:13:11,596 2296 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-07-29 16:13:11,596 2296 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-07-29 16:13:11,596 2296 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-07-29 16:13:11,612 2296 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-07-29 16:13:11,612 2296 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-07-29 16:13:11,612 2296 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-07-29 16:13:12,112 2296 [DEBUG] - Running list with the following filter = ''
2020-07-29 16:13:12,112 2296 [DEBUG] - --- Start of List ---
2020-07-29 16:13:12,884 2296 [DEBUG] - jre8 8.0.261
2020-07-29 16:13:12,893 2296 [DEBUG] - --- End of List ---
2020-07-29 16:13:13,161 2296 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2020-07-29 16:13:13,174 2296 [DEBUG] - Backing up existing jre8 prior to operation.
2020-07-29 16:13:13,191 2296 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\jre8'
to 'C:\ProgramData\chocolatey\lib-bkp\jre8'
2020-07-29 16:13:15,221 2296 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\jre8".
2020-07-29 16:13:15,221 2296 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\jre8\jre8.nupkg"
to "C:\ProgramData\chocolatey\lib\jre8\jre8.nupkg".
2020-07-29 16:13:15,221 2296 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\jre8\jre8.nuspec"
to "C:\ProgramData\chocolatey\lib\jre8\jre8.nuspec".
2020-07-29 16:13:15,237 2296 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\jre8\tools".
2020-07-29 16:13:15,237 2296 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\jre8\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1".
2020-07-29 16:13:15,237 2296 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\jre8\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1".
2020-07-29 16:13:16,768 2296 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\jre8'
2020-07-29 16:13:16,768 2296 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nupkg'
with checksum '7F9826EDD34EB33E8B63C981650BDF42'
2020-07-29 16:13:16,784 2296 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nuspec'
with checksum 'D4055587EB0FF761C4767693E9C9766C'
2020-07-29 16:13:16,784 2296 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1'
with checksum '08CAA43E0336BD4855E5E80A2E0C5445'
2020-07-29 16:13:16,784 2296 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1'
with checksum '263138289EA41639730992832A38EEF4'
2020-07-29 16:13:17,096 2296 [INFO ] - [NuGet] Uninstalling 'jre8 8.0.261'.
2020-07-29 16:13:17,112 2296 [INFO ] -
jre8 v8.0.261
2020-07-29 16:13:17,205 2296 [DEBUG] - Setting installer args for jre8
2020-07-29 16:13:17,205 2296 [DEBUG] - Setting package parameters for jre8
2020-07-29 16:13:17,205 2296 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1':
2020-07-29 16:13:17,238 2296 [DEBUG] - Write-Debug ("Starting " + $MyInvocation.MyCommand.Definition)
$scriptDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
[string]$packageName="JRE8"
$version = '8.0.2610.12'
#$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."
2020-07-29 16:13:17,284 2296 [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 ''']
2020-07-29 16:13:17,299 2296 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-07-29 16:13:18,127 2296 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-07-29 16:13:18,581 2296 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-07-29 16:13:18,596 2296 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-07-29 16:13:18,596 2296 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-07-29 16:13:18,596 2296 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-07-29 16:13:18,596 2296 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-07-29 16:13:18,614 2296 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-07-29 16:13:18,614 2296 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-07-29 16:13:18,614 2296 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-07-29 16:13:18,627 2296 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-07-29 16:13:18,627 2296 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-07-29 16:13:18,627 2296 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-07-29 16:13:18,690 2296 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-07-29 16:13:18,690 2296 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-07-29 16:13:18,706 2296 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-07-29 16:13:18,706 2296 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-07-29 16:13:18,706 2296 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-07-29 16:13:18,706 2296 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-07-29 16:13:18,721 2296 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-07-29 16:13:18,721 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-07-29 16:13:18,721 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-07-29 16:13:18,721 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-07-29 16:13:18,736 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-07-29 16:13:18,736 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-07-29 16:13:18,736 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-07-29 16:13:18,736 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-07-29 16:13:18,736 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-29 16:13:18,752 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-07-29 16:13:18,752 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-07-29 16:13:18,752 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-07-29 16:13:18,752 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-07-29 16:13:18,752 2296 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-07-29 16:13:18,769 2296 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-07-29 16:13:18,769 2296 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-07-29 16:13:18,769 2296 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-07-29 16:13:18,769 2296 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-07-29 16:13:18,769 2296 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-07-29 16:13:18,783 2296 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-29 16:13:18,783 2296 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-07-29 16:13:18,783 2296 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-07-29 16:13:18,783 2296 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-07-29 16:13:18,799 2296 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-07-29 16:13:18,799 2296 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-07-29 16:13:18,799 2296 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-07-29 16:13:18,814 2296 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-07-29 16:13:18,814 2296 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-07-29 16:13:18,814 2296 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-07-29 16:13:18,832 2296 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-07-29 16:13:18,832 2296 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-07-29 16:13:18,832 2296 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-07-29 16:13:18,832 2296 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-07-29 16:13:18,845 2296 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-07-29 16:13:18,845 2296 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-07-29 16:13:18,845 2296 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-07-29 16:13:18,877 2296 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-07-29 16:13:18,877 2296 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-07-29 16:13:18,893 2296 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-07-29 16:13:18,893 2296 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-07-29 16:13:18,893 2296 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-07-29 16:13:18,908 2296 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-07-29 16:13:18,908 2296 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-07-29 16:13:18,908 2296 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-07-29 16:13:18,908 2296 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-07-29 16:13:18,925 2296 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-07-29 16:13:18,925 2296 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-07-29 16:13:18,925 2296 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-07-29 16:13:18,925 2296 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-07-29 16:13:18,939 2296 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-07-29 16:13:18,939 2296 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-07-29 16:13:18,959 2296 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-07-29 16:13:18,959 2296 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-07-29 16:13:18,959 2296 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-07-29 16:13:18,971 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-07-29 16:13:18,971 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-07-29 16:13:18,971 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-07-29 16:13:18,971 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-07-29 16:13:18,989 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-07-29 16:13:18,989 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-07-29 16:13:18,989 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-07-29 16:13:19,003 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-29 16:13:19,003 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-07-29 16:13:19,003 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-07-29 16:13:19,003 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-07-29 16:13:19,018 2296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-07-29 16:13:19,018 2296 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-07-29 16:13:19,018 2296 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-07-29 16:13:19,018 2296 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-07-29 16:13:19,033 2296 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-07-29 16:13:19,033 2296 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-07-29 16:13:19,033 2296 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-07-29 16:13:19,033 2296 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-29 16:13:19,050 2296 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-07-29 16:13:19,050 2296 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-07-29 16:13:19,050 2296 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-07-29 16:13:19,050 2296 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-07-29 16:13:19,064 2296 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-07-29 16:13:19,064 2296 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-07-29 16:13:19,064 2296 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-07-29 16:13:19,082 2296 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-07-29 16:13:19,082 2296 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-07-29 16:13:19,082 2296 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-07-29 16:13:19,082 2296 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-07-29 16:13:19,096 2296 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-07-29 16:13:19,096 2296 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-07-29 16:13:19,096 2296 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-07-29 16:13:19,096 2296 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-07-29 16:13:19,112 2296 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-07-29 16:13:19,112 2296 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-07-29 16:13:19,112 2296 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-07-29 16:13:19,112 2296 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-07-29 16:13:19,127 2296 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-07-29 16:13:19,127 2296 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-07-29 16:13:19,127 2296 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-07-29 16:13:19,127 2296 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-07-29 16:13:19,144 2296 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-07-29 16:13:19,144 2296 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-07-29 16:13:19,144 2296 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-07-29 16:13:19,144 2296 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-07-29 16:13:19,158 2296 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-07-29 16:13:19,158 2296 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-07-29 16:13:19,158 2296 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-07-29 16:13:19,158 2296 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-07-29 16:13:19,158 2296 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-07-29 16:13:19,176 2296 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-07-29 16:13:19,176 2296 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-07-29 16:13:19,176 2296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-07-29 16:13:19,190 2296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-07-29 16:13:19,190 2296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-07-29 16:13:19,190 2296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-07-29 16:13:19,205 2296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-07-29 16:13:19,224 2296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-07-29 16:13:19,224 2296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-07-29 16:13:19,224 2296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-29 16:13:19,237 2296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-07-29 16:13:19,237 2296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-07-29 16:13:19,237 2296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-07-29 16:13:19,237 2296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-07-29 16:13:19,252 2296 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-07-29 16:13:19,252 2296 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-07-29 16:13:19,252 2296 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-07-29 16:13:19,252 2296 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-07-29 16:13:19,252 2296 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-07-29 16:13:19,269 2296 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-07-29 16:13:19,269 2296 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-29 16:13:19,269 2296 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-07-29 16:13:19,269 2296 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-07-29 16:13:19,283 2296 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-07-29 16:13:19,283 2296 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-07-29 16:13:19,283 2296 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-07-29 16:13:19,283 2296 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-07-29 16:13:19,283 2296 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-07-29 16:13:19,299 2296 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-07-29 16:13:19,299 2296 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-07-29 16:13:19,299 2296 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-07-29 16:13:19,299 2296 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-07-29 16:13:19,314 2296 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-07-29 16:13:19,314 2296 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-07-29 16:13:19,314 2296 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-07-29 16:13:19,314 2296 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-07-29 16:13:19,314 2296 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-07-29 16:13:19,426 2296 [DEBUG] - ---------------------------Script Execution---------------------------
2020-07-29 16:13:19,440 2296 [DEBUG] - Running 'ChocolateyScriptRunner' for jre8 v8.0.261 with packageScript 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\jre8', installArguments: '', packageParameters: '',
2020-07-29 16:13:19,471 2296 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1'
2020-07-29 16:13:19,550 2296 [DEBUG] - Starting C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1
2020-07-29 16:13:19,785 2296 [DEBUG] - Running Get-ProcessorBits
2020-07-29 16:13:19,814 2296 [WARN ] - WARNING: Uninstalling JRE version 8.0.2610.12 32bit
2020-07-29 16:13:20,080 2296 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -exeToRun 'msiexec.exe' -validExitCodes '0 1605 3010' -statements '/qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F32180261F0}'
2020-07-29 16:13:20,080 2296 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-07-29 16:13:20,160 2296 [DEBUG] - Test-ProcessAdminRights: returning True
2020-07-29 16:13:20,197 2296 [DEBUG] - Elevating permissions and running ["msiexec.exe" /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F32180261F0}]. This may take a while, depending on the statements.
2020-07-29 16:13:27,456 2296 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F32180261F0}] exited with '0'.
2020-07-29 16:13:27,502 2296 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-07-29 16:13:27,502 2296 [INFO ] - 0
2020-07-29 16:13:27,502 2296 [WARN ] - WARNING: Uninstalling JRE version 8.0.2610.12 64 bit
2020-07-29 16:13:27,520 2296 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -exeToRun 'msiexec.exe' -validExitCodes '0 1605 3010' -statements '/qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F64180261F0}'
2020-07-29 16:13:27,520 2296 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-07-29 16:13:27,534 2296 [DEBUG] - Test-ProcessAdminRights: returning True
2020-07-29 16:13:27,534 2296 [DEBUG] - Elevating permissions and running ["msiexec.exe" /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F64180261F0}]. This may take a while, depending on the statements.
2020-07-29 16:13:32,502 2296 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F64180261F0}] exited with '0'.
2020-07-29 16:13:32,550 2296 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-07-29 16:13:32,550 2296 [INFO ] - 0
2020-07-29 16:13:32,550 2296 [WARN ] - WARNING: JRE8 may require a reboot to complete the uninstallation.
2020-07-29 16:13:32,581 2296 [DEBUG] - ----------------------------------------------------------------------
2020-07-29 16:13:32,628 2296 [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'.
2020-07-29 16:13:32,690 2296 [INFO ] - Running auto uninstaller...
2020-07-29 16:13:32,690 2296 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2020-07-29 16:13:34,767 2296 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180261F0}' for 'Java 8 Update 261 (64-bit)'
2020-07-29 16:13:34,767 2296 [INFO ] - Skipping auto uninstaller - 'Java 8 Update 261 (64-bit)' appears to have been uninstalled already by other means.
2020-07-29 16:13:34,784 2296 [DEBUG] - Searched for install path 'C:\Program Files\Java\jre1.8.0_261\' - found? False
2020-07-29 16:13:34,861 2296 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F64180261F0}' value 'InstallLocation' - found? False
2020-07-29 16:13:34,861 2296 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180261F0}' for 'Java 8 Update 261'
2020-07-29 16:13:34,861 2296 [INFO ] - Skipping auto uninstaller - 'Java 8 Update 261' appears to have been uninstalled already by other means.
2020-07-29 16:13:34,879 2296 [DEBUG] - Searched for install path 'C:\Program Files (x86)\Java\jre1.8.0_261\' - found? False
2020-07-29 16:13:34,879 2296 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F32180261F0}' value 'InstallLocation' - found? False
2020-07-29 16:13:34,879 2296 [INFO ] - Skipping auto uninstaller - 'Java Auto Updater' does not have an uninstall string.
2020-07-29 16:13:34,892 2296 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-07-29 16:13:34,971 2296 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-07-29 16:13:34,987 2296 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\jre8".
2020-07-29 16:13:35,049 2296 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\jre8\tools'.
2020-07-29 16:13:35,049 2296 [DEBUG] - [NuGet] Removed file 'chocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\jre8\tools'.
2020-07-29 16:13:35,066 2296 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\jre8\tools'.
2020-07-29 16:13:35,080 2296 [DEBUG] - [NuGet] Removed file 'jre8.nuspec' to folder 'C:\ProgramData\chocolatey\lib\jre8'.
2020-07-29 16:13:35,080 2296 [DEBUG] - [NuGet] Removed file 'jre8.nupkg' to folder 'C:\ProgramData\chocolatey\lib\jre8'.
2020-07-29 16:13:35,080 2296 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\jre8'.
2020-07-29 16:13:35,080 2296 [INFO ] - [NuGet] Successfully uninstalled 'jre8 8.0.261'.
2020-07-29 16:13:35,096 2296 [INFO ] - jre8 has been successfully uninstalled.
2020-07-29 16:13:35,113 2296 [DEBUG] - Removing nupkg if it still exists.
2020-07-29 16:13:35,113 2296 [DEBUG] - Ensuring removal of installation files.
2020-07-29 16:13:35,127 2296 [DEBUG] - Ensuring removal of package cache files.
2020-07-29 16:13:35,144 2296 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2020-07-29 16:13:35,144 2296 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2020-07-29 16:13:35,158 2296 [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)
2020-07-29 16:13:35,191 2296 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-07-29 16:13:35,236 2296 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-07-29 16:13:35,267 2296 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.