Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
kafka v1.1.0 - Failed - Package Tests Results

kafka v1.1.0 - Failed - Package Test Results

  • https://chocolatey.org/packages/kafka/1.1.0
  • Tested 28 Jan 2020 14:22:30 +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 failed. Note that the process may have hung, indicating a not completely silent install. This is usually seen when the last entry in the log is calling the install. This can also happen when a window pops up and needs to be closed to continue.
<?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\kafka\kafka.nupkg" checksum="CFE884BBE9A269D200BEC42F21A02D63" />
<file path="C:\ProgramData\chocolatey\lib\kafka\kafka.nuspec" checksum="36B065719A010D58EB660233861D5380" />
<file path="C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyinstall.ps1" checksum="3405DC93A5B2E0521358651FA6F07FF1" />
<file path="C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyuninstall.ps1" checksum="CC46D08329F70B3EAF2404056DCE3C68" />
</files>
</fileSnapshot>
2020-01-28 14:21:00,526 1720 [DEBUG] - XmlConfiguration is now operational
2020-01-28 14:21:00,776 1720 [INFO ] - ============================================================
2020-01-28 14:21:01,604 1720 [INFO ] - Chocolatey v0.10.15
2020-01-28 14:21:01,652 1720 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-01-28 14:21:01,667 1720 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-01-28 14:21:01,667 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-01-28 14:21:01,699 1720 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install kafka --version 1.1.0 -fdvy --execution-timeout=2700 --allow-downgrade
2020-01-28 14:21:01,699 1720 [DEBUG] - Received arguments: install kafka --version 1.1.0 -fdvy --execution-timeout=2700 --allow-downgrade
2020-01-28 14:21:01,885 1720 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-01-28 14:21:01,917 1720 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-01-28 14:21:01,948 1720 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-01-28 14:21:02,152 1720 [DEBUG] - Performing validation checks.
2020-01-28 14:21:02,167 1720 [DEBUG] - Global Configuration Validation Checks:
2020-01-28 14:21:02,182 1720 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-01-28 14:21:02,182 1720 [DEBUG] - System State Validation Checks:
2020-01-28 14:21:02,198 1720 [DEBUG] - Reboot Requirement Checks:
2020-01-28 14:21:02,214 1720 [DEBUG] - - Pending Computer Rename = Checked
2020-01-28 14:21:02,229 1720 [DEBUG] - - Pending Component Based Servicing = Checked
2020-01-28 14:21:02,229 1720 [DEBUG] - - Pending Windows Auto Update = Checked
2020-01-28 14:21:02,229 1720 [DEBUG] - - Pending File Rename Operations = Checked
2020-01-28 14:21:02,245 1720 [DEBUG] - - Pending Windows Package Installer = Checked
2020-01-28 14:21:02,245 1720 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-01-28 14:21:02,260 1720 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-01-28 14:21:02,276 1720 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-01-28 14:21:02,292 1720 [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-01-28 14:21:02,354 1720 [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='kafka'|Version='1.1.0'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='kafka'|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-01-28 14:21:02,417 1720 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-01-28 14:21:02,432 1720 [INFO ] - Installing the following packages:
2020-01-28 14:21:02,448 1720 [INFO ] - kafka
2020-01-28 14:21:02,448 1720 [INFO ] - By installing you accept licenses for the packages.
2020-01-28 14:21:02,479 1720 [DEBUG] - Current environment values (may contain sensitive data):
2020-01-28 14:21:02,479 1720 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-01-28 14:21:02,479 1720 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-01-28 14:21:02,479 1720 [DEBUG] - * 'ChocolateyLastPathUpdate'='132246776149879439' ('User')
2020-01-28 14:21:02,495 1720 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-01-28 14:21:02,495 1720 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-01-28 14:21:02,495 1720 [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-01-28 14:21:02,495 1720 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-01-28 14:21:02,510 1720 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-01-28 14:21:02,510 1720 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-01-28 14:21:02,510 1720 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-01-28 14:21:02,510 1720 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-01-28 14:21:02,510 1720 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-01-28 14:21:02,526 1720 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-01-28 14:21:02,526 1720 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-01-28 14:21:02,526 1720 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2020-01-28 14:21:02,526 1720 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2020-01-28 14:21:02,542 1720 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2020-01-28 14:21:02,542 1720 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2020-01-28 14:21:02,542 1720 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-01-28 14:21:02,542 1720 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-01-28 14:21:10,573 1720 [INFO ] - [NuGet] Attempting to resolve dependency 'nssm (= 2.24.0.20161223)'.
2020-01-28 14:21:15,370 1720 [INFO ] - [NuGet] Attempting to resolve dependency 'server-jre (= 8.0.0)'.
2020-01-28 14:21:16,917 1720 [INFO ] - [NuGet] Attempting to resolve dependency 'server-jre8 (= 8.0.192)'.
2020-01-28 14:21:20,542 1720 [INFO ] - [NuGet] Installing 'NSSM 2.24.101.20180116'.
2020-01-28 14:21:20,557 1720 [DEBUG] - [NuGet] Added file 'License.txt' to folder 'NSSM\legal'.
2020-01-28 14:21:20,589 1720 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'NSSM\legal'.
2020-01-28 14:21:20,604 1720 [DEBUG] - [NuGet] Added file 'chocolateyBeforeModify.ps1' to folder 'NSSM\tools'.
2020-01-28 14:21:20,604 1720 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'NSSM\tools'.
2020-01-28 14:21:20,604 1720 [DEBUG] - [NuGet] Added file 'nssm-2.24-101-g897c7ad.zip' to folder 'NSSM\tools'.
2020-01-28 14:21:20,621 1720 [DEBUG] - [NuGet] Added file 'NSSM.nupkg' to folder 'NSSM'.
2020-01-28 14:21:21,010 1720 [DEBUG] - [NuGet] Added file 'NSSM.nuspec' to folder 'NSSM'.
2020-01-28 14:21:21,026 1720 [INFO ] - [NuGet] Successfully installed 'NSSM 2.24.101.20180116'.
2020-01-28 14:21:21,026 1720 [INFO ] -
NSSM v2.24.101.20180116 (forced) [Approved]
2020-01-28 14:21:21,090 1720 [INFO ] - nssm package files install completed. Performing other installation steps.
2020-01-28 14:21:21,276 1720 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1':
2020-01-28 14:21:21,323 1720 [DEBUG] - $ErrorActionPreference = 'Stop'
$toolsDir = Split-Path $MyInvocation.MyCommand.Definition
if ((Get-OSArchitectureWidth 64) -and $env:chocolateyForceX86 -ne 'true') {
Write-Host "Installing 64 bit version"; $is64 = $true
} else { Write-Host "Installing 32 bit version"}
$packageArgs = @{
PackageName = 'nssm'
FileFullPath = Get-Item $toolsDir\*.zip
Destination = $toolsDir
}
Get-ChildItem $toolsDir\* | Where-Object { $_.PSISContainer } | Remove-Item -Recurse -Force #remove older package dirs
Get-ChocolateyUnzip @packageArgs
$source = if ($is64) { 'win64' } else { 'win32' }
Copy-Item $toolsDir\nssm-*\$source\nssm.exe $toolsDir
Remove-Item -Force $toolsDir\nssm*.zip -ea 0
Remove-Item -Recurse $toolsDir\nssm-*
2020-01-28 14:21:22,745 1720 [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\NSSM\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-01-28 14:21:22,760 1720 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-01-28 14:21:26,620 1720 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-01-28 14:21:27,073 1720 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-01-28 14:21:27,073 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-01-28 14:21:27,073 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-01-28 14:21:27,089 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-01-28 14:21:27,089 1720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-01-28 14:21:27,089 1720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-01-28 14:21:27,089 1720 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-01-28 14:21:27,104 1720 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-01-28 14:21:27,104 1720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-01-28 14:21:27,104 1720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-01-28 14:21:27,120 1720 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-01-28 14:21:27,120 1720 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-01-28 14:21:27,120 1720 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-01-28 14:21:27,120 1720 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-01-28 14:21:27,135 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-01-28 14:21:27,135 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-01-28 14:21:27,135 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-01-28 14:21:27,151 1720 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-01-28 14:21:27,151 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-01-28 14:21:27,151 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-01-28 14:21:27,167 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-01-28 14:21:27,167 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-01-28 14:21:27,167 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-01-28 14:21:27,182 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-01-28 14:21:27,182 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-01-28 14:21:27,182 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-01-28 14:21:27,182 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-01-28 14:21:27,198 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-01-28 14:21:27,198 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-01-28 14:21:27,198 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-01-28 14:21:27,198 1720 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-01-28 14:21:27,214 1720 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-01-28 14:21:27,214 1720 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-01-28 14:21:27,214 1720 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-01-28 14:21:27,229 1720 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-01-28 14:21:27,229 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-01-28 14:21:27,229 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-01-28 14:21:27,229 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-01-28 14:21:27,245 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-01-28 14:21:27,245 1720 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-01-28 14:21:27,245 1720 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-01-28 14:21:27,245 1720 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-01-28 14:21:27,260 1720 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-01-28 14:21:27,260 1720 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-01-28 14:21:27,260 1720 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-01-28 14:21:27,276 1720 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-01-28 14:21:27,276 1720 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-01-28 14:21:27,276 1720 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-01-28 14:21:27,276 1720 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-01-28 14:21:27,292 1720 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-01-28 14:21:27,292 1720 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-01-28 14:21:27,292 1720 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-01-28 14:21:27,307 1720 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-01-28 14:21:27,339 1720 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-01-28 14:21:27,339 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-01-28 14:21:27,354 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-01-28 14:21:27,354 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-01-28 14:21:27,354 1720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-01-28 14:21:27,354 1720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-01-28 14:21:27,370 1720 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-01-28 14:21:27,370 1720 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-01-28 14:21:27,370 1720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-01-28 14:21:27,385 1720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-01-28 14:21:27,385 1720 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-01-28 14:21:27,385 1720 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-01-28 14:21:27,385 1720 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-01-28 14:21:27,401 1720 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-01-28 14:21:27,401 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-01-28 14:21:27,401 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-01-28 14:21:27,401 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-01-28 14:21:27,417 1720 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-01-28 14:21:27,417 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-01-28 14:21:27,417 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-01-28 14:21:27,432 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-01-28 14:21:27,432 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-01-28 14:21:27,432 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-01-28 14:21:27,432 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-01-28 14:21:27,448 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-01-28 14:21:27,448 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-01-28 14:21:27,448 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-01-28 14:21:27,448 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-01-28 14:21:27,464 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-01-28 14:21:27,464 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-01-28 14:21:27,464 1720 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-01-28 14:21:27,479 1720 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-01-28 14:21:27,479 1720 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-01-28 14:21:27,479 1720 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-01-28 14:21:27,479 1720 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-01-28 14:21:27,495 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-01-28 14:21:27,495 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-01-28 14:21:27,495 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-01-28 14:21:27,510 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-01-28 14:21:27,510 1720 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-01-28 14:21:27,510 1720 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-01-28 14:21:27,510 1720 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-01-28 14:21:27,526 1720 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-01-28 14:21:27,526 1720 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-01-28 14:21:27,526 1720 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-01-28 14:21:27,542 1720 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-01-28 14:21:27,542 1720 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-01-28 14:21:27,542 1720 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-01-28 14:21:27,557 1720 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-01-28 14:21:27,557 1720 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-01-28 14:21:27,557 1720 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-01-28 14:21:27,557 1720 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-01-28 14:21:27,573 1720 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-01-28 14:21:27,573 1720 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-01-28 14:21:27,573 1720 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-01-28 14:21:27,589 1720 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-01-28 14:21:27,589 1720 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-01-28 14:21:27,589 1720 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-01-28 14:21:27,589 1720 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-01-28 14:21:27,604 1720 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-01-28 14:21:27,604 1720 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-01-28 14:21:27,604 1720 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-01-28 14:21:27,620 1720 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-01-28 14:21:27,620 1720 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-01-28 14:21:27,620 1720 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-01-28 14:21:27,620 1720 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-01-28 14:21:27,635 1720 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-01-28 14:21:27,635 1720 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-01-28 14:21:27,635 1720 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-01-28 14:21:27,651 1720 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-01-28 14:21:27,651 1720 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-01-28 14:21:27,651 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-01-28 14:21:27,651 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-01-28 14:21:27,667 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-01-28 14:21:27,667 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-01-28 14:21:27,667 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-01-28 14:21:27,667 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-01-28 14:21:27,682 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-01-28 14:21:27,682 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-01-28 14:21:27,682 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-01-28 14:21:27,698 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-01-28 14:21:27,698 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-01-28 14:21:27,698 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-01-28 14:21:27,698 1720 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-01-28 14:21:27,714 1720 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-01-28 14:21:27,714 1720 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-01-28 14:21:27,714 1720 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-01-28 14:21:27,729 1720 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-01-28 14:21:27,729 1720 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-01-28 14:21:27,745 1720 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-01-28 14:21:27,745 1720 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-01-28 14:21:27,745 1720 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-01-28 14:21:27,761 1720 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-01-28 14:21:27,761 1720 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-01-28 14:21:27,761 1720 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-01-28 14:21:27,776 1720 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-01-28 14:21:27,776 1720 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-01-28 14:21:27,776 1720 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-01-28 14:21:27,792 1720 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-01-28 14:21:27,792 1720 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-01-28 14:21:27,792 1720 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-01-28 14:21:27,807 1720 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-01-28 14:21:27,807 1720 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-01-28 14:21:27,807 1720 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-01-28 14:21:27,823 1720 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-01-28 14:21:27,823 1720 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-01-28 14:21:28,026 1720 [DEBUG] - ---------------------------Script Execution---------------------------
2020-01-28 14:21:28,042 1720 [DEBUG] - Running 'ChocolateyScriptRunner' for NSSM v2.24.101.20180116 with packageScript 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\NSSM', installArguments: '', packageParameters: '',
2020-01-28 14:21:28,089 1720 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1'
2020-01-28 14:21:28,198 1720 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2020-01-28 14:21:28,260 1720 [INFO ] - Installing 64 bit version
2020-01-28 14:21:28,276 1720 [INFO ] -
2020-01-28 14:21:28,417 1720 [DEBUG] - Running Get-ChocolateyUnzip -destination 'C:\ProgramData\chocolatey\lib\NSSM\tools' -packageName 'nssm' -fileFullPath 'C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip'
2020-01-28 14:21:28,432 1720 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-01-28 14:21:28,448 1720 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip to C:\ProgramData\chocolatey\lib\NSSM\tools...
2020-01-28 14:21:28,464 1720 [INFO ] -
2020-01-28 14:21:28,495 1720 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2020-01-28 14:21:28,745 1720 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\NSSM\tools" -y "C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip"]
2020-01-28 14:21:32,135 1720 [INFO ] - VERBOSE:
2020-01-28 14:21:32,151 1720 [INFO ] - VERBOSE: 7-Zip 18.06 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-12-30
2020-01-28 14:21:32,167 1720 [INFO ] - VERBOSE:
2020-01-28 14:21:32,167 1720 [INFO ] - VERBOSE: Scanning the drive for archives:
2020-01-28 14:21:32,167 1720 [INFO ] - VERBOSE: 1 file, 415458 bytes (406 KiB)
2020-01-28 14:21:32,182 1720 [INFO ] - VERBOSE:
2020-01-28 14:21:32,182 1720 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip
2020-01-28 14:21:32,182 1720 [INFO ] - VERBOSE: --
2020-01-28 14:21:32,198 1720 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip
2020-01-28 14:21:32,198 1720 [INFO ] - VERBOSE: Type = zip
2020-01-28 14:21:32,198 1720 [INFO ] - VERBOSE: Physical Size = 415458
2020-01-28 14:21:32,198 1720 [INFO ] - VERBOSE:
2020-01-28 14:21:32,214 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad
2020-01-28 14:21:32,245 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\ChangeLog.txt
2020-01-28 14:21:32,245 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\README.txt
2020-01-28 14:21:32,260 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src
2020-01-28 14:21:32,260 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\.gitattributes
2020-01-28 14:21:32,260 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\account.cpp
2020-01-28 14:21:32,276 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\account.h
2020-01-28 14:21:32,276 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\console.cpp
2020-01-28 14:21:32,276 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\console.h
2020-01-28 14:21:32,292 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\env.cpp
2020-01-28 14:21:32,292 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\env.h
2020-01-28 14:21:32,292 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\event.cpp
2020-01-28 14:21:32,307 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\event.h
2020-01-28 14:21:32,307 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\gui.cpp
2020-01-28 14:21:32,307 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\gui.h
2020-01-28 14:21:32,307 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\hook.cpp
2020-01-28 14:21:32,323 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\hook.h
2020-01-28 14:21:32,323 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\imports.cpp
2020-01-28 14:21:32,323 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\imports.h
2020-01-28 14:21:32,339 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\io.cpp
2020-01-28 14:21:32,339 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\io.h
2020-01-28 14:21:32,339 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\messages.mc
2020-01-28 14:21:32,354 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.cpp
2020-01-28 14:21:32,354 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.h
2020-01-28 14:21:32,354 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.ico
2020-01-28 14:21:32,370 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.rc
2020-01-28 14:21:32,370 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.sln
2020-01-28 14:21:32,370 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.vcproj
2020-01-28 14:21:32,385 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\process.cpp
2020-01-28 14:21:32,385 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\process.h
2020-01-28 14:21:32,385 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\registry.cpp
2020-01-28 14:21:32,385 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\registry.h
2020-01-28 14:21:32,417 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\resource.h
2020-01-28 14:21:32,417 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\service.cpp
2020-01-28 14:21:32,417 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\service.h
2020-01-28 14:21:32,448 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\settings.cpp
2020-01-28 14:21:32,448 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\settings.h
2020-01-28 14:21:32,448 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\utf8.cpp
2020-01-28 14:21:32,464 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\utf8.h
2020-01-28 14:21:32,464 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\version.cmd
2020-01-28 14:21:32,464 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win32
2020-01-28 14:21:32,485 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win32\nssm.exe
2020-01-28 14:21:32,495 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win64
2020-01-28 14:21:32,495 1720 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win64\nssm.exe
2020-01-28 14:21:32,495 1720 [INFO ] - VERBOSE: Everything is Ok
2020-01-28 14:21:32,510 1720 [INFO ] - VERBOSE:
2020-01-28 14:21:32,510 1720 [INFO ] - VERBOSE: Folders: 4
2020-01-28 14:21:32,510 1720 [INFO ] - VERBOSE: Files: 40
2020-01-28 14:21:32,526 1720 [INFO ] - VERBOSE: Size: 1411772
2020-01-28 14:21:32,526 1720 [INFO ] - VERBOSE: Compressed: 415458
2020-01-28 14:21:33,417 1720 [DEBUG] - $exitCode was passed null
2020-01-28 14:21:33,417 1720 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\NSSM\tools" -y "C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip"] exited with '0'.
2020-01-28 14:21:33,449 1720 [DEBUG] - 7z exit code: 0
2020-01-28 14:21:33,479 1720 [INFO ] - C:\ProgramData\chocolatey\lib\NSSM\tools
2020-01-28 14:21:33,557 1720 [DEBUG] - ----------------------------------------------------------------------
2020-01-28 14:21:33,698 1720 [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\NSSM\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-01-28 14:21:33,714 1720 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-01-28 14:21:33,760 1720 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-01-28 14:21:35,417 1720 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\NSSM'
2020-01-28 14:21:35,432 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\nssm-2.24-101-g897c7ad.zip.txt'
with checksum '646835BFD914EEB14B1EB50F92721B6C'
2020-01-28 14:21:35,432 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\NSSM.nupkg'
with checksum '4997E9319A7CEA960E731B7BDF25DEC1'
2020-01-28 14:21:35,432 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\NSSM.nuspec'
with checksum '4A90600D0AF8D01F83C9292D5B7CCE11'
2020-01-28 14:21:35,448 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\legal\License.txt'
with checksum 'F862A0CAC71EB253A3DDDF75BD056F0F'
2020-01-28 14:21:35,448 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\legal\VERIFICATION.txt'
with checksum '8591C7D2CED72370160BAAD01E373EFA'
2020-01-28 14:21:35,464 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyBeforeModify.ps1'
with checksum 'E404813C6C470EF6D868D205C4649408'
2020-01-28 14:21:35,464 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1'
with checksum '2A67BD22033BDF5CB20693640EF65B28'
2020-01-28 14:21:35,464 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\nssm.exe'
with checksum '1136EFB1A46D1F2D508162387F30DC4D'
2020-01-28 14:21:35,871 1720 [DEBUG] - Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\NSSM\tools\nssm.exe" --output="C:\ProgramData\chocolatey\bin\nssm.exe" --iconpath="C:\ProgramData\chocolatey\lib\NSSM\tools\nssm.exe"']
2020-01-28 14:21:41,667 1720 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.0.30319.33440
2020-01-28 14:21:41,667 1720 [DEBUG] - [ShimGen] for Microsoft (R) .NET Framework 4.5
2020-01-28 14:21:41,667 1720 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2020-01-28 14:21:41,667 1720 [DEBUG] - Command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\NSSM\tools\nssm.exe" --output="C:\ProgramData\chocolatey\bin\nssm.exe" --iconpath="C:\ProgramData\chocolatey\lib\NSSM\tools\nssm.exe"'] exited with '0'
2020-01-28 14:21:41,682 1720 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\nssm.exe'
2020-01-28 14:21:41,682 1720 [INFO ] - ShimGen has successfully created a shim for nssm.exe
2020-01-28 14:21:41,682 1720 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\nssm.exe
Targeting: C:\ProgramData\chocolatey\lib\NSSM\tools\nssm.exe
IsGui:False
2020-01-28 14:21:41,792 1720 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2020-01-28 14:21:41,839 1720 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\NSSM.2.24.101.20180116".
2020-01-28 14:21:41,885 1720 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\NSSM.2.24.101.20180116\.files'
2020-01-28 14:21:41,901 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\NSSM.2.24.101.20180116\.extra".
2020-01-28 14:21:41,901 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\NSSM.2.24.101.20180116\.version".
2020-01-28 14:21:41,901 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\NSSM.2.24.101.20180116\.sxs".
2020-01-28 14:21:41,901 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\NSSM.2.24.101.20180116\.pin".
2020-01-28 14:21:41,917 1720 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-01-28 14:21:41,932 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\NSSM\.chocolateyPending".
2020-01-28 14:21:41,948 1720 [INFO ] - The install of nssm was successful.
2020-01-28 14:21:41,948 1720 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\NSSM\tools'
2020-01-28 14:21:41,948 1720 [INFO ] - [NuGet] Installing 'server-jre8 8.0.202'.
2020-01-28 14:21:41,964 1720 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'server-jre8\tools'.
2020-01-28 14:21:41,964 1720 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'server-jre8\tools'.
2020-01-28 14:21:41,964 1720 [DEBUG] - [NuGet] Added file 'server-jre8.nupkg' to folder 'server-jre8'.
2020-01-28 14:21:42,183 1720 [DEBUG] - [NuGet] Added file 'server-jre8.nuspec' to folder 'server-jre8'.
2020-01-28 14:21:42,183 1720 [INFO ] - [NuGet] Successfully installed 'server-jre8 8.0.202'.
2020-01-28 14:21:42,198 1720 [INFO ] -
server-jre8 v8.0.202 (forced) [Approved] - Possibly broken
2020-01-28 14:21:42,308 1720 [INFO ] - server-jre8 package files install completed. Performing other installation steps.
2020-01-28 14:21:42,323 1720 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1':
2020-01-28 14:21:42,339 1720 [DEBUG] - $packageName = $env:chocolateyPackageName
# The buildNumber should be easier to determine or pass from the nuspec
$buildNumber = "08"
$checksum = "7c46e565a353f4b318760aa7082a435458f9bba7e5b89d9e3fd6c190242093d9"
$downloadHash = "1961070e4c9b4e26a04e7f5a083f551e"
# Discard any -pre/-beta/-testing appended to avoid releasing an unfinished on Chocolatey.org
$semanticVersion = $env:chocolateyPackageVersion.Split("-")[0]
#8.0.xx to jdk1.8.0_xx
$versionArray = $semanticVersion.Split(".")
$majorVersion = $versionArray[0]
$minorVersion = $versionArray[1]
$updateVersion = $versionArray[2]
$folderVersion = "jdk1.$majorVersion.$($minorVersion)_$updateVersion"
$fileNameBase = "server-jre-$($majorVersion)u$($updateVersion)-windows-x64"
$fileName = "$fileNameBase.tar.gz"
# Oracle got clever and is throwing a hash/sessionID into the path
$url = "http://download.oracle.com/otn-pub/java/jdk/$($majorVersion)u$($updateVersion)-b$buildNumber/$($downloadHash)/$fileName"
$osBitness = Get-ProcessorBits
# 32-bit not supported
if ($osBitness -eq 32) {
Throw "The package $packageName is only available for 64-bit architectures"
}
$arguments = @{}
# Now we can use the $env:chocolateyPackageParameters inside the Chocolatey package
$packageParameters = $env:chocolateyPackageParameters
# Default value
# uses deprecated Get-BinRoot
#$InstallationPath = Join-Path (Get-BinRoot) "Java/server-jre"
$InstallationPath = Join-Path (Get-ToolsLocation) "Java/server-jre"
$ForceEnvVars = $false
$EnvVariableType = "Machine"
# 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("InstallationPath")) {
Write-Host "InstallationPath Argument Found"
$InstallationPath = $arguments["InstallationPath"]
}
if ($arguments.ContainsKey("Force")) {
Write-Host "Force Argument Found"
$ForceEnvVars = $true
}
if ($arguments.ContainsKey("User")) {
Write-Host "User Argument Found"
$EnvVariableType = "User"
}
} else {
Write-Debug "No Package Parameters Passed in"
}
Write-Debug "Installing to $InstallationPath, Params: ForceEnvVars=$ForceEnvVars, EnvVariableType=$EnvVariableType"
# Future state, write install options file to use in uninstall (ie /Machine or /User /InstallationPath)
# This would be easier if installed with Install-ChocolateyZipFile and writing the parameters to $toolsDir aka Invocation.
#Create Temp Folder
$chocTempDir = Join-Path $env:TEMP "chocolatey"
$tempDir = Join-Path $chocTempDir "$packageName"
if ($env:packageVersion -ne $null) {$tempDir = Join-Path $tempDir "$env:packageVersion"; }
if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir) | Out-Null}
$tarGzFile = "$tempDir\$fileName"
$tarFile = "$tempDir\$fileNameBase.tar"
if ([System.IO.File]::Exists($tarGzFile)) {
Write-Debug "Checking if existing file $tarGzFile matches checksum"
#Check sum of existing file
Try {
Get-ChecksumValid -File $tarGzFile -Checksum $checksum -ChecksumType SHA256 -ErrorAction Stop
}
Catch{
Write-Debug "Checksum failed, deleting old file $tarGzFile"
Remove-Item $tarGzFile
}
}
# Added some .NET code to remove the dependency on wget
# If chocolatey >= 0.9.10 could use Get-ChocolateyWebFile with $options
# Currently investigating a bug where it doesn't seem to pass the cookie in properly
#if ($env:ChocolateyVersion -gt "0.9.10") {
#$options =
#@{
# Headers = @{
# Cookie = " oraclelicense=accept-securebackup-cookie";
# }
#}
#
#Write-Debug "Downloading file $tarGzFile using Get-ChocolateyWebFile"
#Get-ChocolateyWebFile -PackageName $packageName -FileFullPath $tarGzFile -Url $url -Checksum $checksum -ChecksumType SHA256 -Options $options
# } # End Get-ChocolateyWebFile
#
# } else {
# Native .NET download for choco < 0.9.10
Write-Debug "Downloading file $tarGzFile using System.Net.WebClient"
$wc = New-Object System.Net.WebClient
$wc.Headers.Add([System.Net.HttpRequestHeader]::Cookie, "oraclelicense=accept-securebackup-cookie");
$wc.Proxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials
$wc.DownloadFile($url, $tarGzFile)
Get-ChecksumValid -File $tarGzFile -Checksum $checksum -ChecksumType SHA256
# } # End native .NET block
# Wget dependency block {
#if (![System.IO.File]::Exists($tarGzFile)) {
# $wget = Join-Path "$env:ChocolateyInstall" '\bin\wget.exe'
# Write-Debug "wget found at `'$wget`'"
#
# #Download file. Must set Cookies to accept license
# Write-Debug "Downloading file $tarGzFile"
# .$wget --quiet --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" $url -O $tarGzFile
# Get-ChecksumValid -File $tarGzFile -Checksum $checksum -ChecksumType SHA256
#}
# } # End wget dependency block
#Extract gz to .tar File
Get-ChocolateyUnzip $tarGzFile $tempDir
#Extract tar to destination
Get-ChocolateyUnzip $tarFile $InstallationPath
$newJavaHome = Join-Path $InstallationPath $folderVersion
$oldJavaHome = Get-EnvironmentVariable "JAVA_HOME" $EnvVariableType
if(($oldJavaHome -eq "") -or $ForceEnvVars) {
Write-Host "Setting JAVA_HOME to $newJavaHome"
Install-ChocolateyEnvironmentVariable -variableName "JAVA_HOME" -variableValue $newJavaHome -variableType $EnvVariableType
}
else {
Write-Debug "JAVA_HOME already set to $oldJavaHome."
}
# Need to do an existance check to see if the variable version is already in PATH
Install-ChocolateyPath '%JAVA_HOME%\bin' $EnvVariableType
Get-EnvironmentVariable -Name 'PATH' -Scope $EnvVariableType -PreserveVariables
#Remove-Item -Recurse $tempDir
2020-01-28 14:21:42,339 1720 [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\server-jre8\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-01-28 14:21:42,354 1720 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-01-28 14:21:42,385 1720 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=5.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-01-28 14:21:42,401 1720 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=4.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-01-28 14:21:42,401 1720 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=3.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-01-28 14:21:42,417 1720 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=1.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-01-28 14:21:42,589 1720 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-01-28 14:21:42,699 1720 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-01-28 14:21:42,699 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-01-28 14:21:42,699 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-01-28 14:21:42,714 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-01-28 14:21:42,714 1720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-01-28 14:21:42,714 1720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-01-28 14:21:42,714 1720 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-01-28 14:21:42,729 1720 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-01-28 14:21:42,729 1720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-01-28 14:21:42,729 1720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-01-28 14:21:42,745 1720 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-01-28 14:21:42,745 1720 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-01-28 14:21:42,745 1720 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-01-28 14:21:42,745 1720 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-01-28 14:21:42,761 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-01-28 14:21:42,761 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-01-28 14:21:42,761 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-01-28 14:21:42,761 1720 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-01-28 14:21:42,776 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-01-28 14:21:42,776 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-01-28 14:21:42,776 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-01-28 14:21:42,792 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-01-28 14:21:42,792 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-01-28 14:21:42,792 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-01-28 14:21:42,792 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-01-28 14:21:42,807 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-01-28 14:21:42,807 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-01-28 14:21:42,807 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-01-28 14:21:42,807 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-01-28 14:21:42,823 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-01-28 14:21:42,823 1720 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-01-28 14:21:42,823 1720 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-01-28 14:21:42,839 1720 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-01-28 14:21:42,839 1720 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-01-28 14:21:42,839 1720 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-01-28 14:21:42,839 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-01-28 14:21:42,854 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-01-28 14:21:42,854 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-01-28 14:21:42,854 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-01-28 14:21:42,854 1720 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-01-28 14:21:42,870 1720 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-01-28 14:21:42,870 1720 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-01-28 14:21:42,870 1720 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-01-28 14:21:42,870 1720 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-01-28 14:21:42,885 1720 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-01-28 14:21:42,885 1720 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-01-28 14:21:42,885 1720 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-01-28 14:21:42,885 1720 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-01-28 14:21:42,901 1720 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-01-28 14:21:42,901 1720 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-01-28 14:21:42,901 1720 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-01-28 14:21:42,917 1720 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-01-28 14:21:42,917 1720 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-01-28 14:21:42,932 1720 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-01-28 14:21:42,932 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-01-28 14:21:42,932 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-01-28 14:21:42,932 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-01-28 14:21:42,948 1720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-01-28 14:21:42,948 1720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-01-28 14:21:42,948 1720 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-01-28 14:21:42,948 1720 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-01-28 14:21:42,964 1720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-01-28 14:21:42,964 1720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-01-28 14:21:42,964 1720 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-01-28 14:21:42,979 1720 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-01-28 14:21:42,979 1720 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-01-28 14:21:42,979 1720 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-01-28 14:21:42,979 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-01-28 14:21:42,995 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-01-28 14:21:42,995 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-01-28 14:21:42,995 1720 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-01-28 14:21:42,995 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-01-28 14:21:43,011 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-01-28 14:21:43,011 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-01-28 14:21:43,011 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-01-28 14:21:43,011 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-01-28 14:21:43,026 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-01-28 14:21:43,026 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-01-28 14:21:43,026 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-01-28 14:21:43,026 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-01-28 14:21:43,042 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-01-28 14:21:43,042 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-01-28 14:21:43,042 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-01-28 14:21:43,058 1720 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-01-28 14:21:43,058 1720 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-01-28 14:21:43,058 1720 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-01-28 14:21:43,073 1720 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-01-28 14:21:43,073 1720 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-01-28 14:21:43,073 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-01-28 14:21:43,073 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-01-28 14:21:43,089 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-01-28 14:21:43,089 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-01-28 14:21:43,089 1720 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-01-28 14:21:43,089 1720 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-01-28 14:21:43,104 1720 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-01-28 14:21:43,104 1720 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-01-28 14:21:43,104 1720 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-01-28 14:21:43,104 1720 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-01-28 14:21:43,120 1720 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-01-28 14:21:43,120 1720 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-01-28 14:21:43,120 1720 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-01-28 14:21:43,120 1720 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-01-28 14:21:43,136 1720 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-01-28 14:21:43,136 1720 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-01-28 14:21:43,136 1720 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-01-28 14:21:43,151 1720 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-01-28 14:21:43,151 1720 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-01-28 14:21:43,151 1720 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-01-28 14:21:43,151 1720 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-01-28 14:21:43,167 1720 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-01-28 14:21:43,167 1720 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-01-28 14:21:43,167 1720 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-01-28 14:21:43,167 1720 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-01-28 14:21:43,182 1720 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-01-28 14:21:43,182 1720 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-01-28 14:21:43,182 1720 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-01-28 14:21:43,198 1720 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-01-28 14:21:43,198 1720 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-01-28 14:21:43,198 1720 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-01-28 14:21:43,214 1720 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-01-28 14:21:43,214 1720 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-01-28 14:21:43,214 1720 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-01-28 14:21:43,214 1720 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-01-28 14:21:43,229 1720 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-01-28 14:21:43,229 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-01-28 14:21:43,229 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-01-28 14:21:43,245 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-01-28 14:21:43,245 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-01-28 14:21:43,245 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-01-28 14:21:43,260 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-01-28 14:21:43,260 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-01-28 14:21:43,260 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-01-28 14:21:43,260 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-01-28 14:21:43,276 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-01-28 14:21:43,276 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-01-28 14:21:43,276 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-01-28 14:21:43,292 1720 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-01-28 14:21:43,292 1720 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-01-28 14:21:43,292 1720 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-01-28 14:21:43,292 1720 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-01-28 14:21:43,307 1720 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-01-28 14:21:43,307 1720 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-01-28 14:21:43,307 1720 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-01-28 14:21:43,307 1720 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-01-28 14:21:43,323 1720 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-01-28 14:21:43,323 1720 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-01-28 14:21:43,323 1720 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-01-28 14:21:43,339 1720 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-01-28 14:21:43,339 1720 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-01-28 14:21:43,339 1720 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-01-28 14:21:43,339 1720 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-01-28 14:21:43,354 1720 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-01-28 14:21:43,354 1720 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-01-28 14:21:43,354 1720 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-01-28 14:21:43,354 1720 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-01-28 14:21:43,370 1720 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-01-28 14:21:43,370 1720 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-01-28 14:21:43,370 1720 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-01-28 14:21:43,385 1720 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-01-28 14:21:43,385 1720 [DEBUG] - ---------------------------Script Execution---------------------------
2020-01-28 14:21:43,401 1720 [DEBUG] - Running 'ChocolateyScriptRunner' for server-jre8 v8.0.202 with packageScript 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\server-jre8', installArguments: '', packageParameters: '',
2020-01-28 14:21:43,401 1720 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1'
2020-01-28 14:21:43,464 1720 [DEBUG] - Running Get-ProcessorBits
2020-01-28 14:21:43,510 1720 [DEBUG] - Running Get-ToolsLocation
2020-01-28 14:21:43,589 1720 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2020-01-28 14:21:43,776 1720 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2020-01-28 14:21:43,807 1720 [DEBUG] -
using System;
using System.Runtime.InteropServices;
namespace Win32
{
public class NativeMethods
{
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
}
}
2020-01-28 14:22:14,214 1720 [DEBUG] - Running Update-SessionEnvironment
2020-01-28 14:22:14,214 1720 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2020-01-28 14:22:14,682 1720 [DEBUG] - No Package Parameters Passed in
2020-01-28 14:22:14,698 1720 [DEBUG] - Installing to C:\tools\Java\server-jre, Params: ForceEnvVars=False, EnvVariableType=Machine
2020-01-28 14:22:14,729 1720 [DEBUG] - Downloading file C:\Users\Administrator\AppData\Local\Temp\chocolatey\server-jre8\8.0.202\server-jre-8u202-windows-x64.tar.gz using System.Net.WebClient
2020-01-28 14:22:16,839 1720 [ERROR] - ERROR: Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1: line 124
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 49
at <ScriptBlock>, <No file>: line 1
2020-01-28 14:22:16,839 1720 [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\server-jre8\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
2020-01-28 14:22:16,854 1720 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-01-28 14:22:16,870 1720 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-01-28 14:22:16,885 1720 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2020-01-28 14:22:16,885 1720 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2020-01-28 14:22:16,901 1720 [DEBUG] - * ChocolateyLastPathUpdate='132246949191046452' (User)
2020-01-28 14:22:16,901 1720 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2020-01-28 14:22:16,901 1720 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\server-jre8'
2020-01-28 14:22:16,901 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre8\server-jre8.nupkg'
with checksum '06872787D43B2C1FC8DCE5C1BE514E67'
2020-01-28 14:22:16,917 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre8\server-jre8.nuspec'
with checksum '181FFF175A322FBC727D22933B2625E3'
2020-01-28 14:22:16,917 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1'
with checksum '471B798AAB6CF757465017CFA01FB0E8'
2020-01-28 14:22:16,917 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyUninstall.ps1'
with checksum '6B1472C53E04599ACE54B13D57E2C830'
2020-01-28 14:22:16,917 1720 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202".
2020-01-28 14:22:16,933 1720 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.files'
2020-01-28 14:22:16,933 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.arguments".
2020-01-28 14:22:16,948 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.extra".
2020-01-28 14:22:16,948 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.version".
2020-01-28 14:22:16,948 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.sxs".
2020-01-28 14:22:16,948 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.pin".
2020-01-28 14:22:16,964 1720 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-01-28 14:22:16,964 1720 [ERROR] - The install of server-jre8 was NOT successful.
2020-01-28 14:22:16,979 1720 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1'.
See log for details.
2020-01-28 14:22:16,979 1720 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2020-01-28 14:22:16,995 1720 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\server-jre8'
to 'C:\ProgramData\chocolatey\lib-bad\server-jre8'
2020-01-28 14:22:19,026 1720 [INFO ] - [NuGet] Installing 'server-jre 8.0.192'.
2020-01-28 14:22:19,042 1720 [DEBUG] - [NuGet] Added file 'server-jre.nupkg' to folder 'server-jre'.
2020-01-28 14:22:19,276 1720 [DEBUG] - [NuGet] Added file 'server-jre.nuspec' to folder 'server-jre'.
2020-01-28 14:22:19,276 1720 [INFO ] - [NuGet] Successfully installed 'server-jre 8.0.192'.
2020-01-28 14:22:19,292 1720 [INFO ] -
server-jre v8.0.192 (forced) [Approved] - Possibly broken
2020-01-28 14:22:19,292 1720 [INFO ] - server-jre package files install completed. Performing other installation steps.
2020-01-28 14:22:19,307 1720 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\server-jre'
2020-01-28 14:22:19,323 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre\server-jre.nupkg'
with checksum '9DFB48EF6558DA80C87ECFFADB9E20B3'
2020-01-28 14:22:19,323 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre\server-jre.nuspec'
with checksum '641E5DF726F83DB3789A1CA3B8365AFB'
2020-01-28 14:22:19,323 1720 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192".
2020-01-28 14:22:19,339 1720 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192\.files'
2020-01-28 14:22:19,339 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192\.extra".
2020-01-28 14:22:19,354 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192\.version".
2020-01-28 14:22:19,354 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192\.sxs".
2020-01-28 14:22:19,354 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192\.pin".
2020-01-28 14:22:19,370 1720 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-01-28 14:22:19,370 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\server-jre\.chocolateyPending".
2020-01-28 14:22:19,370 1720 [INFO ] - The install of server-jre was successful.
2020-01-28 14:22:19,370 1720 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2020-01-28 14:22:19,385 1720 [INFO ] - [NuGet] Installing 'kafka 1.1.0'.
2020-01-28 14:22:19,385 1720 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'kafka\tools'.
2020-01-28 14:22:19,385 1720 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'kafka\tools'.
2020-01-28 14:22:19,401 1720 [DEBUG] - [NuGet] Added file 'kafka.nupkg' to folder 'kafka'.
2020-01-28 14:22:19,714 1720 [DEBUG] - [NuGet] Added file 'kafka.nuspec' to folder 'kafka'.
2020-01-28 14:22:19,714 1720 [INFO ] - [NuGet] Successfully installed 'kafka 1.1.0'.
2020-01-28 14:22:19,714 1720 [INFO ] -
kafka v1.1.0 (forced) [Approved] - Possibly broken
2020-01-28 14:22:19,745 1720 [INFO ] - kafka package files install completed. Performing other installation steps.
2020-01-28 14:22:19,745 1720 [DEBUG] - Setting installer args for kafka
2020-01-28 14:22:19,760 1720 [DEBUG] - Setting package parameters for kafka
2020-01-28 14:22:19,760 1720 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyinstall.ps1':
2020-01-28 14:22:19,760 1720 [DEBUG] - $ErrorActionPreference = 'Stop'
$PackageName = 'kafka'
$url32 = 'http://download.nextag.com/apache/kafka/1.1.0/kafka_2.11-1.1.0.tgz'
$checksum32 = '124861011a849b1cf63d2fccee5e79303cea32987f37890d1848948edfcc18ca'
$packageArgs = @{
packageName = $packageName
url = $url32
checksum = $checksum32
checksumType = 'sha256'
unzipLocation = Split-Path $MyInvocation.MyCommand.Definition
}
Install-ChocolateyZipPackage @packageArgs
$File = Get-ChildItem -File -Path $env:ChocolateyInstall\lib\$packageName\tools\ -Filter *.tar
Get-ChocolateyUnzip -fileFullPath $File.FullName -destination $env:ChocolateyInstall\lib\$packageName\tools\
function Invoke-StopAndDeleteService {
param (
$ServiceName
)
if ($Service = Get-Service $ServiceName -ErrorAction SilentlyContinue) {
if ($Service.Status -eq "Running") {
Start-ChocolateyProcessAsAdmin "stop $ServiceName" "sc.exe"
}
Start-ChocolateyProcessAsAdmin "delete $ServiceName" "sc.exe"
}
}
$ServiceName = 'kafka-service'
Invoke-StopAndDeleteService -ServiceName $ServiceName
Write-Host "Installing service"
Start-ChocolateyProcessAsAdmin "install $ServiceName $(Join-Path $env:chocolateyPackageFolder "tools\kafka_2.11-$PackageVersion\bin\windows\kafka-server-start.bat") $(Join-Path $env:chocolateyPackageFolder "tools\kafka_2.11-$PackageVersion\config\server.properties")" nssm
Start-ChocolateyProcessAsAdmin "set $ServiceName Start SERVICE_DEMAND_START" nssm
$ServiceName = 'kafka-zookeeper-service'
Invoke-StopAndDeleteService -ServiceName $ServiceName
Write-Host "Installing service"
Start-ChocolateyProcessAsAdmin "install $ServiceName $(Join-Path $env:chocolateyPackageFolder "tools\kafka_2.11-$PackageVersion\bin\windows\zookeeper-server-start.bat") $(Join-Path $env:chocolateyPackageFolder "tools\kafka_2.11-$PackageVersion\config\zookeeper.properties")" nssm
Start-ChocolateyProcessAsAdmin "set $ServiceName Start SERVICE_DEMAND_START" nssm
2020-01-28 14:22:19,760 1720 [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\kafka\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2020-01-28 14:22:19,776 1720 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-01-28 14:22:19,776 1720 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=5.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-01-28 14:22:19,792 1720 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=4.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-01-28 14:22:19,792 1720 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=3.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-01-28 14:22:19,792 1720 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=1.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-01-28 14:22:19,979 1720 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-01-28 14:22:20,105 1720 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-01-28 14:22:20,105 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-01-28 14:22:20,105 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-01-28 14:22:20,120 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-01-28 14:22:20,120 1720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-01-28 14:22:20,120 1720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-01-28 14:22:20,136 1720 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-01-28 14:22:20,136 1720 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-01-28 14:22:20,151 1720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-01-28 14:22:20,151 1720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-01-28 14:22:20,167 1720 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-01-28 14:22:20,167 1720 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-01-28 14:22:20,167 1720 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-01-28 14:22:20,182 1720 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-01-28 14:22:20,182 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-01-28 14:22:20,182 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-01-28 14:22:20,198 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-01-28 14:22:20,198 1720 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-01-28 14:22:20,198 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-01-28 14:22:20,214 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-01-28 14:22:20,214 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-01-28 14:22:20,214 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-01-28 14:22:20,214 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-01-28 14:22:20,229 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-01-28 14:22:20,229 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-01-28 14:22:20,229 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-01-28 14:22:20,245 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-01-28 14:22:20,245 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-01-28 14:22:20,245 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-01-28 14:22:20,245 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-01-28 14:22:20,260 1720 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-01-28 14:22:20,260 1720 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-01-28 14:22:20,260 1720 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-01-28 14:22:20,260 1720 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-01-28 14:22:20,276 1720 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-01-28 14:22:20,276 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-01-28 14:22:20,276 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-01-28 14:22:20,292 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-01-28 14:22:20,292 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-01-28 14:22:20,292 1720 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-01-28 14:22:20,292 1720 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-01-28 14:22:20,307 1720 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-01-28 14:22:20,307 1720 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-01-28 14:22:20,307 1720 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-01-28 14:22:20,323 1720 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-01-28 14:22:20,323 1720 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-01-28 14:22:20,323 1720 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-01-28 14:22:20,323 1720 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-01-28 14:22:20,339 1720 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-01-28 14:22:20,339 1720 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-01-28 14:22:20,339 1720 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-01-28 14:22:20,354 1720 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-01-28 14:22:20,354 1720 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-01-28 14:22:20,354 1720 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-01-28 14:22:20,370 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-01-28 14:22:20,385 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-01-28 14:22:20,385 1720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-01-28 14:22:20,385 1720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-01-28 14:22:20,401 1720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-01-28 14:22:20,401 1720 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-01-28 14:22:20,401 1720 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-01-28 14:22:20,401 1720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-01-28 14:22:20,417 1720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-01-28 14:22:20,417 1720 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-01-28 14:22:20,417 1720 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-01-28 14:22:20,432 1720 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-01-28 14:22:20,432 1720 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-01-28 14:22:20,432 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-01-28 14:22:20,432 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-01-28 14:22:20,448 1720 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-01-28 14:22:20,448 1720 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-01-28 14:22:20,448 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-01-28 14:22:20,448 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-01-28 14:22:20,464 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-01-28 14:22:20,464 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-01-28 14:22:20,464 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-01-28 14:22:20,479 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-01-28 14:22:20,479 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-01-28 14:22:20,479 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-01-28 14:22:20,479 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-01-28 14:22:20,495 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-01-28 14:22:20,495 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-01-28 14:22:20,495 1720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-01-28 14:22:20,495 1720 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-01-28 14:22:20,510 1720 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-01-28 14:22:20,510 1720 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-01-28 14:22:20,510 1720 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-01-28 14:22:20,526 1720 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-01-28 14:22:20,526 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-01-28 14:22:20,526 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-01-28 14:22:20,526 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-01-28 14:22:20,542 1720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-01-28 14:22:20,542 1720 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-01-28 14:22:20,542 1720 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-01-28 14:22:20,557 1720 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-01-28 14:22:20,557 1720 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-01-28 14:22:20,557 1720 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-01-28 14:22:20,557 1720 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-01-28 14:22:20,573 1720 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-01-28 14:22:20,573 1720 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-01-28 14:22:20,573 1720 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-01-28 14:22:20,589 1720 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-01-28 14:22:20,589 1720 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-01-28 14:22:20,589 1720 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-01-28 14:22:20,604 1720 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-01-28 14:22:20,604 1720 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-01-28 14:22:20,604 1720 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-01-28 14:22:20,604 1720 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-01-28 14:22:20,620 1720 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-01-28 14:22:20,620 1720 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-01-28 14:22:20,620 1720 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-01-28 14:22:20,635 1720 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-01-28 14:22:20,635 1720 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-01-28 14:22:20,635 1720 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-01-28 14:22:20,635 1720 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-01-28 14:22:20,651 1720 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-01-28 14:22:20,651 1720 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-01-28 14:22:20,651 1720 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-01-28 14:22:20,667 1720 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-01-28 14:22:20,667 1720 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-01-28 14:22:20,667 1720 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-01-28 14:22:20,667 1720 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-01-28 14:22:20,682 1720 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-01-28 14:22:20,682 1720 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-01-28 14:22:20,682 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-01-28 14:22:20,698 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-01-28 14:22:20,698 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-01-28 14:22:20,698 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-01-28 14:22:20,698 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-01-28 14:22:20,714 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-01-28 14:22:20,714 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-01-28 14:22:20,714 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-01-28 14:22:20,729 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-01-28 14:22:20,729 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-01-28 14:22:20,729 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-01-28 14:22:20,729 1720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-01-28 14:22:20,745 1720 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-01-28 14:22:20,745 1720 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-01-28 14:22:20,745 1720 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-01-28 14:22:20,745 1720 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-01-28 14:22:20,760 1720 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-01-28 14:22:20,760 1720 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-01-28 14:22:20,760 1720 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-01-28 14:22:20,776 1720 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-01-28 14:22:20,776 1720 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-01-28 14:22:20,776 1720 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-01-28 14:22:20,776 1720 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-01-28 14:22:20,792 1720 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-01-28 14:22:20,792 1720 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-01-28 14:22:20,792 1720 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-01-28 14:22:20,807 1720 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-01-28 14:22:20,807 1720 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-01-28 14:22:20,807 1720 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-01-28 14:22:20,807 1720 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-01-28 14:22:20,823 1720 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-01-28 14:22:20,823 1720 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-01-28 14:22:20,823 1720 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-01-28 14:22:20,823 1720 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-01-28 14:22:20,838 1720 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-01-28 14:22:20,838 1720 [DEBUG] - ---------------------------Script Execution---------------------------
2020-01-28 14:22:20,838 1720 [DEBUG] - Running 'ChocolateyScriptRunner' for kafka v1.1.0 with packageScript 'C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\kafka', installArguments: '', packageParameters: '',
2020-01-28 14:22:20,854 1720 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyinstall.ps1'
2020-01-28 14:22:20,901 1720 [DEBUG] - Running Install-ChocolateyZipPackage -unzipLocation 'C:\ProgramData\chocolatey\lib\kafka\tools' -checksumType 'sha256' -url 'http://download.nextag.com/apache/kafka/1.1.0/kafka_2.11-1.1.0.tgz' -packageName 'kafka' -checksum '124861011a849b1cf63d2fccee5e79303cea32987f37890d1848948edfcc18ca'
2020-01-28 14:22:21,057 1720 [DEBUG] - Running Get-ChocolateyWebFile -checksum '124861011a849b1cf63d2fccee5e79303cea32987f37890d1848948edfcc18ca' -checksumType 'sha256' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'kafka' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\kafka\1.1.0\kafkaInstall.zip' -url 'http://download.nextag.com/apache/kafka/1.1.0/kafka_2.11-1.1.0.tgz' -url64bit ''
2020-01-28 14:22:21,105 1720 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-01-28 14:22:21,105 1720 [DEBUG] - CPU is 64 bit
2020-01-28 14:22:21,151 1720 [DEBUG] - Running Get-WebHeaders -url 'https://download.nextag.com/apache/kafka/1.1.0/kafka_2.11-1.1.0.tgz' -ErrorAction 'Stop'
2020-01-28 14:22:21,292 1720 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-01-28 14:22:21,307 1720 [DEBUG] - Request Headers:
2020-01-28 14:22:21,339 1720 [DEBUG] - 'Accept':'*/*'
2020-01-28 14:22:21,339 1720 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-01-28 14:22:22,714 1720 [DEBUG] - Url does not have HTTPS available
2020-01-28 14:22:22,760 1720 [DEBUG] - Running Get-WebFileName -url 'http://download.nextag.com/apache/kafka/1.1.0/kafka_2.11-1.1.0.tgz' -defaultName 'kafkaInstall.zip'
2020-01-28 14:22:23,871 1720 [DEBUG] - Url request/response failed - file name will be 'kafkaInstall.zip': Exception calling "GetResponse" with "0" argument(s): "The remote name could not be resolved: 'download.nextag.com'"
2020-01-28 14:22:23,885 1720 [DEBUG] - Running Get-WebHeaders -url 'http://download.nextag.com/apache/kafka/1.1.0/kafka_2.11-1.1.0.tgz' -ErrorAction 'Stop'
2020-01-28 14:22:23,901 1720 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-01-28 14:22:23,901 1720 [DEBUG] - Request Headers:
2020-01-28 14:22:23,901 1720 [DEBUG] - 'Accept':'*/*'
2020-01-28 14:22:23,901 1720 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-01-28 14:22:24,964 1720 [INFO ] - Attempt to get headers for http://download.nextag.com/apache/kafka/1.1.0/kafka_2.11-1.1.0.tgz failed.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://download.nextag.com/apache/kafka/1.1.0/kafka_2.11-1.1.0.tgz'. Exception calling "GetResponse" with "0" argument(s): "The remote name could not be resolved: 'download.nextag.com'"
2020-01-28 14:22:24,964 1720 [INFO ] -
2020-01-28 14:22:24,995 1720 [INFO ] - Downloading kafka
from 'http://download.nextag.com/apache/kafka/1.1.0/kafka_2.11-1.1.0.tgz'
2020-01-28 14:22:24,995 1720 [INFO ] -
2020-01-28 14:22:25,026 1720 [DEBUG] - Running Get-WebFile -url 'http://download.nextag.com/apache/kafka/1.1.0/kafka_2.11-1.1.0.tgz' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\kafka\1.1.0\kafkaInstall.zip' -options 'System.Collections.Hashtable'
2020-01-28 14:22:25,042 1720 [DEBUG] - Setting request timeout to 30000
2020-01-28 14:22:25,042 1720 [DEBUG] - Setting read/write timeout to 2700000
2020-01-28 14:22:25,042 1720 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-01-28 14:22:27,151 1720 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://download.nextag.com/apache/kafka/1.1.0/kafka_2.11-1.1.0.tgz'. Exception calling "GetResponse" with "0" argument(s): "The remote name could not be resolved: 'download.nextag.com'"
at Get-WebFile, C:\ProgramData\chocolatey\helpers\functions\Get-WebFile.ps1: line 331
at Get-ChocolateyWebFile, C:\ProgramData\chocolatey\helpers\functions\Get-ChocolateyWebFile.ps1: line 345
at Install-ChocolateyZipPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyZipPackage.ps1: line 211
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyinstall.ps1: line 14
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 49
at <ScriptBlock>, <No file>: line 1
2020-01-28 14:22:27,151 1720 [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\kafka\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '404'.
2020-01-28 14:22:27,151 1720 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-01-28 14:22:27,183 1720 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-01-28 14:22:27,198 1720 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\kafka'
2020-01-28 14:22:27,214 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\kafka\kafka.nupkg'
with checksum 'CFE884BBE9A269D200BEC42F21A02D63'
2020-01-28 14:22:27,214 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\kafka\kafka.nuspec'
with checksum '36B065719A010D58EB660233861D5380'
2020-01-28 14:22:27,214 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyinstall.ps1'
with checksum '3405DC93A5B2E0521358651FA6F07FF1'
2020-01-28 14:22:27,229 1720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyuninstall.ps1'
with checksum 'CC46D08329F70B3EAF2404056DCE3C68'
2020-01-28 14:22:27,229 1720 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\kafka.1.1.0".
2020-01-28 14:22:27,245 1720 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\kafka.1.1.0\.files'
2020-01-28 14:22:27,260 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\kafka.1.1.0\.arguments".
2020-01-28 14:22:27,260 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\kafka.1.1.0\.extra".
2020-01-28 14:22:27,260 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\kafka.1.1.0\.version".
2020-01-28 14:22:27,276 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\kafka.1.1.0\.sxs".
2020-01-28 14:22:27,276 1720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\kafka.1.1.0\.pin".
2020-01-28 14:22:27,276 1720 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-01-28 14:22:27,292 1720 [ERROR] - The install of kafka was NOT successful.
2020-01-28 14:22:27,292 1720 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyinstall.ps1'.
See log for details.
2020-01-28 14:22:27,292 1720 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\kafka'
to 'C:\ProgramData\chocolatey\lib-bad\kafka'
2020-01-28 14:22:29,307 1720 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\kafka.1.1.0.nupkg".
2020-01-28 14:22:29,432 1720 [WARN ] -
Chocolatey installed 2/4 packages. 2 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-01-28 14:22:29,432 1720 [INFO ] -
2020-01-28 14:22:29,432 1720 [ERROR] - Failures
2020-01-28 14:22:29,448 1720 [ERROR] - - server-jre8 (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1'.
See log for details.
2020-01-28 14:22:29,448 1720 [ERROR] - - kafka (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyinstall.ps1'.
See log for details.
2020-01-28 14:22:29,464 1720 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-01-28 14:22:29,526 1720 [DEBUG] - Exiting with 404
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.