Skip to content

Instantly share code, notes, and snippets.

@dazinator
Created July 30, 2018 16:45
Show Gist options
  • Save dazinator/3dc8b23991715abfbed87bec017093ef to your computer and use it in GitHub Desktop.
Save dazinator/3dc8b23991715abfbed87bec017093ef to your computer and use it in GitHub Desktop.
choco package failure
Command line: "C:\ProgramData\chocolatey\choco.exe" install android-sdk -dvy
[16:21:46]
[16:21:46]Received arguments: install android-sdk -dvy
[16:21:46]
[16:21:46]RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
[16:21:46]
[16:21:46]Sending message 'PreRunMessage' out if there are subscribers...
[16:21:46]
[16:21:46][Pending] Removing all pending packages that should not be considered installed...
[16:21:46]
[16:21:46]The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
[16:21:46]
[16:21:46]
[16:21:46]
[16:21:46]NOTE: Hiding sensitive configuration data! Please double and triple
[16:21:46]
[16:21:46] check to be sure no sensitive data is shown, especially if copying
[16:21:46]
[16:21:46] output to a gist for review.
[16:21:46]
[16:21:46]Configuration: CommandName='install'|
[16:21:46]
[16:21:46]CacheLocation='C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey'|
[16:21:46]
[16:21:46]
[16:21:46]
[16:21:46]ContainsLegacyPackageInstalls='True'|
[16:21:46]
[16:21:46]CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
[16:21:46]
[16:21:46]Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
[16:21:46]
[16:21:46]Debug='True'|Verbose='True'|Trace='False'|Force='False'|Noop='False'|
[16:21:46]
[16:21:46]HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
[16:21:46]
[16:21:46]QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
[16:21:46]
[16:21:46]AllowUnofficialBuild='False'|Input='android-sdk'|AllVersions='False'|
[16:21:46]
[16:21:46]SkipPackageInstallProvider='False'|PackageNames='android-sdk'|
[16:21:46]
[16:21:46]Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
[16:21:46]
[16:21:46]NotSilent='False'|ApplyPackageParametersToDependencies='False'|
[16:21:46]
[16:21:46]ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
[16:21:46]
[16:21:46]AllowMultipleVersions='False'|AllowDowngrade='False'|
[16:21:46]
[16:21:46]ForceDependencies='False'|Information.PlatformType='Windows'|
[16:21:46]
[16:21:46]Information.PlatformVersion='10.0.16299.0'|
[16:21:46]
[16:21:46]Information.PlatformName='Windows Server 2016'|
[16:21:46]
[16:21:46]Information.ChocolateyVersion='0.10.11.0'|
[16:21:46]
[16:21:46]Information.ChocolateyProductVersion='0.10.11'|
[16:21:46]
[16:21:46]Information.FullName='choco, Version=0.10.11.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
[16:21:46]
[16:21:46]
[16:21:46]
[16:21:46]Information.Is64BitOperatingSystem='True'|
[16:21:46]
[16:21:46]Information.Is64BitProcess='True'|Information.IsInteractive='False'|
[16:21:46]
[16:21:46]Information.UserName='ContainerAdministrator'|
[16:21:46]
[16:21:46]Information.UserDomainName='User Manager'|
[16:21:46]
[16:21:46]Information.IsUserAdministrator='True'|
[16:21:46]
[16:21:46]Information.IsUserSystemAccount='False'|
[16:21:46]
[16:21:46]Information.IsUserRemoteDesktop='False'|
[16:21:46]
[16:21:46]Information.IsUserRemote='True'|
[16:21:46]
[16:21:46]Information.IsProcessElevated='True'|
[16:21:46]
[16:21:46]Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
[16:21:46]
[16:21:46]Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
[16:21:46]
[16:21:46]Features.AllowEmptyChecksums='False'|
[16:21:46]
[16:21:46]Features.AllowEmptyChecksumsSecure='True'|
[16:21:46]
[16:21:46]Features.FailOnAutoUninstaller='False'|
[16:21:46]
[16:21:46]Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
[16:21:46]
[16:21:46]Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
[16:21:46]
[16:21:46]Features.VirusCheck='False'|
[16:21:46]
[16:21:46]Features.FailOnInvalidOrMissingLicense='False'|
[16:21:46]
[16:21:46]Features.IgnoreInvalidOptionsSwitches='True'|
[16:21:46]
[16:21:46]Features.UsePackageExitCodes='True'|
[16:21:46]
[16:21:46]Features.UseFipsCompliantChecksums='False'|
[16:21:46]
[16:21:46]Features.ShowNonElevatedWarnings='True'|
[16:21:46]
[16:21:46]Features.ShowDownloadProgress='False'|
[16:21:46]
[16:21:46]Features.StopOnFirstPackageFailure='False'|
[16:21:46]
[16:21:46]Features.UseRememberedArgumentsForUpgrades='False'|
[16:21:46]
[16:21:46]Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
[16:21:46]
[16:21:46]Features.RemovePackageInformationOnUninstall='False'|
[16:21:46]
[16:21:46]Features.ScriptsCheckLastExitCode='False'|
[16:21:46]
[16:21:46]ListCommand.LocalOnly='False'|
[16:21:46]
[16:21:46]ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
[16:21:46]
[16:21:46]ListCommand.PageSize='25'|ListCommand.Exact='False'|
[16:21:46]
[16:21:46]ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
[16:21:46]
[16:21:46]ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
[16:21:46]
[16:21:46]ListCommand.ApprovedOnly='False'|
[16:21:46]
[16:21:46]ListCommand.DownloadCacheAvailable='False'|
[16:21:46]
[16:21:46]ListCommand.NotBroken='False'|
[16:21:46]
[16:21:46]ListCommand.IncludeVersionOverrides='False'|
[16:21:46]
[16:21:46]UpgradeCommand.FailOnUnfound='False'|
[16:21:46]
[16:21:46]UpgradeCommand.FailOnNotInstalled='False'|
[16:21:46]
[16:21:46]UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
[16:21:46]
[16:21:46]UpgradeCommand.ExcludePrerelease='False'|
[16:21:46]
[16:21:46]NewCommand.AutomaticPackage='False'|
[16:21:46]
[16:21:46]NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
[16:21:46]
[16:21:46]SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
[16:21:46]
[16:21:46]SourceCommand.AllowSelfService='False'|
[16:21:46]
[16:21:46]SourceCommand.VisibleToAdminsOnly='False'|
[16:21:46]
[16:21:46]FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
[16:21:46]
[16:21:46]PinCommand.Command='unknown'|OutdatedCommand.IgnorePinned='False'|
[16:21:46]
[16:21:46]Proxy.BypassOnLocal='True'|
[16:21:46]
[16:21:46]_ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
[16:21:46]
[16:21:46]Installing the following packages:
[16:21:46]
[16:21:46]android-sdk
[16:21:46]
[16:21:46]By installing you accept licenses for the packages.
[16:21:46]
[16:21:47][NuGet] Attempting to resolve dependency 'jdk8'.
[16:21:47]
[16:21:49][NuGet] Installing 'jdk8 8.0.181'.
[16:21:49]
[16:21:49][NuGet] Added file 'chocolateyInstall.ps1' to folder 'jdk8\tools'.
[16:21:49]
[16:21:49][NuGet] Added file 'chocolateyUninstall.ps1' to folder 'jdk8\tools'.
[16:21:49]
[16:21:49][NuGet] Added file 'common.ps1' to folder 'jdk8\tools'.
[16:21:49]
[16:21:49][NuGet] Added file 'jdk8.nuspec' to folder 'jdk8'.
[16:21:49]
[16:21:49][NuGet] Added file 'jdk8.nupkg' to folder 'jdk8'.
[16:21:49]
[16:21:49][NuGet] Successfully installed 'jdk8 8.0.181'.
[16:21:49]
[16:21:49]
[16:21:49]
[16:21:49]jdk8 v8.0.181 [Approved]
[16:21:49]
[16:21:49]jdk8 package files install completed. Performing other installation steps.
[16:21:49]
[16:21:49]Contents of 'C:\ProgramData\chocolatey\lib\jdk8\tools\chocolateyInstall.ps1':
[16:21:49]
[16:21:49]$script_path = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
[16:21:49]
[16:21:49]$common = $(Join-Path $script_path "common.ps1")
[16:21:49]
[16:21:49]. $common
[16:21:49]
[16:21:49]
[16:21:49]
[16:21:49]#installs jdk8
[16:21:49]
[16:21:49]try {
[16:21:49]
[16:21:49] $params = "$env:chocolateyPackageParameters"
[16:21:49]
[16:21:49] $params = (ConvertFrom-StringData $params.Replace(";", "`n"))
[16:21:49]
[16:21:49]
[16:21:49]
[16:21:49] out-installdir($params)
[16:21:49]
[16:21:49] if (check-both($params)) {
[16:21:49]
[16:21:49] chocolatey-install $params $true
[16:21:49]
[16:21:49] chocolatey-install $params
[16:21:49]
[16:21:49] out-both($params)
[16:21:49]
[16:21:49] } else {
[16:21:49]
[16:21:49] out-i586($params)
[16:21:49]
[16:21:49] chocolatey-install $params
[16:21:49]
[16:21:49] }
[16:21:49]
[16:21:49] set-path
[16:21:49]
[16:21:49]} catch {
[16:21:49]
[16:21:49] if ($_.Exception.InnerException) {
[16:21:49]
[16:21:49] $msg = $_.Exception.InnerException.Message
[16:21:49]
[16:21:49] } else {
[16:21:49]
[16:21:49] $msg = $_.Exception.Message
[16:21:49]
[16:21:49] }
[16:21:49]
[16:21:49] throw
[16:21:49]
[16:21:49]}
[16:21:49]
[16:21:49]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\jdk8\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
[16:21:49]
[16:21:49]Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
[16:21:49]
[16:21:50]Host version is 5.1.16299.15, PowerShell Version is '5.1.16299.492' and CLR Version is '4.0.30319.42000'.
[16:21:50]
[16:21:50]VERBOSE: Exporting function 'Format-FileSize'.
[16:21:50]
[16:21:50]VERBOSE: Exporting function 'Get-ChecksumValid'.
[16:21:50]
[16:21:51]VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
[16:21:51]
[16:21:51]VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
[16:21:51]
[16:21:51]VERBOSE: Exporting function 'Get-EnvironmentVariable'.
[16:21:51]
[16:21:51]VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
[16:21:51]
[16:21:51]VERBOSE: Exporting function 'Get-FtpFile'.
[16:21:51]
[16:21:52]VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
[16:21:52]
[16:21:52]VERBOSE: Exporting function 'Get-PackageParameters'.
[16:21:52]
[16:21:52]VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
[16:21:52]
[16:21:52]VERBOSE: Exporting function 'Get-ToolsLocation'.
[16:21:52]
[16:21:52]VERBOSE: Exporting function 'Get-UACEnabled'.
[16:21:52]
[16:21:52]VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
[16:21:52]
[16:21:52]VERBOSE: Exporting function 'Get-VirusCheckValid'.
[16:21:52]
[16:21:52]VERBOSE: Exporting function 'Get-WebFile'.
[16:21:52]
[16:21:52]VERBOSE: Exporting function 'Get-WebFileName'.
[16:21:52]
[16:21:52]VERBOSE: Exporting function 'Get-WebHeaders'.
[16:21:52]
[16:21:52]VERBOSE: Exporting function 'Install-BinFile'.
[16:21:52]
[16:21:52]VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
[16:21:52]
[16:21:52]VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
[16:21:52]
[16:21:52]VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
[16:21:52]
[16:21:52]VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
[16:21:52]
[16:21:52]VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
[16:21:52]
[16:21:53]VERBOSE: Exporting function 'Install-ChocolateyPackage'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Install-ChocolateyPath'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Install-Vsix'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Set-EnvironmentVariable'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Set-PowerShellExitCode'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Test-ProcessAdminRights'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Uninstall-BinFile'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Update-SessionEnvironment'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Write-ChocolateyFailure'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Write-ChocolateySuccess'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Write-FileUpdateLog'.
[16:21:53]
[16:21:53]VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
[16:21:53]
[16:21:53]VERBOSE: Exporting alias 'Get-ProcessorBits'.
[16:21:53]
[16:21:53]VERBOSE: Exporting alias 'Get-OSBitness'.
[16:21:53]
[16:21:53]VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
[16:21:53]
[16:21:54]VERBOSE: Exporting alias 'Generate-BinFile'.
[16:21:54]
[16:21:54]VERBOSE: Exporting alias 'Add-BinFile'.
[16:21:54]
[16:21:54]VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
[16:21:54]
[16:21:54]VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
[16:21:54]
[16:21:54]VERBOSE: Exporting alias 'Remove-BinFile'.
[16:21:54]
[16:21:54]VERBOSE: Exporting alias 'refreshenv'.
[16:21:54]
[16:21:54]Loading community extensions
[16:21:54]
[16:21:54]Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
[16:21:54]
[16:21:54]VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-AppInstallLocation'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-EffectiveProxy'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-PackageCacheLocation'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-PackageParameters'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-WebContent'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Register-Application'.
[16:21:54]
[16:21:54]VERBOSE: Importing function 'Get-AppInstallLocation'.
[16:21:54]
[16:21:54]VERBOSE: Importing function 'Get-AvailableDriveLetter'.
[16:21:54]
[16:21:54]VERBOSE: Importing function 'Get-EffectiveProxy'.
[16:21:54]
[16:21:54]VERBOSE: Importing function 'Get-PackageCacheLocation'.
[16:21:54]
[16:21:54]VERBOSE: Importing function 'Get-PackageParameters'.
[16:21:54]
[16:21:54]VERBOSE: Importing function 'Get-UninstallRegistryKey'.
[16:21:54]
[16:21:54]VERBOSE: Importing function 'Get-WebContent'.
[16:21:54]
[16:21:54]VERBOSE: Importing function 'Register-Application'.
[16:21:54]
[16:21:54]Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
[16:21:54]
[16:21:54]VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Install-WindowsUpdate'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Test-WindowsUpdate'.
[16:21:54]
[16:21:54]VERBOSE: Importing function 'Install-WindowsUpdate'.
[16:21:54]
[16:21:54]VERBOSE: Importing function 'Test-WindowsUpdate'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Format-FileSize'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-ChecksumValid'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-EnvironmentVariable'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-FtpFile'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-PackageParameters'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-ToolsLocation'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-UACEnabled'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-VirusCheckValid'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-WebFile'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-WebFileName'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Get-WebHeaders'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Install-BinFile'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
[16:21:54]
[16:21:54]VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
[16:21:54]
[16:21:55]VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Install-ChocolateyPackage'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Install-ChocolateyPath'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Install-Vsix'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Set-EnvironmentVariable'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Set-PowerShellExitCode'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Test-ProcessAdminRights'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Uninstall-BinFile'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Update-SessionEnvironment'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Write-ChocolateyFailure'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Write-ChocolateySuccess'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Write-FileUpdateLog'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Get-AppInstallLocation'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Get-EffectiveProxy'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Get-PackageCacheLocation'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Get-WebContent'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Register-Application'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Install-WindowsUpdate'.
[16:21:55]
[16:21:55]VERBOSE: Exporting function 'Test-WindowsUpdate'.
[16:21:55]
[16:21:55]VERBOSE: Exporting alias 'Get-ProcessorBits'.
[16:21:55]
[16:21:55]VERBOSE: Exporting alias 'Get-OSBitness'.
[16:21:55]
[16:21:55]VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
[16:21:55]
[16:21:55]VERBOSE: Exporting alias 'Generate-BinFile'.
[16:21:55]
[16:21:55]VERBOSE: Exporting alias 'Add-BinFile'.
[16:21:55]
[16:21:55]VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
[16:21:55]
[16:21:55]VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
[16:21:55]
[16:21:55]VERBOSE: Exporting alias 'Remove-BinFile'.
[16:21:55]
[16:21:55]VERBOSE: Exporting alias 'refreshenv'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Format-FileSize'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-AppInstallLocation'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-AvailableDriveLetter'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-ChecksumValid'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-ChocolateyUnzip'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-ChocolateyWebFile'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-EffectiveProxy'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-EnvironmentVariable'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-FtpFile'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-OSArchitectureWidth'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-PackageCacheLocation'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-PackageParameters'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-ToolsLocation'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-UACEnabled'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-UninstallRegistryKey'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-VirusCheckValid'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-WebContent'.
[16:21:55]
[16:21:55]VERBOSE: Importing function 'Get-WebFile'.
[16:21:55]
[16:21:56]VERBOSE: Importing function 'Get-WebFileName'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Get-WebHeaders'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Install-BinFile'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Install-ChocolateyPackage'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Install-ChocolateyPath'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Install-ChocolateyShortcut'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Install-Vsix'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Install-WindowsUpdate'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Register-Application'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Set-EnvironmentVariable'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Set-PowerShellExitCode'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Test-ProcessAdminRights'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Test-WindowsUpdate'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Uninstall-BinFile'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Update-SessionEnvironment'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Write-ChocolateyFailure'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Write-ChocolateySuccess'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Write-FileUpdateLog'.
[16:21:56]
[16:21:56]VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
[16:21:56]
[16:21:56]VERBOSE: Importing alias 'Add-BinFile'.
[16:21:56]
[16:21:56]VERBOSE: Importing alias 'Generate-BinFile'.
[16:21:56]
[16:21:56]VERBOSE: Importing alias 'Get-InstallRegistryKey'.
[16:21:56]
[16:21:56]VERBOSE: Importing alias 'Get-OSBitness'.
[16:21:56]
[16:21:56]VERBOSE: Importing alias 'Get-ProcessorBits'.
[16:21:56]
[16:21:56]VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
[16:21:56]
[16:21:56]VERBOSE: Importing alias 'refreshenv'.
[16:21:56]
[16:21:56]VERBOSE: Importing alias 'Remove-BinFile'.
[16:21:56]
[16:21:56]VERBOSE: Importing alias 'Start-ChocolateyProcess'.
[16:21:56]
[16:21:56]Running 'ChocolateyScriptRunner' for jdk8 v8.0.181 with packageScript 'C:\ProgramData\chocolatey\lib\jdk8\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\jdk8', installArguments: '', packageParameters: '',
[16:21:56]
[16:21:56]Running 'C:\ProgramData\chocolatey\lib\jdk8\tools\chocolateyInstall.ps1'
[16:21:56]
[16:21:56]Running Get-ProcessorBits -compare '64'
[16:21:56]
[16:21:56]Downloading JDK from http://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181-windows-x64.exe
[16:21:56]
[16:22:09]Running Get-ProcessorBits -compare '64'
[16:22:09]
[16:22:09]Running Get-ProcessorBits -compare '64'
[16:22:09]
[16:22:09]Running Get-ProcessorBits -compare '64'
[16:22:09]
[16:22:09]Running Install-ChocolateyInstallPackage -packageName 'jdk8' -fileType 'exe' -silentArgs '/s STATIC=1 ADDLOCAL="ToolsFeature,SourceFeature"' -file 'C:\ProgramData\chocolatey\lib\jdk8\tools\jdk-8u181-windows-x64.exe'
[16:22:09]
[16:22:09]Running Get-ProcessorBits -compare '32'
[16:22:09]
[16:22:09]Installing jdk8...
[16:22:09]
[16:22:09]Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\ProgramData\chocolatey\lib\jdk8\tools' -statements '/s STATIC=1 ADDLOCAL="ToolsFeature,SourceFeature" ' -exeToRun 'C:\ProgramData\chocolatey\lib\jdk8\tools\jdk-8u181-windows-x64.exe'
[16:22:09]
[16:22:10]Test-ProcessAdminRights: returning True
[16:22:10]
[16:22:10]Elevating permissions and running ["C:\ProgramData\chocolatey\lib\jdk8\tools\jdk-8u181-windows-x64.exe" /s STATIC=1 ADDLOCAL="ToolsFeature,SourceFeature" ]. This may take a while, depending on the statements.
[16:22:10]
[16:22:42]Command ["C:\ProgramData\chocolatey\lib\jdk8\tools\jdk-8u181-windows-x64.exe" /s STATIC=1 ADDLOCAL="ToolsFeature,SourceFeature" ] exited with '-1073741819'.
[16:22:42]
[16:22:42]ERROR: Running ["C:\ProgramData\chocolatey\lib\jdk8\tools\jdk-8u181-windows-x64.exe" /s STATIC=1 ADDLOCAL="ToolsFeature,SourceFeature" ] was not successful. Exit code was '-1073741819'. See log for possible error messages.
[16:22:42]
[16:22:42] at Start-ChocolateyProcessAsAdmin, C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1: line 317
[16:22:42]
[16:22:42]at Install-ChocolateyInstallPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyInstallPackage.ps1: line 279
[16:22:42]
[16:22:42]at chocolatey-install, C:\ProgramData\chocolatey\lib\jdk8\tools\common.ps1: line 148
[16:22:42]
[16:22:42]at <ScriptBlock>, C:\ProgramData\chocolatey\lib\jdk8\tools\chocolateyInstall.ps1: line 17
[16:22:42]
[16:22:42]at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 48
[16:22:42]
[16:22:42]at <ScriptBlock>, <No file>: line 1
[16:22:42]
[16:22:42]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\jdk8\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '-1073741819'.
[16:22:42]
[16:22:42]Calling command ['"C:\Windows\System32\shutdown.exe" /a']
[16:22:42]
[16:22:42]android-sdk not installed. An error occurred during installation:
[16:22:42]
[16:22:42] The system cannot find the file specified
[16:22:42]
[16:22:42]android-sdk package files install completed. Performing other installation steps.
[16:22:42]
[16:22:42]No package information as package is null.
[16:22:42]
[16:22:42]Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey".
[16:22:42]
[16:22:42]This is try 1/3. Retrying after 300 milliseconds.
[16:22:42]
[16:22:42] Error converted to warning:
[16:22:42]
[16:22:42] System.IO.FileNotFoundException: (2) The system cannot find the file specified: [\\?\C:\ProgramData]
[16:22:42]
[16:22:42] at Alphaleonis.Win32.NativeError.ThrowException(UInt32 errorCode, String readPath, String writePath)
[16:22:42]
[16:22:42] at Alphaleonis.Win32.Filesystem.Directory.CreateDirectoryCore(KernelTransaction transaction, String path, String templatePath, ObjectSecurity directorySecurity, Boolean compress, PathFormat pathFormat)
[16:22:42]
[16:22:42] at Alphaleonis.Win32.Filesystem.Directory.CreateDirectory(String path)
[16:22:42]
[16:22:42] at chocolatey.infrastructure.filesystem.DotNetFileSystem.<>c__DisplayClass64.<create_directory>b__63()
[16:22:42]
[16:22:42] at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
[16:22:42]
[16:22:42] at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds, Boolean isSilent)
[16:22:42]
[16:22:43]This is try 2/3. Retrying after 400 milliseconds.
[16:22:43]
[16:22:43] Error converted to warning:
[16:22:43]
[16:22:43] System.IO.FileNotFoundException: (2) The system cannot find the file specified: [\\?\C:\ProgramData]
[16:22:43]
[16:22:43] at Alphaleonis.Win32.NativeError.ThrowException(UInt32 errorCode, String readPath, String writePath)
[16:22:43]
[16:22:43] at Alphaleonis.Win32.Filesystem.Directory.CreateDirectoryCore(KernelTransaction transaction, String path, String templatePath, ObjectSecurity directorySecurity, Boolean compress, PathFormat pathFormat)
[16:22:43]
[16:22:43] at Alphaleonis.Win32.Filesystem.Directory.CreateDirectory(String path)
[16:22:43]
[16:22:43] at chocolatey.infrastructure.filesystem.DotNetFileSystem.<>c__DisplayClass64.<create_directory>b__63()
[16:22:43]
[16:22:43] at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
[16:22:43]
[16:22:43] at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds, Boolean isSilent)
[16:22:43]
[16:22:43]Maximum tries of 3 reached. Throwing error.
[16:22:43]
[16:22:43]Cannot create directory "C:\ProgramData\chocolatey\.chocolatey". Error was:
[16:22:43]
[16:22:43]System.IO.FileNotFoundException: (2) The system cannot find the file specified: [\\?\C:\ProgramData]
[16:22:43]
[16:22:43] at Alphaleonis.Win32.NativeError.ThrowException(UInt32 errorCode, String readPath, String writePath)
[16:22:43]
[16:22:43] at Alphaleonis.Win32.Filesystem.Directory.CreateDirectoryCore(KernelTransaction transaction, String path, String templatePath, ObjectSecurity directorySecurity, Boolean compress, PathFormat pathFormat)
[16:22:43]
[16:22:43] at Alphaleonis.Win32.Filesystem.Directory.CreateDirectory(String path)
[16:22:43]
[16:22:43] at chocolatey.infrastructure.filesystem.DotNetFileSystem.<>c__DisplayClass64.<create_directory>b__63()
[16:22:43]
[16:22:43] at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
[16:22:43]
[16:22:43] at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds, Boolean isSilent)
[16:22:43]
[16:22:43] at chocolatey.infrastructure.filesystem.DotNetFileSystem.create_directory(String directoryPath)
[16:22:43]
[16:22:43] at chocolatey.infrastructure.filesystem.DotNetFileSystem.create_directory_if_not_exists(String directoryPath, Boolean ignoreError)
[16:22:43]
[16:22:43]Sending message 'PostRunMessage' out if there are subscribers...
[16:22:43]
[16:22:43](2) The system cannot find the file specified: [\\?\C:\ProgramData]
[16:22:43]
[16:22:43]Exiting with 1
[16:22:43]
[16:22:44]Install android sdk finished.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment