Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
jre8 v8.0.251 - 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 251 (64-bit)" displayVersion="8.0.2510.8">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F64180251F0}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\Java\jre1.8.0_251\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180251F0}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Oracle Corporation]]></Publisher>
<InstallDate>20200429</InstallDate>
<InstallSource><![CDATA[C:\Users\Administrator\AppData\LocalLow\Oracle\Java\jre1.8.0_251_x64\]]></InstallSource>
<Language>1033</Language>
<Version>134220238</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\54931.msi]]></LocalPackage>
</key>
<key installerType="Msi" displayName="Java 8 Update 251" displayVersion="8.0.2510.8">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F32180251F0}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files (x86)\Java\jre1.8.0_251\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180251F0}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Oracle Corporation]]></Publisher>
<InstallDate>20200429</InstallDate>
<InstallSource><![CDATA[C:\Users\Administrator\AppData\LocalLow\Oracle\Java\jre1.8.0_251\]]></InstallSource>
<Language>1033</Language>
<Version>134220238</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\54929.msi]]></LocalPackage>
</key>
<key installerType="Msi" displayName="Java Auto Updater" displayVersion="2.8.251.8">
<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>20200429</InstallDate>
<InstallSource><![CDATA[C:\Users\Administrator\AppData\LocalLow\Oracle\Java\jre1.8.0_251\]]></InstallSource>
<Language>1033</Language>
<Version>34078971</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\5492d.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

jre8 v8.0.251 - Passed - Package Test Results

  • https://chocolatey.org/packages/jre8/8.0.251
  • Tested 29 Apr 2020 17:41:20 +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="8492F82C5250F90E674D6191DA571659" />
<file path="C:\ProgramData\chocolatey\lib\jre8\jre8.nuspec" checksum="0A3A28073182A702B935C0533CB0D0ED" />
<file path="C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1" checksum="0AA0AA5310FDB6406180ACBE9CEF4435" />
<file path="C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1" checksum="BAC2773D507E3E5CAB58CFFC0541D099" />
</files>
</fileSnapshot>
2020-04-29 17:35:54,146 732 [DEBUG] - XmlConfiguration is now operational
2020-04-29 17:35:54,365 732 [INFO ] - ============================================================
2020-04-29 17:35:55,286 732 [INFO ] - Chocolatey v0.10.15
2020-04-29 17:35:55,317 732 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-04-29 17:35:55,333 732 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-04-29 17:35:55,333 732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-04-29 17:35:55,364 732 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install jre8 --version 8.0.251 -fdvy --execution-timeout=2700 --allow-downgrade
2020-04-29 17:35:55,380 732 [DEBUG] - Received arguments: install jre8 --version 8.0.251 -fdvy --execution-timeout=2700 --allow-downgrade
2020-04-29 17:35:55,552 732 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-04-29 17:35:55,567 732 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-04-29 17:35:55,599 732 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-04-29 17:35:55,834 732 [DEBUG] - Performing validation checks.
2020-04-29 17:35:55,864 732 [DEBUG] - Global Configuration Validation Checks:
2020-04-29 17:35:55,880 732 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-04-29 17:35:55,880 732 [DEBUG] - System State Validation Checks:
2020-04-29 17:35:55,897 732 [DEBUG] - Reboot Requirement Checks:
2020-04-29 17:35:55,911 732 [DEBUG] - - Pending Computer Rename = Checked
2020-04-29 17:35:55,911 732 [DEBUG] - - Pending Component Based Servicing = Checked
2020-04-29 17:35:55,911 732 [DEBUG] - - Pending Windows Auto Update = Checked
2020-04-29 17:35:55,927 732 [DEBUG] - - Pending File Rename Operations = Checked
2020-04-29 17:35:55,927 732 [DEBUG] - - Pending Windows Package Installer = Checked
2020-04-29 17:35:55,942 732 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-04-29 17:35:55,958 732 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-04-29 17:35:55,974 732 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-04-29 17:35:55,989 732 [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-04-29 17:35:56,036 732 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='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.251'|
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-04-29 17:35:56,052 732 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-04-29 17:35:56,069 732 [INFO ] - Installing the following packages:
2020-04-29 17:35:56,069 732 [INFO ] - jre8
2020-04-29 17:35:56,083 732 [INFO ] - By installing you accept licenses for the packages.
2020-04-29 17:35:56,099 732 [DEBUG] - Current environment values (may contain sensitive data):
2020-04-29 17:35:56,099 732 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-04-29 17:35:56,114 732 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-04-29 17:35:56,114 732 [DEBUG] - * 'ChocolateyLastPathUpdate'='132326539940962648' ('User')
2020-04-29 17:35:56,114 732 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-04-29 17:35:56,114 732 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-04-29 17:35:56,130 732 [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-04-29 17:35:56,130 732 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-04-29 17:35:56,130 732 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-04-29 17:35:56,130 732 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-04-29 17:35:56,146 732 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-04-29 17:35:56,146 732 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-04-29 17:35:56,146 732 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-04-29 17:35:56,146 732 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-04-29 17:35:56,161 732 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-04-29 17:35:56,161 732 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2020-04-29 17:35:56,161 732 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2020-04-29 17:35:56,161 732 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2020-04-29 17:35:56,177 732 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2020-04-29 17:35:56,177 732 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-04-29 17:35:56,177 732 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-04-29 17:35:59,817 732 [INFO ] - [NuGet] Installing 'jre8 8.0.251'.
2020-04-29 17:35:59,849 732 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'jre8\tools'.
2020-04-29 17:35:59,849 732 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'jre8\tools'.
2020-04-29 17:35:59,866 732 [DEBUG] - [NuGet] Added file 'jre8.nupkg' to folder 'jre8'.
2020-04-29 17:36:00,411 732 [DEBUG] - [NuGet] Added file 'jre8.nuspec' to folder 'jre8'.
2020-04-29 17:36:00,411 732 [INFO ] - [NuGet] Successfully installed 'jre8 8.0.251'.
2020-04-29 17:36:00,427 732 [INFO ] -
jre8 v8.0.251 (forced)
2020-04-29 17:36:00,474 732 [INFO ] - jre8 package files install completed. Performing other installation steps.
2020-04-29 17:36:00,692 732 [DEBUG] - Setting installer args for jre8
2020-04-29 17:36:00,708 732 [DEBUG] - Setting package parameters for jre8
2020-04-29 17:36:00,708 732 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1':
2020-04-29 17:36:00,739 732 [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"]
}
} 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=242058_3d5a2bb8f8d4428bbe94aed7ec7ae784'
$checksum32 = 'E1B646C9483352F5FD74D78579B38D4136ECFCFE3E32B8426C70D84D6647463F'
$url64 = 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242060_3d5a2bb8f8d4428bbe94aed7ec7ae784'
$checksum64 = '26CB9474A8F8F80398054B29515602E48BD3088D167452F525EBB616882B2DC2'
$oldVersion = '8.0.2410.7'
$version = '8.0.2510.8'
#--------------------------------------------------------------------------
$homepath = $version -replace "(\d+\.\d+)\.(\d\d)(.*)",'jre1.$1_$2'
$installerType = 'exe'
$installArgs = "/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 $32dir"
$installArgs64 = "/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 $64dir"
$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"
#Install-ChocolateyPackage $packageName $installerType $installArgs -url "$env:temp\chocolatey\$packagename\$version\JRE8x86.exe" -checksum $checksum32 -checksumtype 'sha256'
}
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 $installArgs -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)
}
} catch {
#Write-ChocolateyFailure $packageName $($_.Exception.Message)
throw
}
2020-04-29 17:36:01,005 732 [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-04-29 17:36:01,021 732 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-04-29 17:36:02,302 732 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-04-29 17:36:02,725 732 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-04-29 17:36:02,739 732 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-04-29 17:36:02,739 732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-04-29 17:36:02,739 732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-04-29 17:36:02,739 732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-04-29 17:36:02,755 732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-04-29 17:36:02,755 732 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-04-29 17:36:02,755 732 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-04-29 17:36:02,755 732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-04-29 17:36:02,771 732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-04-29 17:36:02,771 732 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-04-29 17:36:02,771 732 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-04-29 17:36:02,786 732 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-04-29 17:36:02,786 732 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-04-29 17:36:02,786 732 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-04-29 17:36:02,786 732 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-04-29 17:36:02,849 732 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-04-29 17:36:02,864 732 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-04-29 17:36:02,864 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-04-29 17:36:02,864 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-04-29 17:36:02,880 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-04-29 17:36:02,880 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-04-29 17:36:02,880 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-04-29 17:36:02,896 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-04-29 17:36:02,896 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-04-29 17:36:02,896 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-04-29 17:36:02,896 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-04-29 17:36:02,911 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-04-29 17:36:02,911 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-04-29 17:36:02,911 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-04-29 17:36:02,911 732 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-04-29 17:36:02,927 732 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-04-29 17:36:02,927 732 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-04-29 17:36:02,927 732 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-04-29 17:36:02,942 732 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-04-29 17:36:02,942 732 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-04-29 17:36:02,942 732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-04-29 17:36:02,942 732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-04-29 17:36:02,958 732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-04-29 17:36:02,958 732 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-04-29 17:36:02,958 732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-04-29 17:36:02,958 732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-04-29 17:36:02,974 732 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-04-29 17:36:02,974 732 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-04-29 17:36:02,974 732 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-04-29 17:36:02,989 732 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-04-29 17:36:02,989 732 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-04-29 17:36:02,989 732 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-04-29 17:36:02,989 732 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-04-29 17:36:03,005 732 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-04-29 17:36:03,005 732 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-04-29 17:36:03,005 732 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-04-29 17:36:03,021 732 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-04-29 17:36:03,052 732 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-04-29 17:36:03,052 732 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-04-29 17:36:03,067 732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-04-29 17:36:03,067 732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-04-29 17:36:03,067 732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-04-29 17:36:03,067 732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-04-29 17:36:03,083 732 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-04-29 17:36:03,083 732 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-04-29 17:36:03,083 732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-04-29 17:36:03,099 732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-04-29 17:36:03,099 732 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-04-29 17:36:03,099 732 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-04-29 17:36:03,099 732 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-04-29 17:36:03,114 732 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-04-29 17:36:03,114 732 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-04-29 17:36:03,114 732 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-04-29 17:36:03,114 732 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-04-29 17:36:03,130 732 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-04-29 17:36:03,130 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-04-29 17:36:03,130 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-04-29 17:36:03,146 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-04-29 17:36:03,146 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-04-29 17:36:03,146 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-04-29 17:36:03,146 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-04-29 17:36:03,161 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-04-29 17:36:03,161 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-04-29 17:36:03,161 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-04-29 17:36:03,177 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-04-29 17:36:03,177 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-04-29 17:36:03,177 732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-04-29 17:36:03,177 732 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-04-29 17:36:03,192 732 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-04-29 17:36:03,192 732 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-04-29 17:36:03,192 732 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-04-29 17:36:03,208 732 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-04-29 17:36:03,208 732 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-04-29 17:36:03,208 732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-04-29 17:36:03,208 732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-04-29 17:36:03,224 732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-04-29 17:36:03,224 732 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-04-29 17:36:03,224 732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-04-29 17:36:03,224 732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-04-29 17:36:03,239 732 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-04-29 17:36:03,317 732 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-04-29 17:36:03,317 732 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-04-29 17:36:03,317 732 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-04-29 17:36:03,317 732 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-04-29 17:36:03,333 732 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-04-29 17:36:03,333 732 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-04-29 17:36:03,333 732 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-04-29 17:36:03,397 732 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-04-29 17:36:03,397 732 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-04-29 17:36:03,397 732 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-04-29 17:36:03,411 732 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-04-29 17:36:03,411 732 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-04-29 17:36:03,411 732 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-04-29 17:36:03,427 732 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-04-29 17:36:03,427 732 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-04-29 17:36:03,427 732 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-04-29 17:36:03,427 732 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-04-29 17:36:03,442 732 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-04-29 17:36:03,442 732 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-04-29 17:36:03,442 732 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-04-29 17:36:03,458 732 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-04-29 17:36:03,458 732 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-04-29 17:36:03,458 732 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-04-29 17:36:03,458 732 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-04-29 17:36:03,474 732 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-04-29 17:36:03,474 732 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-04-29 17:36:03,474 732 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-04-29 17:36:03,489 732 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-04-29 17:36:03,489 732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-04-29 17:36:03,489 732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-04-29 17:36:03,489 732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-04-29 17:36:03,505 732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-04-29 17:36:03,505 732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-04-29 17:36:03,505 732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-04-29 17:36:03,505 732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-04-29 17:36:03,521 732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-04-29 17:36:03,521 732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-04-29 17:36:03,521 732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-04-29 17:36:03,536 732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-04-29 17:36:03,536 732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-04-29 17:36:03,536 732 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-04-29 17:36:03,536 732 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-04-29 17:36:03,552 732 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-04-29 17:36:03,552 732 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-04-29 17:36:03,552 732 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-04-29 17:36:03,552 732 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-04-29 17:36:03,567 732 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-04-29 17:36:03,567 732 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-04-29 17:36:03,599 732 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-04-29 17:36:03,599 732 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-04-29 17:36:03,599 732 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-04-29 17:36:03,614 732 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-04-29 17:36:03,614 732 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-04-29 17:36:03,614 732 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-04-29 17:36:03,630 732 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-04-29 17:36:03,630 732 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-04-29 17:36:03,630 732 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-04-29 17:36:03,630 732 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-04-29 17:36:03,646 732 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-04-29 17:36:03,646 732 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-04-29 17:36:03,646 732 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-04-29 17:36:03,646 732 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-04-29 17:36:03,661 732 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-04-29 17:36:03,864 732 [DEBUG] - ---------------------------Script Execution---------------------------
2020-04-29 17:36:03,896 732 [DEBUG] - Running 'ChocolateyScriptRunner' for jre8 v8.0.251 with packageScript 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\jre8', installArguments: '', packageParameters: '',
2020-04-29 17:36:03,928 732 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1'
2020-04-29 17:36:03,974 732 [DEBUG] - No Package Parameters Passed in
2020-04-29 17:36:04,068 732 [DEBUG] - Running Get-ProcessorBits
2020-04-29 17:36:04,130 732 [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-04-29 17:36:04,146 732 [INFO ] -
2020-04-29 17:36:04,146 732 [INFO ] - Checking to see if local install is already up to date...
2020-04-29 17:36:04,380 732 [INFO ] - Downloading 32-bit installer
2020-04-29 17:36:04,583 732 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'jre8' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe' -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242058_3d5a2bb8f8d4428bbe94aed7ec7ae784' -checksum 'E1B646C9483352F5FD74D78579B38D4136ECFCFE3E32B8426C70D84D6647463F' -checksumType 'SHA256'
2020-04-29 17:36:04,614 732 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-04-29 17:36:04,630 732 [DEBUG] - CPU is 64 bit
2020-04-29 17:36:04,755 732 [DEBUG] - Running Get-WebHeaders -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242058_3d5a2bb8f8d4428bbe94aed7ec7ae784' -ErrorAction 'Stop'
2020-04-29 17:36:04,942 732 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-04-29 17:36:04,958 732 [DEBUG] - Request Headers:
2020-04-29 17:36:04,989 732 [DEBUG] - 'Accept':'*/*'
2020-04-29 17:36:04,989 732 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-04-29 17:36:05,317 732 [DEBUG] - Response Headers:
2020-04-29 17:36:05,349 732 [DEBUG] - 'Pragma':'no-cache'
2020-04-29 17:36:05,349 732 [DEBUG] - 'Connection':'keep-alive'
2020-04-29 17:36:05,349 732 [DEBUG] - 'Accept-Ranges':'bytes'
2020-04-29 17:36:05,364 732 [DEBUG] - 'Content-Length':'68698760'
2020-04-29 17:36:05,364 732 [DEBUG] - 'Cache-Control':'max-age=0, no-cache'
2020-04-29 17:36:05,364 732 [DEBUG] - 'Content-Type':'application/x-sdlc'
2020-04-29 17:36:05,364 732 [DEBUG] - 'Date':'Wed, 29 Apr 2020 17:36:57 GMT'
2020-04-29 17:36:05,380 732 [DEBUG] - 'Expires':'Wed, 29 Apr 2020 17:36:57 GMT'
2020-04-29 17:36:05,380 732 [DEBUG] - 'ETag':'"d01f38dd7d404ff88436ce7ba7a6f66b:1584166508"'
2020-04-29 17:36:05,380 732 [DEBUG] - 'Last-Modified':'Thu, 12 Mar 2020 10:14:03 GMT'
2020-04-29 17:36:05,380 732 [DEBUG] - 'Server':'Apache'
2020-04-29 17:36:05,427 732 [INFO ] - Downloading jre8
from 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242058_3d5a2bb8f8d4428bbe94aed7ec7ae784'
2020-04-29 17:36:05,427 732 [INFO ] -
2020-04-29 17:36:05,489 732 [DEBUG] - Running Get-WebFile -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242058_3d5a2bb8f8d4428bbe94aed7ec7ae784' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe' -options 'System.Collections.Hashtable'
2020-04-29 17:36:05,521 732 [DEBUG] - Setting request timeout to 30000
2020-04-29 17:36:05,536 732 [DEBUG] - Setting read/write timeout to 2700000
2020-04-29 17:36:05,536 732 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-04-29 17:36:06,083 732 [DEBUG] - Downloading https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242058_3d5a2bb8f8d4428bbe94aed7ec7ae784 to C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe
2020-04-29 17:36:13,974 732 [INFO ] -
2020-04-29 17:36:13,989 732 [INFO ] - Download of JRE8x86.exe (65.52 MB) completed.
2020-04-29 17:36:13,989 732 [INFO ] -
2020-04-29 17:36:17,036 732 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-04-29 17:36:17,052 732 [DEBUG] - Verifying package provided checksum of 'E1B646C9483352F5FD74D78579B38D4136ECFCFE3E32B8426C70D84D6647463F' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe'.
2020-04-29 17:36:17,067 732 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe' -checksum 'E1B646C9483352F5FD74D78579B38D4136ECFCFE3E32B8426C70D84D6647463F' -checksumType 'SHA256' -originalUrl 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242058_3d5a2bb8f8d4428bbe94aed7ec7ae784'
2020-04-29 17:36:17,099 732 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-04-29 17:36:17,114 732 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="E1B646C9483352F5FD74D78579B38D4136ECFCFE3E32B8426C70D84D6647463F" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe"]
2020-04-29 17:36:18,788 732 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="E1B646C9483352F5FD74D78579B38D4136ECFCFE3E32B8426C70D84D6647463F" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe"] exited with '0'.
2020-04-29 17:36:18,788 732 [INFO ] - C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe
2020-04-29 17:36:18,788 732 [INFO ] - Installing JRE 8.0.2510.8 32-bit
2020-04-29 17:36:18,896 732 [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.2510.8\JRE8x86.exe'
2020-04-29 17:36:18,896 732 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-04-29 17:36:18,911 732 [INFO ] - Installing JRE8...
2020-04-29 17:36:18,911 732 [INFO ] -
2020-04-29 17:36:19,115 732 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8' -statements '/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ' -exeToRun 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe'
2020-04-29 17:36:19,115 732 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-04-29 17:36:19,208 732 [DEBUG] - Test-ProcessAdminRights: returning True
2020-04-29 17:36:19,239 732 [DEBUG] - Elevating permissions and running ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ]. This may take a while, depending on the statements.
2020-04-29 17:38:15,739 732 [DEBUG] - Command ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ] exited with '0'.
2020-04-29 17:38:15,786 732 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-04-29 17:38:15,802 732 [INFO ] - JRE8 has been installed.
2020-04-29 17:38:15,802 732 [INFO ] -
2020-04-29 17:38:15,802 732 [INFO ] - Downloading 64-bit installer
2020-04-29 17:38:15,817 732 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'jre8' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe' -url64bit 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242060_3d5a2bb8f8d4428bbe94aed7ec7ae784' -checksum64 '26CB9474A8F8F80398054B29515602E48BD3088D167452F525EBB616882B2DC2' -checksumType 'SHA256'
2020-04-29 17:38:15,817 732 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-04-29 17:38:15,833 732 [DEBUG] - CPU is 64 bit
2020-04-29 17:38:15,833 732 [DEBUG] - Setting url to 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242060_3d5a2bb8f8d4428bbe94aed7ec7ae784' and bitPackage to 64
2020-04-29 17:38:15,865 732 [DEBUG] - Running Get-WebHeaders -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242060_3d5a2bb8f8d4428bbe94aed7ec7ae784' -ErrorAction 'Stop'
2020-04-29 17:38:15,927 732 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-04-29 17:38:15,927 732 [DEBUG] - Request Headers:
2020-04-29 17:38:15,942 732 [DEBUG] - 'Accept':'*/*'
2020-04-29 17:38:15,942 732 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-04-29 17:38:16,114 732 [DEBUG] - Response Headers:
2020-04-29 17:38:16,114 732 [DEBUG] - 'Pragma':'no-cache'
2020-04-29 17:38:16,130 732 [DEBUG] - 'Connection':'keep-alive'
2020-04-29 17:38:16,130 732 [DEBUG] - 'Accept-Ranges':'bytes'
2020-04-29 17:38:16,130 732 [DEBUG] - 'Content-Length':'77308552'
2020-04-29 17:38:16,130 732 [DEBUG] - 'Cache-Control':'max-age=0, no-cache'
2020-04-29 17:38:16,146 732 [DEBUG] - 'Content-Type':'application/x-sdlc'
2020-04-29 17:38:16,146 732 [DEBUG] - 'Date':'Wed, 29 Apr 2020 17:39:08 GMT'
2020-04-29 17:38:16,146 732 [DEBUG] - 'Expires':'Wed, 29 Apr 2020 17:39:08 GMT'
2020-04-29 17:38:16,161 732 [DEBUG] - 'ETag':'"8b0446ec78ec65445e9917b04c562c29:1584166519"'
2020-04-29 17:38:16,161 732 [DEBUG] - 'Last-Modified':'Thu, 12 Mar 2020 09:35:40 GMT'
2020-04-29 17:38:16,161 732 [DEBUG] - 'Server':'Apache'
2020-04-29 17:38:16,177 732 [INFO ] - Downloading jre8 64 bit
from 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242060_3d5a2bb8f8d4428bbe94aed7ec7ae784'
2020-04-29 17:38:16,177 732 [INFO ] -
2020-04-29 17:38:16,177 732 [DEBUG] - Running Get-WebFile -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242060_3d5a2bb8f8d4428bbe94aed7ec7ae784' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe' -options 'System.Collections.Hashtable'
2020-04-29 17:38:16,192 732 [DEBUG] - Setting request timeout to 30000
2020-04-29 17:38:16,192 732 [DEBUG] - Setting read/write timeout to 2700000
2020-04-29 17:38:16,192 732 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-04-29 17:38:23,302 732 [INFO ] -
2020-04-29 17:38:23,302 732 [INFO ] - Download of JRE8x64.exe (73.73 MB) completed.
2020-04-29 17:38:23,317 732 [INFO ] -
2020-04-29 17:38:26,333 732 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-04-29 17:38:26,333 732 [DEBUG] - Verifying package provided checksum of '26CB9474A8F8F80398054B29515602E48BD3088D167452F525EBB616882B2DC2' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe'.
2020-04-29 17:38:26,333 732 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe' -checksum '26CB9474A8F8F80398054B29515602E48BD3088D167452F525EBB616882B2DC2' -checksumType 'SHA256' -originalUrl 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242060_3d5a2bb8f8d4428bbe94aed7ec7ae784'
2020-04-29 17:38:26,350 732 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-04-29 17:38:26,350 732 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="26CB9474A8F8F80398054B29515602E48BD3088D167452F525EBB616882B2DC2" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe"]
2020-04-29 17:38:27,974 732 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="26CB9474A8F8F80398054B29515602E48BD3088D167452F525EBB616882B2DC2" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe"] exited with '0'.
2020-04-29 17:38:27,989 732 [INFO ] - C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe
2020-04-29 17:38:27,989 732 [INFO ] - Installing JRE 8.0.2510.8 64-bit
2020-04-29 17:38:27,989 732 [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.2510.8\JRE8x64.exe'
2020-04-29 17:38:28,005 732 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-04-29 17:38:28,005 732 [INFO ] - Installing 64-bit JRE8...
2020-04-29 17:38:28,005 732 [INFO ] -
2020-04-29 17:38:28,021 732 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8' -statements '/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ' -exeToRun 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe'
2020-04-29 17:38:28,021 732 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-04-29 17:38:28,036 732 [DEBUG] - Test-ProcessAdminRights: returning True
2020-04-29 17:38:28,036 732 [DEBUG] - Elevating permissions and running ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ]. This may take a while, depending on the statements.
2020-04-29 17:40:13,240 732 [DEBUG] - Command ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ] exited with '0'.
2020-04-29 17:40:13,255 732 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-04-29 17:40:13,255 732 [INFO ] - JRE8 has been installed.
2020-04-29 17:40:13,271 732 [INFO ] -
2020-04-29 17:40:13,271 732 [INFO ] - Searching if the previous version exists...
2020-04-29 17:40:13,442 732 [DEBUG] - ----------------------------------------------------------------------
2020-04-29 17:40:13,521 732 [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-04-29 17:40:13,536 732 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-04-29 17:40:13,583 732 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-04-29 17:40:13,646 732 [INFO ] - jre8 may be able to be automatically uninstalled.
2020-04-29 17:40:13,677 732 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2020-04-29 17:40:13,693 732 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2020-04-29 17:40:13,693 732 [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-04-29 17:40:13,942 732 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\jre8'
2020-04-29 17:40:13,958 732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nupkg'
with checksum '8492F82C5250F90E674D6191DA571659'
2020-04-29 17:40:13,958 732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nuspec'
with checksum '0A3A28073182A702B935C0533CB0D0ED'
2020-04-29 17:40:13,958 732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1'
with checksum '0AA0AA5310FDB6406180ACBE9CEF4435'
2020-04-29 17:40:13,958 732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1'
with checksum 'BAC2773D507E3E5CAB58CFFC0541D099'
2020-04-29 17:40:14,099 732 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2020-04-29 17:40:14,130 732 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.251".
2020-04-29 17:40:14,208 732 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.251\.registry'
2020-04-29 17:40:14,239 732 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.251\.files'
2020-04-29 17:40:14,256 732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.251\.extra".
2020-04-29 17:40:14,256 732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.251\.version".
2020-04-29 17:40:14,256 732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.251\.sxs".
2020-04-29 17:40:14,271 732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.251\.pin".
2020-04-29 17:40:14,287 732 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-04-29 17:40:14,287 732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\jre8\.chocolateyPending".
2020-04-29 17:40:14,302 732 [INFO ] - The install of jre8 was successful.
2020-04-29 17:40:14,318 732 [INFO ] - Software installed to 'C:\Program Files\Java\jre1.8.0_251\'
2020-04-29 17:40:14,318 732 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\jre8.8.0.251.nupkg".
2020-04-29 17:40:14,396 732 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-04-29 17:40:14,396 732 [WARN ] -
Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
https://chocolatey.org/compare
2020-04-29 17:40:14,396 732 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-04-29 17:40:14,459 732 [DEBUG] - Exiting with 0
2020-04-29 17:40:57,396 3004 [DEBUG] - XmlConfiguration is now operational
2020-04-29 17:40:57,631 3004 [INFO ] - ============================================================
2020-04-29 17:40:58,442 3004 [INFO ] - Chocolatey v0.10.15
2020-04-29 17:40:58,489 3004 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-04-29 17:40:58,505 3004 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-04-29 17:40:58,505 3004 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-04-29 17:40:58,536 3004 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall jre8 --version 8.0.251 -dvy --execution-timeout=2700
2020-04-29 17:40:58,536 3004 [DEBUG] - Received arguments: uninstall jre8 --version 8.0.251 -dvy --execution-timeout=2700
2020-04-29 17:40:58,692 3004 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-04-29 17:40:58,724 3004 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-04-29 17:40:58,755 3004 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-04-29 17:40:58,942 3004 [DEBUG] - Performing validation checks.
2020-04-29 17:40:58,974 3004 [DEBUG] - Global Configuration Validation Checks:
2020-04-29 17:40:58,974 3004 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-04-29 17:40:58,974 3004 [DEBUG] - System State Validation Checks:
2020-04-29 17:40:58,989 3004 [DEBUG] - Reboot Requirement Checks:
2020-04-29 17:40:59,005 3004 [DEBUG] - - Pending Computer Rename = Checked
2020-04-29 17:40:59,021 3004 [DEBUG] - - Pending Component Based Servicing = Checked
2020-04-29 17:40:59,021 3004 [DEBUG] - - Pending Windows Auto Update = Checked
2020-04-29 17:40:59,021 3004 [DEBUG] - - Pending File Rename Operations = Checked
2020-04-29 17:40:59,036 3004 [DEBUG] - - Pending Windows Package Installer = Checked
2020-04-29 17:40:59,036 3004 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-04-29 17:40:59,052 3004 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-04-29 17:40:59,067 3004 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-04-29 17:40:59,083 3004 [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-04-29 17:40:59,146 3004 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='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.251'|
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-04-29 17:40:59,146 3004 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2020-04-29 17:40:59,177 3004 [INFO ] - Uninstalling the following packages:
2020-04-29 17:40:59,177 3004 [INFO ] - jre8
2020-04-29 17:40:59,192 3004 [DEBUG] - Current environment values (may contain sensitive data):
2020-04-29 17:40:59,208 3004 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-04-29 17:40:59,208 3004 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-04-29 17:40:59,208 3004 [DEBUG] - * 'ChocolateyLastPathUpdate'='132326539940962648' ('User')
2020-04-29 17:40:59,224 3004 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-04-29 17:40:59,224 3004 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-04-29 17:40:59,224 3004 [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-04-29 17:40:59,224 3004 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-04-29 17:40:59,239 3004 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-04-29 17:40:59,239 3004 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-04-29 17:40:59,239 3004 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-04-29 17:40:59,239 3004 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-04-29 17:40:59,255 3004 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-04-29 17:40:59,255 3004 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-04-29 17:40:59,255 3004 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-04-29 17:40:59,255 3004 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2020-04-29 17:40:59,255 3004 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2020-04-29 17:40:59,271 3004 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2020-04-29 17:40:59,271 3004 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2020-04-29 17:40:59,271 3004 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-04-29 17:40:59,271 3004 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-04-29 17:40:59,536 3004 [DEBUG] - Running list with the following filter = ''
2020-04-29 17:40:59,536 3004 [DEBUG] - --- Start of List ---
2020-04-29 17:41:00,114 3004 [DEBUG] - jre8 8.0.251
2020-04-29 17:41:00,130 3004 [DEBUG] - --- End of List ---
2020-04-29 17:41:00,458 3004 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2020-04-29 17:41:00,458 3004 [DEBUG] - Backing up existing jre8 prior to operation.
2020-04-29 17:41:00,474 3004 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\jre8'
to 'C:\ProgramData\chocolatey\lib-bkp\jre8'
2020-04-29 17:41:02,505 3004 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\jre8".
2020-04-29 17:41:02,505 3004 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\jre8\jre8.nupkg"
to "C:\ProgramData\chocolatey\lib\jre8\jre8.nupkg".
2020-04-29 17:41:02,521 3004 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\jre8\jre8.nuspec"
to "C:\ProgramData\chocolatey\lib\jre8\jre8.nuspec".
2020-04-29 17:41:02,521 3004 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\jre8\tools".
2020-04-29 17:41:02,521 3004 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\jre8\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1".
2020-04-29 17:41:02,536 3004 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\jre8\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1".
2020-04-29 17:41:04,067 3004 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\jre8'
2020-04-29 17:41:04,083 3004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nupkg'
with checksum '8492F82C5250F90E674D6191DA571659'
2020-04-29 17:41:04,083 3004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nuspec'
with checksum '0A3A28073182A702B935C0533CB0D0ED'
2020-04-29 17:41:04,083 3004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1'
with checksum '0AA0AA5310FDB6406180ACBE9CEF4435'
2020-04-29 17:41:04,099 3004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1'
with checksum 'BAC2773D507E3E5CAB58CFFC0541D099'
2020-04-29 17:41:04,380 3004 [INFO ] - [NuGet] Uninstalling 'jre8 8.0.251'.
2020-04-29 17:41:04,396 3004 [INFO ] -
jre8 v8.0.251
2020-04-29 17:41:04,505 3004 [DEBUG] - Setting installer args for jre8
2020-04-29 17:41:04,505 3004 [DEBUG] - Setting package parameters for jre8
2020-04-29 17:41:04,505 3004 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1':
2020-04-29 17:41:04,552 3004 [DEBUG] - Write-Debug ("Starting " + $MyInvocation.MyCommand.Definition)
$scriptDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
[string]$packageName="JRE8"
$version = '8.0.2510.8'
#$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-04-29 17:41:04,630 3004 [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-04-29 17:41:04,630 3004 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-04-29 17:41:05,239 3004 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-04-29 17:41:05,583 3004 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-04-29 17:41:05,583 3004 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-04-29 17:41:05,583 3004 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-04-29 17:41:05,583 3004 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-04-29 17:41:05,599 3004 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-04-29 17:41:05,599 3004 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-04-29 17:41:05,599 3004 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-04-29 17:41:05,599 3004 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-04-29 17:41:05,614 3004 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-04-29 17:41:05,630 3004 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-04-29 17:41:05,630 3004 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-04-29 17:41:05,630 3004 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-04-29 17:41:05,630 3004 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-04-29 17:41:05,646 3004 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-04-29 17:41:05,646 3004 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-04-29 17:41:05,646 3004 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-04-29 17:41:05,661 3004 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-04-29 17:41:05,661 3004 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-04-29 17:41:05,661 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-04-29 17:41:05,661 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-04-29 17:41:05,677 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-04-29 17:41:05,677 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-04-29 17:41:05,677 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-04-29 17:41:05,692 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-04-29 17:41:05,692 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-04-29 17:41:05,692 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-04-29 17:41:05,692 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-04-29 17:41:05,708 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-04-29 17:41:05,708 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-04-29 17:41:05,708 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-04-29 17:41:05,708 3004 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-04-29 17:41:05,724 3004 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-04-29 17:41:05,724 3004 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-04-29 17:41:05,724 3004 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-04-29 17:41:05,739 3004 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-04-29 17:41:05,739 3004 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-04-29 17:41:05,739 3004 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-04-29 17:41:05,739 3004 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-04-29 17:41:05,755 3004 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-04-29 17:41:05,755 3004 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-04-29 17:41:05,755 3004 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-04-29 17:41:05,771 3004 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-04-29 17:41:05,771 3004 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-04-29 17:41:05,771 3004 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-04-29 17:41:05,771 3004 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-04-29 17:41:05,786 3004 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-04-29 17:41:05,786 3004 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-04-29 17:41:05,786 3004 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-04-29 17:41:05,802 3004 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-04-29 17:41:05,802 3004 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-04-29 17:41:05,802 3004 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-04-29 17:41:05,802 3004 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-04-29 17:41:05,817 3004 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-04-29 17:41:05,849 3004 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-04-29 17:41:05,849 3004 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-04-29 17:41:05,864 3004 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-04-29 17:41:05,864 3004 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-04-29 17:41:05,864 3004 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-04-29 17:41:05,880 3004 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-04-29 17:41:05,880 3004 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-04-29 17:41:05,880 3004 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-04-29 17:41:05,896 3004 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-04-29 17:41:05,896 3004 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-04-29 17:41:05,896 3004 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-04-29 17:41:05,896 3004 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-04-29 17:41:05,911 3004 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-04-29 17:41:05,911 3004 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-04-29 17:41:05,911 3004 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-04-29 17:41:05,927 3004 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-04-29 17:41:05,927 3004 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-04-29 17:41:05,927 3004 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-04-29 17:41:05,942 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-04-29 17:41:05,942 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-04-29 17:41:05,942 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-04-29 17:41:05,942 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-04-29 17:41:05,958 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-04-29 17:41:05,958 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-04-29 17:41:05,958 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-04-29 17:41:05,958 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-04-29 17:41:05,974 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-04-29 17:41:05,974 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-04-29 17:41:05,974 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-04-29 17:41:05,989 3004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-04-29 17:41:05,989 3004 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-04-29 17:41:05,989 3004 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-04-29 17:41:05,989 3004 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-04-29 17:41:06,005 3004 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-04-29 17:41:06,005 3004 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-04-29 17:41:06,005 3004 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-04-29 17:41:06,005 3004 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-04-29 17:41:06,021 3004 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-04-29 17:41:06,021 3004 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-04-29 17:41:06,021 3004 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-04-29 17:41:06,036 3004 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-04-29 17:41:06,036 3004 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-04-29 17:41:06,036 3004 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-04-29 17:41:06,036 3004 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-04-29 17:41:06,052 3004 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-04-29 17:41:06,052 3004 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-04-29 17:41:06,052 3004 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-04-29 17:41:06,067 3004 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-04-29 17:41:06,067 3004 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-04-29 17:41:06,067 3004 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-04-29 17:41:06,067 3004 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-04-29 17:41:06,083 3004 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-04-29 17:41:06,083 3004 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-04-29 17:41:06,083 3004 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-04-29 17:41:06,099 3004 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-04-29 17:41:06,099 3004 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-04-29 17:41:06,099 3004 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-04-29 17:41:06,114 3004 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-04-29 17:41:06,114 3004 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-04-29 17:41:06,114 3004 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-04-29 17:41:06,114 3004 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-04-29 17:41:06,130 3004 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-04-29 17:41:06,130 3004 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-04-29 17:41:06,130 3004 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-04-29 17:41:06,130 3004 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-04-29 17:41:06,146 3004 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-04-29 17:41:06,146 3004 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-04-29 17:41:06,146 3004 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-04-29 17:41:06,161 3004 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-04-29 17:41:06,161 3004 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-04-29 17:41:06,161 3004 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-04-29 17:41:06,161 3004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-04-29 17:41:06,177 3004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-04-29 17:41:06,177 3004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-04-29 17:41:06,177 3004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-04-29 17:41:06,177 3004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-04-29 17:41:06,193 3004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-04-29 17:41:06,193 3004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-04-29 17:41:06,193 3004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-04-29 17:41:06,193 3004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-04-29 17:41:06,208 3004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-04-29 17:41:06,208 3004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-04-29 17:41:06,208 3004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-04-29 17:41:06,224 3004 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-04-29 17:41:06,224 3004 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-04-29 17:41:06,224 3004 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-04-29 17:41:06,224 3004 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-04-29 17:41:06,239 3004 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-04-29 17:41:06,239 3004 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-04-29 17:41:06,239 3004 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-04-29 17:41:06,239 3004 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-04-29 17:41:06,255 3004 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-04-29 17:41:06,255 3004 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-04-29 17:41:06,255 3004 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-04-29 17:41:06,255 3004 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-04-29 17:41:06,271 3004 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-04-29 17:41:06,271 3004 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-04-29 17:41:06,271 3004 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-04-29 17:41:06,286 3004 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-04-29 17:41:06,286 3004 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-04-29 17:41:06,286 3004 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-04-29 17:41:06,286 3004 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-04-29 17:41:06,614 3004 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-04-29 17:41:06,614 3004 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-04-29 17:41:06,614 3004 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-04-29 17:41:06,630 3004 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-04-29 17:41:06,739 3004 [DEBUG] - ---------------------------Script Execution---------------------------
2020-04-29 17:41:06,771 3004 [DEBUG] - Running 'ChocolateyScriptRunner' for jre8 v8.0.251 with packageScript 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\jre8', installArguments: '', packageParameters: '',
2020-04-29 17:41:06,802 3004 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1'
2020-04-29 17:41:06,834 3004 [DEBUG] - Starting C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1
2020-04-29 17:41:07,083 3004 [DEBUG] - Running Get-ProcessorBits
2020-04-29 17:41:07,146 3004 [WARN ] - WARNING: Uninstalling JRE version 8.0.2510.8 32bit
2020-04-29 17:41:07,380 3004 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -exeToRun 'msiexec.exe' -validExitCodes '0 1605 3010' -statements '/qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F32180251F0}'
2020-04-29 17:41:07,380 3004 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-04-29 17:41:07,474 3004 [DEBUG] - Test-ProcessAdminRights: returning True
2020-04-29 17:41:07,521 3004 [DEBUG] - Elevating permissions and running ["msiexec.exe" /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F32180251F0}]. This may take a while, depending on the statements.
2020-04-29 17:41:12,756 3004 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F32180251F0}] exited with '0'.
2020-04-29 17:41:12,817 3004 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-04-29 17:41:12,817 3004 [INFO ] - 0
2020-04-29 17:41:12,833 3004 [WARN ] - WARNING: Uninstalling JRE version 8.0.2510.8 64 bit
2020-04-29 17:41:12,849 3004 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -exeToRun 'msiexec.exe' -validExitCodes '0 1605 3010' -statements '/qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F64180251F0}'
2020-04-29 17:41:12,849 3004 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-04-29 17:41:12,849 3004 [DEBUG] - Test-ProcessAdminRights: returning True
2020-04-29 17:41:12,864 3004 [DEBUG] - Elevating permissions and running ["msiexec.exe" /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F64180251F0}]. This may take a while, depending on the statements.
2020-04-29 17:41:16,677 3004 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F64180251F0}] exited with '0'.
2020-04-29 17:41:16,693 3004 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-04-29 17:41:16,693 3004 [INFO ] - 0
2020-04-29 17:41:16,693 3004 [WARN ] - WARNING: JRE8 may require a reboot to complete the uninstallation.
2020-04-29 17:41:16,771 3004 [DEBUG] - ----------------------------------------------------------------------
2020-04-29 17:41:16,802 3004 [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-04-29 17:41:16,849 3004 [INFO ] - Running auto uninstaller...
2020-04-29 17:41:16,849 3004 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2020-04-29 17:41:18,927 3004 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180251F0}' for 'Java 8 Update 251 (64-bit)'
2020-04-29 17:41:18,927 3004 [INFO ] - Skipping auto uninstaller - 'Java 8 Update 251 (64-bit)' appears to have been uninstalled already by other means.
2020-04-29 17:41:18,943 3004 [DEBUG] - Searched for install path 'C:\Program Files\Java\jre1.8.0_251\' - found? False
2020-04-29 17:41:19,036 3004 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F64180251F0}' value 'InstallLocation' - found? False
2020-04-29 17:41:19,036 3004 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180251F0}' for 'Java 8 Update 251'
2020-04-29 17:41:19,036 3004 [INFO ] - Skipping auto uninstaller - 'Java 8 Update 251' appears to have been uninstalled already by other means.
2020-04-29 17:41:19,036 3004 [DEBUG] - Searched for install path 'C:\Program Files (x86)\Java\jre1.8.0_251\' - found? False
2020-04-29 17:41:19,053 3004 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F32180251F0}' value 'InstallLocation' - found? False
2020-04-29 17:41:19,053 3004 [INFO ] - Skipping auto uninstaller - 'Java Auto Updater' does not have an uninstall string.
2020-04-29 17:41:19,067 3004 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-04-29 17:41:19,114 3004 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-04-29 17:41:19,130 3004 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\jre8".
2020-04-29 17:41:19,224 3004 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\jre8\tools'.
2020-04-29 17:41:19,224 3004 [DEBUG] - [NuGet] Removed file 'chocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\jre8\tools'.
2020-04-29 17:41:19,239 3004 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\jre8\tools'.
2020-04-29 17:41:19,255 3004 [DEBUG] - [NuGet] Removed file 'jre8.nuspec' to folder 'C:\ProgramData\chocolatey\lib\jre8'.
2020-04-29 17:41:19,255 3004 [DEBUG] - [NuGet] Removed file 'jre8.nupkg' to folder 'C:\ProgramData\chocolatey\lib\jre8'.
2020-04-29 17:41:19,271 3004 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\jre8'.
2020-04-29 17:41:19,271 3004 [INFO ] - [NuGet] Successfully uninstalled 'jre8 8.0.251'.
2020-04-29 17:41:19,286 3004 [INFO ] - jre8 has been successfully uninstalled.
2020-04-29 17:41:19,302 3004 [DEBUG] - Removing nupkg if it still exists.
2020-04-29 17:41:19,317 3004 [DEBUG] - Ensuring removal of installation files.
2020-04-29 17:41:19,317 3004 [DEBUG] - Ensuring removal of package cache files.
2020-04-29 17:41:19,349 3004 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2020-04-29 17:41:19,364 3004 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2020-04-29 17:41:19,364 3004 [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-04-29 17:41:19,411 3004 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-04-29 17:41:19,411 3004 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-04-29 17:41:19,458 3004 [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.