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 03 Nov 2019 08:54:07 +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>
2019-11-03 08:52:50,890 1732 [DEBUG] - XmlConfiguration is now operational
2019-11-03 08:52:51,108 1732 [INFO ] - ============================================================
2019-11-03 08:52:51,780 1732 [INFO ] - Chocolatey v0.10.15
2019-11-03 08:52:51,828 1732 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-11-03 08:52:51,843 1732 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-11-03 08:52:51,843 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-11-03 08:52:51,874 1732 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install kafka --version 1.1.0 -fdvy --execution-timeout=2700 --allow-downgrade
2019-11-03 08:52:51,874 1732 [DEBUG] - Received arguments: install kafka --version 1.1.0 -fdvy --execution-timeout=2700 --allow-downgrade
2019-11-03 08:52:52,063 1732 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-11-03 08:52:52,077 1732 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-11-03 08:52:52,108 1732 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-11-03 08:52:52,296 1732 [DEBUG] - Performing validation checks.
2019-11-03 08:52:52,327 1732 [DEBUG] - Global Configuration Validation Checks:
2019-11-03 08:52:52,343 1732 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-11-03 08:52:52,343 1732 [DEBUG] - System State Validation Checks:
2019-11-03 08:52:52,358 1732 [DEBUG] - Reboot Requirement Checks:
2019-11-03 08:52:52,374 1732 [DEBUG] - - Pending Computer Rename = Checked
2019-11-03 08:52:52,390 1732 [DEBUG] - - Pending Component Based Servicing = Checked
2019-11-03 08:52:52,390 1732 [DEBUG] - - Pending Windows Auto Update = Checked
2019-11-03 08:52:52,390 1732 [DEBUG] - - Pending File Rename Operations = Checked
2019-11-03 08:52:52,405 1732 [DEBUG] - - Pending Windows Package Installer = Checked
2019-11-03 08:52:52,405 1732 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2019-11-03 08:52:52,421 1732 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-11-03 08:52:52,436 1732 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-11-03 08:52:52,452 1732 [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.
2019-11-03 08:52:52,514 1732 [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'|
2019-11-03 08:52:52,514 1732 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2019-11-03 08:52:52,546 1732 [INFO ] - Installing the following packages:
2019-11-03 08:52:52,546 1732 [INFO ] - kafka
2019-11-03 08:52:52,561 1732 [INFO ] - By installing you accept licenses for the packages.
2019-11-03 08:52:52,577 1732 [DEBUG] - Current environment values (may contain sensitive data):
2019-11-03 08:52:52,577 1732 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-11-03 08:52:52,593 1732 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-11-03 08:52:52,593 1732 [DEBUG] - * 'ChocolateyLastPathUpdate'='132172435439506970' ('User')
2019-11-03 08:52:52,593 1732 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-11-03 08:52:52,593 1732 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-11-03 08:52:52,608 1732 [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')
2019-11-03 08:52:52,608 1732 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-11-03 08:52:52,608 1732 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-11-03 08:52:52,608 1732 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-11-03 08:52:52,624 1732 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-11-03 08:52:52,624 1732 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-11-03 08:52:52,624 1732 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-11-03 08:52:52,624 1732 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-11-03 08:52:52,639 1732 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-11-03 08:52:52,639 1732 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2019-11-03 08:52:52,639 1732 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-11-03 08:52:52,639 1732 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2019-11-03 08:52:52,655 1732 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2019-11-03 08:52:52,655 1732 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-11-03 08:52:52,655 1732 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-11-03 08:52:55,202 1732 [INFO ] - [NuGet] Attempting to resolve dependency 'nssm (= 2.24.0.20161223)'.
2019-11-03 08:52:57,750 1732 [INFO ] - [NuGet] Attempting to resolve dependency 'server-jre (= 8.0.0)'.
2019-11-03 08:52:59,233 1732 [INFO ] - [NuGet] Attempting to resolve dependency 'server-jre8 (= 8.0.192)'.
2019-11-03 08:53:01,156 1732 [INFO ] - [NuGet] Installing 'NSSM 2.24.101.20180116'.
2019-11-03 08:53:01,186 1732 [DEBUG] - [NuGet] Added file 'License.txt' to folder 'NSSM\legal'.
2019-11-03 08:53:01,186 1732 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'NSSM\legal'.
2019-11-03 08:53:01,186 1732 [DEBUG] - [NuGet] Added file 'chocolateyBeforeModify.ps1' to folder 'NSSM\tools'.
2019-11-03 08:53:01,202 1732 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'NSSM\tools'.
2019-11-03 08:53:01,202 1732 [DEBUG] - [NuGet] Added file 'nssm-2.24-101-g897c7ad.zip' to folder 'NSSM\tools'.
2019-11-03 08:53:01,218 1732 [DEBUG] - [NuGet] Added file 'NSSM.nupkg' to folder 'NSSM'.
2019-11-03 08:53:01,624 1732 [DEBUG] - [NuGet] Added file 'NSSM.nuspec' to folder 'NSSM'.
2019-11-03 08:53:01,640 1732 [INFO ] - [NuGet] Successfully installed 'NSSM 2.24.101.20180116'.
2019-11-03 08:53:01,640 1732 [INFO ] -
NSSM v2.24.101.20180116 (forced) [Approved]
2019-11-03 08:53:01,702 1732 [INFO ] - nssm package files install completed. Performing other installation steps.
2019-11-03 08:53:01,874 1732 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1':
2019-11-03 08:53:01,905 1732 [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-*
2019-11-03 08:53:02,015 1732 [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 ''']
2019-11-03 08:53:02,015 1732 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-11-03 08:53:03,155 1732 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-11-03 08:53:03,578 1732 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-11-03 08:53:03,593 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-11-03 08:53:03,593 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-11-03 08:53:03,593 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-11-03 08:53:03,608 1732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-11-03 08:53:03,608 1732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-11-03 08:53:03,608 1732 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-11-03 08:53:03,608 1732 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-11-03 08:53:03,624 1732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-11-03 08:53:03,624 1732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-11-03 08:53:03,624 1732 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-11-03 08:53:03,624 1732 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-11-03 08:53:03,639 1732 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-11-03 08:53:03,639 1732 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-11-03 08:53:03,639 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-11-03 08:53:03,639 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-11-03 08:53:03,655 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-11-03 08:53:03,655 1732 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-11-03 08:53:03,655 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-11-03 08:53:03,655 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:03,671 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-11-03 08:53:03,671 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-11-03 08:53:03,671 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-11-03 08:53:03,686 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-11-03 08:53:03,686 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-11-03 08:53:03,686 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-11-03 08:53:03,686 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-11-03 08:53:03,702 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-11-03 08:53:03,702 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-11-03 08:53:03,702 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-11-03 08:53:03,718 1732 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-11-03 08:53:03,718 1732 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-11-03 08:53:03,718 1732 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-11-03 08:53:03,718 1732 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-11-03 08:53:03,733 1732 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-11-03 08:53:03,733 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-11-03 08:53:03,733 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:03,733 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-11-03 08:53:03,749 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-11-03 08:53:03,749 1732 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-11-03 08:53:03,749 1732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-11-03 08:53:03,764 1732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-11-03 08:53:03,764 1732 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-11-03 08:53:03,764 1732 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-11-03 08:53:03,764 1732 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-11-03 08:53:03,780 1732 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-11-03 08:53:03,780 1732 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-11-03 08:53:03,780 1732 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-11-03 08:53:03,780 1732 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-11-03 08:53:03,796 1732 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-11-03 08:53:03,796 1732 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-11-03 08:53:03,796 1732 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-11-03 08:53:03,811 1732 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-11-03 08:53:03,843 1732 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-11-03 08:53:03,843 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-11-03 08:53:03,858 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-11-03 08:53:03,858 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-11-03 08:53:03,858 1732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-11-03 08:53:03,858 1732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-11-03 08:53:03,874 1732 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-11-03 08:53:03,874 1732 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-11-03 08:53:03,874 1732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-11-03 08:53:03,889 1732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-11-03 08:53:03,889 1732 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-11-03 08:53:03,889 1732 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-11-03 08:53:03,889 1732 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-11-03 08:53:03,905 1732 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-11-03 08:53:03,905 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-11-03 08:53:03,905 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-11-03 08:53:03,905 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-11-03 08:53:03,921 1732 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-11-03 08:53:03,921 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-11-03 08:53:03,921 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:03,921 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-11-03 08:53:03,936 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-11-03 08:53:03,936 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-11-03 08:53:03,936 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-11-03 08:53:03,952 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-11-03 08:53:03,952 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-11-03 08:53:03,952 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-11-03 08:53:03,952 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-11-03 08:53:03,968 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-11-03 08:53:03,968 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-11-03 08:53:03,968 1732 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-11-03 08:53:03,968 1732 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-11-03 08:53:03,983 1732 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-11-03 08:53:03,983 1732 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-11-03 08:53:03,983 1732 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-11-03 08:53:03,999 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-11-03 08:53:03,999 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:03,999 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-11-03 08:53:03,999 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-11-03 08:53:04,014 1732 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-11-03 08:53:04,014 1732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-11-03 08:53:04,014 1732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-11-03 08:53:04,014 1732 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-11-03 08:53:04,030 1732 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-11-03 08:53:04,030 1732 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-11-03 08:53:04,030 1732 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-11-03 08:53:04,030 1732 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-11-03 08:53:04,046 1732 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-11-03 08:53:04,046 1732 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-11-03 08:53:04,046 1732 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-11-03 08:53:04,046 1732 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-11-03 08:53:04,061 1732 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-11-03 08:53:04,061 1732 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-11-03 08:53:04,061 1732 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-11-03 08:53:04,077 1732 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-11-03 08:53:04,077 1732 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-11-03 08:53:04,077 1732 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-11-03 08:53:04,077 1732 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-11-03 08:53:04,093 1732 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-11-03 08:53:04,093 1732 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-11-03 08:53:04,093 1732 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-11-03 08:53:04,108 1732 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-11-03 08:53:04,108 1732 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-11-03 08:53:04,108 1732 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-11-03 08:53:04,108 1732 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-11-03 08:53:04,124 1732 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-11-03 08:53:04,124 1732 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-11-03 08:53:04,124 1732 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-11-03 08:53:04,139 1732 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-11-03 08:53:04,139 1732 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-11-03 08:53:04,139 1732 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-11-03 08:53:04,139 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-11-03 08:53:04,155 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:04,155 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-11-03 08:53:04,155 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-11-03 08:53:04,171 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-11-03 08:53:04,171 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-11-03 08:53:04,171 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-11-03 08:53:04,171 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-11-03 08:53:04,186 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-11-03 08:53:04,186 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-11-03 08:53:04,186 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-11-03 08:53:04,202 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-11-03 08:53:04,202 1732 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-11-03 08:53:04,202 1732 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-11-03 08:53:04,202 1732 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-11-03 08:53:04,233 1732 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-11-03 08:53:04,233 1732 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-11-03 08:53:04,249 1732 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-11-03 08:53:04,249 1732 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:04,249 1732 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-11-03 08:53:04,249 1732 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-11-03 08:53:04,264 1732 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-11-03 08:53:04,264 1732 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-11-03 08:53:04,264 1732 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-11-03 08:53:04,280 1732 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-11-03 08:53:04,280 1732 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-11-03 08:53:04,280 1732 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-11-03 08:53:04,280 1732 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-11-03 08:53:04,296 1732 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-11-03 08:53:04,296 1732 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-11-03 08:53:04,296 1732 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-11-03 08:53:04,296 1732 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-11-03 08:53:04,311 1732 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-11-03 08:53:04,311 1732 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-11-03 08:53:04,311 1732 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-11-03 08:53:04,452 1732 [DEBUG] - ---------------------------Script Execution---------------------------
2019-11-03 08:53:04,468 1732 [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: '',
2019-11-03 08:53:04,515 1732 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1'
2019-11-03 08:53:04,624 1732 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2019-11-03 08:53:04,686 1732 [INFO ] - Installing 64 bit version
2019-11-03 08:53:04,702 1732 [INFO ] -
2019-11-03 08:53:04,812 1732 [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'
2019-11-03 08:53:04,812 1732 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-11-03 08:53:04,843 1732 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip to C:\ProgramData\chocolatey\lib\NSSM\tools...
2019-11-03 08:53:04,843 1732 [INFO ] -
2019-11-03 08:53:04,874 1732 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2019-11-03 08:53:04,968 1732 [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"]
2019-11-03 08:53:05,375 1732 [INFO ] - VERBOSE:
2019-11-03 08:53:05,389 1732 [INFO ] - VERBOSE: 7-Zip 18.06 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-12-30
2019-11-03 08:53:05,389 1732 [INFO ] - VERBOSE:
2019-11-03 08:53:05,405 1732 [INFO ] - VERBOSE: Scanning the drive for archives:
2019-11-03 08:53:05,405 1732 [INFO ] - VERBOSE: 1 file, 415458 bytes (406 KiB)
2019-11-03 08:53:05,421 1732 [INFO ] - VERBOSE:
2019-11-03 08:53:05,421 1732 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip
2019-11-03 08:53:05,421 1732 [INFO ] - VERBOSE: --
2019-11-03 08:53:05,436 1732 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip
2019-11-03 08:53:05,436 1732 [INFO ] - VERBOSE: Type = zip
2019-11-03 08:53:05,436 1732 [INFO ] - VERBOSE: Physical Size = 415458
2019-11-03 08:53:05,452 1732 [INFO ] - VERBOSE:
2019-11-03 08:53:05,452 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad
2019-11-03 08:53:05,483 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\ChangeLog.txt
2019-11-03 08:53:05,499 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\README.txt
2019-11-03 08:53:05,499 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src
2019-11-03 08:53:05,499 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\.gitattributes
2019-11-03 08:53:05,514 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\account.cpp
2019-11-03 08:53:05,514 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\account.h
2019-11-03 08:53:05,514 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\console.cpp
2019-11-03 08:53:05,530 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\console.h
2019-11-03 08:53:05,530 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\env.cpp
2019-11-03 08:53:05,530 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\env.h
2019-11-03 08:53:05,546 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\event.cpp
2019-11-03 08:53:05,546 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\event.h
2019-11-03 08:53:05,546 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\gui.cpp
2019-11-03 08:53:05,546 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\gui.h
2019-11-03 08:53:05,561 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\hook.cpp
2019-11-03 08:53:05,561 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\hook.h
2019-11-03 08:53:05,561 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\imports.cpp
2019-11-03 08:53:05,577 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\imports.h
2019-11-03 08:53:05,577 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\io.cpp
2019-11-03 08:53:05,577 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\io.h
2019-11-03 08:53:05,577 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\messages.mc
2019-11-03 08:53:05,593 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.cpp
2019-11-03 08:53:05,593 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.h
2019-11-03 08:53:05,593 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.ico
2019-11-03 08:53:05,608 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.rc
2019-11-03 08:53:05,608 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.sln
2019-11-03 08:53:05,608 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.vcproj
2019-11-03 08:53:05,624 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\process.cpp
2019-11-03 08:53:05,624 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\process.h
2019-11-03 08:53:05,624 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\registry.cpp
2019-11-03 08:53:05,639 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\registry.h
2019-11-03 08:53:05,639 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\resource.h
2019-11-03 08:53:05,639 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\service.cpp
2019-11-03 08:53:05,655 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\service.h
2019-11-03 08:53:05,655 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\settings.cpp
2019-11-03 08:53:05,655 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\settings.h
2019-11-03 08:53:05,655 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\utf8.cpp
2019-11-03 08:53:05,671 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\utf8.h
2019-11-03 08:53:05,671 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\version.cmd
2019-11-03 08:53:05,671 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win32
2019-11-03 08:53:05,686 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win32\nssm.exe
2019-11-03 08:53:05,686 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win64
2019-11-03 08:53:05,686 1732 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win64\nssm.exe
2019-11-03 08:53:05,702 1732 [INFO ] - VERBOSE: Everything is Ok
2019-11-03 08:53:05,718 1732 [INFO ] - VERBOSE:
2019-11-03 08:53:05,718 1732 [INFO ] - VERBOSE: Folders: 4
2019-11-03 08:53:05,718 1732 [INFO ] - VERBOSE: Files: 40
2019-11-03 08:53:05,733 1732 [INFO ] - VERBOSE: Size: 1411772
2019-11-03 08:53:05,733 1732 [INFO ] - VERBOSE: Compressed: 415458
2019-11-03 08:53:05,858 1732 [DEBUG] - $exitCode was passed null
2019-11-03 08:53:05,858 1732 [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'.
2019-11-03 08:53:05,905 1732 [DEBUG] - 7z exit code: 0
2019-11-03 08:53:05,921 1732 [INFO ] - C:\ProgramData\chocolatey\lib\NSSM\tools
2019-11-03 08:53:05,984 1732 [DEBUG] - ----------------------------------------------------------------------
2019-11-03 08:53:05,999 1732 [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'.
2019-11-03 08:53:06,015 1732 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-11-03 08:53:06,047 1732 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-11-03 08:53:06,328 1732 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\NSSM'
2019-11-03 08:53:06,343 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\nssm-2.24-101-g897c7ad.zip.txt'
with checksum '646835BFD914EEB14B1EB50F92721B6C'
2019-11-03 08:53:06,343 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\NSSM.nupkg'
with checksum '4997E9319A7CEA960E731B7BDF25DEC1'
2019-11-03 08:53:06,343 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\NSSM.nuspec'
with checksum '4A90600D0AF8D01F83C9292D5B7CCE11'
2019-11-03 08:53:06,358 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\legal\License.txt'
with checksum 'F862A0CAC71EB253A3DDDF75BD056F0F'
2019-11-03 08:53:06,358 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\legal\VERIFICATION.txt'
with checksum '8591C7D2CED72370160BAAD01E373EFA'
2019-11-03 08:53:06,358 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyBeforeModify.ps1'
with checksum 'E404813C6C470EF6D868D205C4649408'
2019-11-03 08:53:06,374 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1'
with checksum '2A67BD22033BDF5CB20693640EF65B28'
2019-11-03 08:53:06,374 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\nssm.exe'
with checksum '1136EFB1A46D1F2D508162387F30DC4D'
2019-11-03 08:53:06,436 1732 [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"']
2019-11-03 08:53:07,577 1732 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.0.30319.33440
2019-11-03 08:53:07,577 1732 [DEBUG] - [ShimGen] for Microsoft (R) .NET Framework 4.5
2019-11-03 08:53:07,593 1732 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2019-11-03 08:53:07,593 1732 [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'
2019-11-03 08:53:07,593 1732 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\nssm.exe'
2019-11-03 08:53:07,593 1732 [INFO ] - ShimGen has successfully created a shim for nssm.exe
2019-11-03 08:53:07,608 1732 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\nssm.exe
Targeting: C:\ProgramData\chocolatey\lib\NSSM\tools\nssm.exe
IsGui:False
2019-11-03 08:53:07,702 1732 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2019-11-03 08:53:07,733 1732 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\NSSM.2.24.101.20180116".
2019-11-03 08:53:07,781 1732 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\NSSM.2.24.101.20180116\.files'
2019-11-03 08:53:07,796 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\NSSM.2.24.101.20180116\.extra".
2019-11-03 08:53:07,796 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\NSSM.2.24.101.20180116\.version".
2019-11-03 08:53:07,796 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\NSSM.2.24.101.20180116\.sxs".
2019-11-03 08:53:07,796 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\NSSM.2.24.101.20180116\.pin".
2019-11-03 08:53:07,811 1732 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-11-03 08:53:07,827 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\NSSM\.chocolateyPending".
2019-11-03 08:53:07,843 1732 [INFO ] - The install of nssm was successful.
2019-11-03 08:53:07,843 1732 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\NSSM\tools'
2019-11-03 08:53:07,843 1732 [INFO ] - [NuGet] Installing 'server-jre8 8.0.202'.
2019-11-03 08:53:07,858 1732 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'server-jre8\tools'.
2019-11-03 08:53:07,858 1732 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'server-jre8\tools'.
2019-11-03 08:53:07,858 1732 [DEBUG] - [NuGet] Added file 'server-jre8.nupkg' to folder 'server-jre8'.
2019-11-03 08:53:08,077 1732 [DEBUG] - [NuGet] Added file 'server-jre8.nuspec' to folder 'server-jre8'.
2019-11-03 08:53:08,077 1732 [INFO ] - [NuGet] Successfully installed 'server-jre8 8.0.202'.
2019-11-03 08:53:08,077 1732 [INFO ] -
server-jre8 v8.0.202 (forced) [Approved] - Possibly broken
2019-11-03 08:53:08,093 1732 [INFO ] - server-jre8 package files install completed. Performing other installation steps.
2019-11-03 08:53:08,108 1732 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1':
2019-11-03 08:53:08,108 1732 [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
2019-11-03 08:53:08,108 1732 [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 ''']
2019-11-03 08:53:08,156 1732 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-11-03 08:53:08,171 1732 [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.
2019-11-03 08:53:08,171 1732 [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.
2019-11-03 08:53:08,186 1732 [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.
2019-11-03 08:53:08,186 1732 [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.
2019-11-03 08:53:08,374 1732 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-11-03 08:53:08,483 1732 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-11-03 08:53:08,483 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-11-03 08:53:08,483 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-11-03 08:53:08,499 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-11-03 08:53:08,499 1732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-11-03 08:53:08,499 1732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-11-03 08:53:08,515 1732 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-11-03 08:53:08,515 1732 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-11-03 08:53:08,515 1732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-11-03 08:53:08,515 1732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-11-03 08:53:08,530 1732 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-11-03 08:53:08,530 1732 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-11-03 08:53:08,530 1732 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-11-03 08:53:08,530 1732 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-11-03 08:53:08,546 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-11-03 08:53:08,546 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-11-03 08:53:08,546 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-11-03 08:53:08,561 1732 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-11-03 08:53:08,561 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-11-03 08:53:08,561 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:08,561 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-11-03 08:53:08,577 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-11-03 08:53:08,577 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-11-03 08:53:08,577 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-11-03 08:53:08,593 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-11-03 08:53:08,593 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-11-03 08:53:08,593 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-11-03 08:53:08,593 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-11-03 08:53:08,608 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-11-03 08:53:08,608 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-11-03 08:53:08,608 1732 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-11-03 08:53:08,608 1732 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-11-03 08:53:08,624 1732 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-11-03 08:53:08,624 1732 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-11-03 08:53:08,624 1732 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-11-03 08:53:08,640 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-11-03 08:53:08,640 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:08,640 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-11-03 08:53:08,640 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-11-03 08:53:08,655 1732 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-11-03 08:53:08,655 1732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-11-03 08:53:08,655 1732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-11-03 08:53:08,671 1732 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-11-03 08:53:08,671 1732 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-11-03 08:53:08,671 1732 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-11-03 08:53:08,671 1732 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-11-03 08:53:08,686 1732 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-11-03 08:53:08,686 1732 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-11-03 08:53:08,686 1732 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-11-03 08:53:08,686 1732 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-11-03 08:53:08,702 1732 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-11-03 08:53:08,702 1732 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-11-03 08:53:08,702 1732 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-11-03 08:53:08,718 1732 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-11-03 08:53:08,718 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-11-03 08:53:08,718 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-11-03 08:53:08,718 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-11-03 08:53:08,733 1732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-11-03 08:53:08,733 1732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-11-03 08:53:08,733 1732 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-11-03 08:53:08,749 1732 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-11-03 08:53:08,749 1732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-11-03 08:53:08,749 1732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-11-03 08:53:08,749 1732 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-11-03 08:53:08,764 1732 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-11-03 08:53:08,764 1732 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-11-03 08:53:08,764 1732 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-11-03 08:53:08,780 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-11-03 08:53:08,780 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-11-03 08:53:08,780 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-11-03 08:53:08,780 1732 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-11-03 08:53:08,796 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-11-03 08:53:08,796 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:08,796 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-11-03 08:53:08,796 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-11-03 08:53:08,811 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-11-03 08:53:08,811 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-11-03 08:53:08,811 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-11-03 08:53:08,827 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-11-03 08:53:08,827 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-11-03 08:53:08,843 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-11-03 08:53:08,843 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-11-03 08:53:08,843 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-11-03 08:53:08,858 1732 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-11-03 08:53:08,858 1732 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-11-03 08:53:08,858 1732 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-11-03 08:53:08,858 1732 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-11-03 08:53:08,874 1732 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-11-03 08:53:08,874 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-11-03 08:53:08,874 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:08,890 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-11-03 08:53:08,890 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-11-03 08:53:08,890 1732 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-11-03 08:53:08,890 1732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-11-03 08:53:08,905 1732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-11-03 08:53:08,905 1732 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-11-03 08:53:08,905 1732 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-11-03 08:53:08,921 1732 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-11-03 08:53:08,921 1732 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-11-03 08:53:08,921 1732 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-11-03 08:53:08,921 1732 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-11-03 08:53:08,936 1732 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-11-03 08:53:08,936 1732 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-11-03 08:53:08,936 1732 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-11-03 08:53:08,936 1732 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-11-03 08:53:08,952 1732 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-11-03 08:53:08,952 1732 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-11-03 08:53:08,952 1732 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-11-03 08:53:08,968 1732 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-11-03 08:53:08,968 1732 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-11-03 08:53:08,968 1732 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-11-03 08:53:08,968 1732 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-11-03 08:53:08,983 1732 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-11-03 08:53:08,983 1732 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-11-03 08:53:08,983 1732 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-11-03 08:53:08,999 1732 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-11-03 08:53:08,999 1732 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-11-03 08:53:08,999 1732 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-11-03 08:53:08,999 1732 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-11-03 08:53:09,014 1732 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-11-03 08:53:09,014 1732 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-11-03 08:53:09,014 1732 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-11-03 08:53:09,014 1732 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-11-03 08:53:09,030 1732 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-11-03 08:53:09,030 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-11-03 08:53:09,030 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:09,046 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-11-03 08:53:09,046 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-11-03 08:53:09,046 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-11-03 08:53:09,046 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-11-03 08:53:09,061 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-11-03 08:53:09,061 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-11-03 08:53:09,061 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-11-03 08:53:09,077 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-11-03 08:53:09,077 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-11-03 08:53:09,077 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-11-03 08:53:09,077 1732 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-11-03 08:53:09,093 1732 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-11-03 08:53:09,093 1732 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-11-03 08:53:09,093 1732 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-11-03 08:53:09,108 1732 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-11-03 08:53:09,108 1732 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-11-03 08:53:09,108 1732 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:09,108 1732 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-11-03 08:53:09,124 1732 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-11-03 08:53:09,124 1732 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-11-03 08:53:09,124 1732 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-11-03 08:53:09,124 1732 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-11-03 08:53:09,139 1732 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-11-03 08:53:09,139 1732 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-11-03 08:53:09,139 1732 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-11-03 08:53:09,155 1732 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-11-03 08:53:09,155 1732 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-11-03 08:53:09,155 1732 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-11-03 08:53:09,155 1732 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-11-03 08:53:09,171 1732 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-11-03 08:53:09,171 1732 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-11-03 08:53:09,171 1732 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-11-03 08:53:09,171 1732 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-11-03 08:53:09,186 1732 [DEBUG] - ---------------------------Script Execution---------------------------
2019-11-03 08:53:09,186 1732 [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: '',
2019-11-03 08:53:09,202 1732 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1'
2019-11-03 08:53:09,249 1732 [DEBUG] - Running Get-ProcessorBits
2019-11-03 08:53:09,280 1732 [DEBUG] - Running Get-ToolsLocation
2019-11-03 08:53:09,390 1732 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2019-11-03 08:53:09,499 1732 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2019-11-03 08:53:09,546 1732 [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);
}
}
2019-11-03 08:53:50,015 1732 [DEBUG] - Running Update-SessionEnvironment
2019-11-03 08:53:50,015 1732 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2019-11-03 08:53:50,483 1732 [DEBUG] - No Package Parameters Passed in
2019-11-03 08:53:50,499 1732 [DEBUG] - Installing to C:\tools\Java\server-jre, Params: ForceEnvVars=False, EnvVariableType=Machine
2019-11-03 08:53:50,530 1732 [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
2019-11-03 08:53:53,577 1732 [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
2019-11-03 08:53:53,593 1732 [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'.
2019-11-03 08:53:53,593 1732 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-11-03 08:53:53,624 1732 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-11-03 08:53:53,640 1732 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2019-11-03 08:53:53,640 1732 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2019-11-03 08:53:53,655 1732 [DEBUG] - * ChocolateyLastPathUpdate='132172448048274977' (User)
2019-11-03 08:53:53,655 1732 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2019-11-03 08:53:53,655 1732 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\server-jre8'
2019-11-03 08:53:53,671 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre8\server-jre8.nupkg'
with checksum '06872787D43B2C1FC8DCE5C1BE514E67'
2019-11-03 08:53:53,671 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre8\server-jre8.nuspec'
with checksum '181FFF175A322FBC727D22933B2625E3'
2019-11-03 08:53:53,671 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1'
with checksum '471B798AAB6CF757465017CFA01FB0E8'
2019-11-03 08:53:53,687 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyUninstall.ps1'
with checksum '6B1472C53E04599ACE54B13D57E2C830'
2019-11-03 08:53:53,687 1732 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202".
2019-11-03 08:53:53,702 1732 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.files'
2019-11-03 08:53:53,702 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.arguments".
2019-11-03 08:53:53,718 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.extra".
2019-11-03 08:53:53,718 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.version".
2019-11-03 08:53:53,718 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.sxs".
2019-11-03 08:53:53,733 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.pin".
2019-11-03 08:53:53,733 1732 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-11-03 08:53:53,749 1732 [ERROR] - The install of server-jre8 was NOT successful.
2019-11-03 08:53:53,749 1732 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1'.
See log for details.
2019-11-03 08:53:53,764 1732 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2019-11-03 08:53:53,780 1732 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\server-jre8'
to 'C:\ProgramData\chocolatey\lib-bad\server-jre8'
2019-11-03 08:53:55,796 1732 [INFO ] - [NuGet] Installing 'server-jre 8.0.192'.
2019-11-03 08:53:55,811 1732 [DEBUG] - [NuGet] Added file 'server-jre.nupkg' to folder 'server-jre'.
2019-11-03 08:53:56,047 1732 [DEBUG] - [NuGet] Added file 'server-jre.nuspec' to folder 'server-jre'.
2019-11-03 08:53:56,047 1732 [INFO ] - [NuGet] Successfully installed 'server-jre 8.0.192'.
2019-11-03 08:53:56,061 1732 [INFO ] -
server-jre v8.0.192 (forced) [Approved] - Possibly broken
2019-11-03 08:53:56,061 1732 [INFO ] - server-jre package files install completed. Performing other installation steps.
2019-11-03 08:53:56,077 1732 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\server-jre'
2019-11-03 08:53:56,077 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre\server-jre.nupkg'
with checksum '9DFB48EF6558DA80C87ECFFADB9E20B3'
2019-11-03 08:53:56,077 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre\server-jre.nuspec'
with checksum '641E5DF726F83DB3789A1CA3B8365AFB'
2019-11-03 08:53:56,093 1732 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192".
2019-11-03 08:53:56,093 1732 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192\.files'
2019-11-03 08:53:56,108 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192\.extra".
2019-11-03 08:53:56,108 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192\.version".
2019-11-03 08:53:56,108 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192\.sxs".
2019-11-03 08:53:56,124 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192\.pin".
2019-11-03 08:53:56,124 1732 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-11-03 08:53:56,124 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\server-jre\.chocolateyPending".
2019-11-03 08:53:56,124 1732 [INFO ] - The install of server-jre was successful.
2019-11-03 08:53:56,139 1732 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2019-11-03 08:53:56,139 1732 [INFO ] - [NuGet] Installing 'kafka 1.1.0'.
2019-11-03 08:53:56,139 1732 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'kafka\tools'.
2019-11-03 08:53:56,155 1732 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'kafka\tools'.
2019-11-03 08:53:56,155 1732 [DEBUG] - [NuGet] Added file 'kafka.nupkg' to folder 'kafka'.
2019-11-03 08:53:56,468 1732 [DEBUG] - [NuGet] Added file 'kafka.nuspec' to folder 'kafka'.
2019-11-03 08:53:56,468 1732 [INFO ] - [NuGet] Successfully installed 'kafka 1.1.0'.
2019-11-03 08:53:56,483 1732 [INFO ] -
kafka v1.1.0 (forced) [Approved] - Possibly broken
2019-11-03 08:53:56,483 1732 [INFO ] - kafka package files install completed. Performing other installation steps.
2019-11-03 08:53:56,500 1732 [DEBUG] - Setting installer args for kafka
2019-11-03 08:53:56,500 1732 [DEBUG] - Setting package parameters for kafka
2019-11-03 08:53:56,500 1732 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyinstall.ps1':
2019-11-03 08:53:56,515 1732 [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
2019-11-03 08:53:56,515 1732 [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 ''']
2019-11-03 08:53:56,515 1732 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-11-03 08:53:56,530 1732 [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.
2019-11-03 08:53:56,530 1732 [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.
2019-11-03 08:53:56,530 1732 [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.
2019-11-03 08:53:56,530 1732 [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.
2019-11-03 08:53:56,811 1732 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-11-03 08:53:56,921 1732 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-11-03 08:53:56,936 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-11-03 08:53:56,936 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-11-03 08:53:56,936 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-11-03 08:53:56,952 1732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-11-03 08:53:56,952 1732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-11-03 08:53:56,952 1732 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-11-03 08:53:56,952 1732 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-11-03 08:53:56,952 1732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-11-03 08:53:56,968 1732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-11-03 08:53:56,968 1732 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-11-03 08:53:56,968 1732 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-11-03 08:53:56,968 1732 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-11-03 08:53:56,983 1732 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-11-03 08:53:56,983 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-11-03 08:53:56,999 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-11-03 08:53:56,999 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-11-03 08:53:56,999 1732 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-11-03 08:53:56,999 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-11-03 08:53:57,014 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:57,014 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-11-03 08:53:57,014 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-11-03 08:53:57,014 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-11-03 08:53:57,030 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-11-03 08:53:57,030 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-11-03 08:53:57,030 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-11-03 08:53:57,046 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-11-03 08:53:57,046 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-11-03 08:53:57,046 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-11-03 08:53:57,046 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-11-03 08:53:57,061 1732 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-11-03 08:53:57,061 1732 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-11-03 08:53:57,061 1732 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-11-03 08:53:57,077 1732 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-11-03 08:53:57,077 1732 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-11-03 08:53:57,077 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-11-03 08:53:57,077 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:57,093 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-11-03 08:53:57,093 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-11-03 08:53:57,093 1732 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-11-03 08:53:57,093 1732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-11-03 08:53:57,108 1732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-11-03 08:53:57,108 1732 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-11-03 08:53:57,108 1732 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-11-03 08:53:57,124 1732 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-11-03 08:53:57,124 1732 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-11-03 08:53:57,124 1732 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-11-03 08:53:57,124 1732 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-11-03 08:53:57,139 1732 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-11-03 08:53:57,139 1732 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-11-03 08:53:57,139 1732 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-11-03 08:53:57,139 1732 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-11-03 08:53:57,155 1732 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-11-03 08:53:57,171 1732 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-11-03 08:53:57,171 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-11-03 08:53:57,171 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-11-03 08:53:57,186 1732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-11-03 08:53:57,186 1732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-11-03 08:53:57,186 1732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-11-03 08:53:57,202 1732 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-11-03 08:53:57,202 1732 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-11-03 08:53:57,202 1732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-11-03 08:53:57,202 1732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-11-03 08:53:57,218 1732 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-11-03 08:53:57,218 1732 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-11-03 08:53:57,218 1732 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-11-03 08:53:57,218 1732 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-11-03 08:53:57,233 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-11-03 08:53:57,233 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-11-03 08:53:57,233 1732 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-11-03 08:53:57,233 1732 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-11-03 08:53:57,249 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-11-03 08:53:57,249 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:57,249 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-11-03 08:53:57,249 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-11-03 08:53:57,264 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-11-03 08:53:57,264 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-11-03 08:53:57,264 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-11-03 08:53:57,264 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-11-03 08:53:57,280 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-11-03 08:53:57,280 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-11-03 08:53:57,280 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-11-03 08:53:57,280 1732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-11-03 08:53:57,296 1732 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-11-03 08:53:57,296 1732 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-11-03 08:53:57,296 1732 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-11-03 08:53:57,311 1732 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-11-03 08:53:57,311 1732 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-11-03 08:53:57,311 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-11-03 08:53:57,311 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:57,327 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-11-03 08:53:57,327 1732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-11-03 08:53:57,327 1732 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-11-03 08:53:57,327 1732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-11-03 08:53:57,343 1732 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-11-03 08:53:57,343 1732 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-11-03 08:53:57,343 1732 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-11-03 08:53:57,343 1732 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-11-03 08:53:57,358 1732 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-11-03 08:53:57,358 1732 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-11-03 08:53:57,358 1732 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-11-03 08:53:57,358 1732 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-11-03 08:53:57,358 1732 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-11-03 08:53:57,374 1732 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-11-03 08:53:57,374 1732 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-11-03 08:53:57,374 1732 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-11-03 08:53:57,374 1732 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-11-03 08:53:57,389 1732 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-11-03 08:53:57,389 1732 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-11-03 08:53:57,389 1732 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-11-03 08:53:57,389 1732 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-11-03 08:53:57,405 1732 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-11-03 08:53:57,405 1732 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-11-03 08:53:57,405 1732 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-11-03 08:53:57,405 1732 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-11-03 08:53:57,421 1732 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-11-03 08:53:57,421 1732 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-11-03 08:53:57,421 1732 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-11-03 08:53:57,436 1732 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-11-03 08:53:57,436 1732 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-11-03 08:53:57,436 1732 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-11-03 08:53:57,436 1732 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-11-03 08:53:57,452 1732 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-11-03 08:53:57,452 1732 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-11-03 08:53:57,452 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-11-03 08:53:57,452 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:57,468 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-11-03 08:53:57,468 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-11-03 08:53:57,468 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-11-03 08:53:57,468 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-11-03 08:53:57,483 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-11-03 08:53:57,483 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-11-03 08:53:57,483 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-11-03 08:53:57,483 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-11-03 08:53:57,499 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-11-03 08:53:57,499 1732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-11-03 08:53:57,499 1732 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-11-03 08:53:57,514 1732 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-11-03 08:53:57,514 1732 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-11-03 08:53:57,514 1732 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-11-03 08:53:57,514 1732 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-11-03 08:53:57,530 1732 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-11-03 08:53:57,530 1732 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-11-03 08:53:57,530 1732 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-11-03 08:53:57,530 1732 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-11-03 08:53:57,546 1732 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-11-03 08:53:57,546 1732 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-11-03 08:53:57,546 1732 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-11-03 08:53:57,546 1732 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-11-03 08:53:57,561 1732 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-11-03 08:53:57,561 1732 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-11-03 08:53:57,561 1732 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-11-03 08:53:57,561 1732 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-11-03 08:53:57,577 1732 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-11-03 08:53:57,577 1732 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-11-03 08:53:57,577 1732 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-11-03 08:53:57,593 1732 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-11-03 08:53:57,593 1732 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-11-03 08:53:57,593 1732 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-11-03 08:53:57,593 1732 [DEBUG] - ---------------------------Script Execution---------------------------
2019-11-03 08:53:57,608 1732 [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: '',
2019-11-03 08:53:57,608 1732 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyinstall.ps1'
2019-11-03 08:53:57,655 1732 [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'
2019-11-03 08:53:57,827 1732 [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 ''
2019-11-03 08:53:57,859 1732 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-11-03 08:53:57,874 1732 [DEBUG] - CPU is 64 bit
2019-11-03 08:53:57,921 1732 [DEBUG] - Running Get-WebHeaders -url 'https://download.nextag.com/apache/kafka/1.1.0/kafka_2.11-1.1.0.tgz' -ErrorAction 'Stop'
2019-11-03 08:53:58,046 1732 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-11-03 08:53:58,061 1732 [DEBUG] - Request Headers:
2019-11-03 08:53:58,094 1732 [DEBUG] - 'Accept':'*/*'
2019-11-03 08:53:58,094 1732 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-11-03 08:53:59,359 1732 [DEBUG] - Url does not have HTTPS available
2019-11-03 08:53:59,422 1732 [DEBUG] - Running Get-WebFileName -url 'http://download.nextag.com/apache/kafka/1.1.0/kafka_2.11-1.1.0.tgz' -defaultName 'kafkaInstall.zip'
2019-11-03 08:54:00,562 1732 [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'"
2019-11-03 08:54:00,577 1732 [DEBUG] - Running Get-WebHeaders -url 'http://download.nextag.com/apache/kafka/1.1.0/kafka_2.11-1.1.0.tgz' -ErrorAction 'Stop'
2019-11-03 08:54:00,593 1732 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-11-03 08:54:00,593 1732 [DEBUG] - Request Headers:
2019-11-03 08:54:00,593 1732 [DEBUG] - 'Accept':'*/*'
2019-11-03 08:54:00,593 1732 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-11-03 08:54:01,655 1732 [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'"
2019-11-03 08:54:01,655 1732 [INFO ] -
2019-11-03 08:54:01,671 1732 [INFO ] - Downloading kafka
from 'http://download.nextag.com/apache/kafka/1.1.0/kafka_2.11-1.1.0.tgz'
2019-11-03 08:54:01,686 1732 [INFO ] -
2019-11-03 08:54:01,719 1732 [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'
2019-11-03 08:54:01,733 1732 [DEBUG] - Setting request timeout to 30000
2019-11-03 08:54:01,733 1732 [DEBUG] - Setting read/write timeout to 2700000
2019-11-03 08:54:01,733 1732 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-11-03 08:54:03,812 1732 [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
2019-11-03 08:54:03,812 1732 [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'.
2019-11-03 08:54:03,827 1732 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-11-03 08:54:03,843 1732 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-11-03 08:54:03,858 1732 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\kafka'
2019-11-03 08:54:03,858 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\kafka\kafka.nupkg'
with checksum 'CFE884BBE9A269D200BEC42F21A02D63'
2019-11-03 08:54:03,874 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\kafka\kafka.nuspec'
with checksum '36B065719A010D58EB660233861D5380'
2019-11-03 08:54:03,874 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyinstall.ps1'
with checksum '3405DC93A5B2E0521358651FA6F07FF1'
2019-11-03 08:54:03,874 1732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyuninstall.ps1'
with checksum 'CC46D08329F70B3EAF2404056DCE3C68'
2019-11-03 08:54:03,889 1732 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\kafka.1.1.0".
2019-11-03 08:54:03,889 1732 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\kafka.1.1.0\.files'
2019-11-03 08:54:03,889 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\kafka.1.1.0\.arguments".
2019-11-03 08:54:03,905 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\kafka.1.1.0\.extra".
2019-11-03 08:54:03,905 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\kafka.1.1.0\.version".
2019-11-03 08:54:03,905 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\kafka.1.1.0\.sxs".
2019-11-03 08:54:03,905 1732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\kafka.1.1.0\.pin".
2019-11-03 08:54:03,921 1732 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-11-03 08:54:03,921 1732 [ERROR] - The install of kafka was NOT successful.
2019-11-03 08:54:03,921 1732 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyinstall.ps1'.
See log for details.
2019-11-03 08:54:03,936 1732 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\kafka'
to 'C:\ProgramData\chocolatey\lib-bad\kafka'
2019-11-03 08:54:05,953 1732 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\kafka.1.1.0.nupkg".
2019-11-03 08:54:06,046 1732 [WARN ] -
Chocolatey installed 2/4 packages. 2 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-11-03 08:54:06,046 1732 [INFO ] -
2019-11-03 08:54:06,061 1732 [ERROR] - Failures
2019-11-03 08:54:06,061 1732 [ERROR] - - server-jre8 (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1'.
See log for details.
2019-11-03 08:54:06,061 1732 [ERROR] - - kafka (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\kafka\tools\chocolateyinstall.ps1'.
See log for details.
2019-11-03 08:54:06,077 1732 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-11-03 08:54:06,140 1732 [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.