Skip to content

Instantly share code, notes, and snippets.

@Kristinita
Created March 24, 2017 17:48
Show Gist options
  • Save Kristinita/dc502edf878faaee32f1983257f7cec1 to your computer and use it in GitHub Desktop.
Save Kristinita/dc502edf878faaee32f1983257f7cec1 to your computer and use it in GitHub Desktop.
SopCast succesful install, but exit code 4
============================================================
2017-03-24 20:39:20,071 [INFO ] - Chocolatey v0.10.3
2017-03-24 20:39:20,075 [DEBUG] - Chocolatey is running on Windows v 10.0.14393.0
2017-03-24 20:39:20,075 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2017-03-24 20:39:20,075 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2017-03-24 20:39:20,081 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install "D:\SashaChocolatey\packages\SopCast\sopcast.4.2.0.nupkg" -y
2017-03-24 20:39:20,081 [DEBUG] - Received arguments: install D:\SashaChocolatey\packages\SopCast\sopcast.4.2.0.nupkg -y
2017-03-24 20:39:20,123 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2017-03-24 20:39:20,127 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2017-03-24 20:39:20,133 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2017-03-24 20:39:20,209 [DEBUG] - Pending file found for mega, but the file is locked by another process.
2017-03-24 20:39:20,242 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2017-03-24 20:39:20,243 [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.
2017-03-24 20:39:20,248 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='False'|Verbose='False'|Force='False'|Noop='False'|
HelpRequested='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|
Input='D:\SashaChocolatey\packages\SopCast\sopcast.4.2.0.nupkg'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='D:\SashaChocolatey\packages\SopCast\sopcast.4.2.0.nupkg'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.14393.0'|
Information.PlatformName='Windows'|
Information.ChocolateyVersion='0.10.3.0'|
Information.ChocolateyProductVersion='0.10.3'|
Information.FullName='choco, Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64Bit='True'|Information.IsInteractive='True'|
Information.IsUserAdministrator='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseFipsCompliantChecksums='False'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|FeatureCommand.Command='unknown'|
ConfigCommand.Command='unknown'|PinCommand.Command='unknown'|
2017-03-24 20:39:20,249 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2017-03-24 20:39:20,252 [INFO ] - Installing the following packages:
2017-03-24 20:39:20,253 [INFO ] - D:\SashaChocolatey\packages\SopCast\sopcast.4.2.0.nupkg
2017-03-24 20:39:20,254 [INFO ] - By installing you accept licenses for the packages.
2017-03-24 20:39:20,287 [DEBUG] - Updating source and package name to handle *.nupkg or *.nuspec file.
2017-03-24 20:39:20,747 [INFO ] -
sopcast v4.2.0
2017-03-24 20:39:20,755 [INFO ] - sopcast package files install completed. Performing other installation steps.
2017-03-24 20:39:20,951 [DEBUG] - Contents of 'D:\Chocolatey\lib\sopcast\tools\chocolateyinstall.ps1':
2017-03-24 20:39:20,956 [DEBUG] - $ErrorActionPreference = 'Stop';
$packageName = 'SopCast'
$toolsDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$url = 'https://github.com/Kristinita/SashaChocolatey/raw/master/exe/SopCast/Setup-SopCast-4.2.0-2016-5-26.exe'
$url64 = ''
$packageArgs = @{
packageName = $packageName
fileType = 'exe'
url = $url
url64bit = $url64
# If exit code — 4 or 1223, program will be still installed with success.
validExitCodes = (0, 4)
checksum = '174E7CE19D419780C196B76730985CE3177004C232BFEB39E9E9D2CEEAB5E18B'
checksumType = 'sha256'
checksum64 = ''
checksumType64= 'sha256'
}
# AutoHotkey
$ahkExe = 'AutoHotKey'
$ahkFile = Join-Path $toolsDir "sopcast.ahk"
$ahkProc = Start-Process -FilePath $ahkExe `
-ArgumentList $ahkFile `
-PassThru
$ahkId = $ahkProc.Id
Install-ChocolateyPackage @packageArgs
2017-03-24 20:39:21,102 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'D:\Chocolatey\helpers\chocolateyInstaller.psm1'; & 'D:\Chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'D:\Chocolatey\lib\sopcast\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2017-03-24 20:39:21,119 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2017-03-24 20:39:22,368 [DEBUG] - Host version is 5.1.14393.0, PowerShell Version is '5.1.14393.953' and CLR Version is '4.0.30319.42000'.
2017-03-24 20:39:22,917 [DEBUG] - Loading community extensions
2017-03-24 20:39:22,991 [DEBUG] - Importing 'D:\Chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2017-03-24 20:39:22,993 [INFO ] - VERBOSE: Loading module from path 'D:\Chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2017-03-24 20:39:23,259 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2017-03-24 20:39:23,260 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2017-03-24 20:39:23,261 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2017-03-24 20:39:23,262 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2017-03-24 20:39:23,263 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2017-03-24 20:39:23,264 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2017-03-24 20:39:23,265 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2017-03-24 20:39:23,265 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2017-03-24 20:39:23,266 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2017-03-24 20:39:23,266 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2017-03-24 20:39:23,266 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2017-03-24 20:39:23,266 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2017-03-24 20:39:23,266 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2017-03-24 20:39:23,266 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2017-03-24 20:39:23,304 [DEBUG] - Importing 'D:\Chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2017-03-24 20:39:23,304 [INFO ] - VERBOSE: Loading module from path 'D:\Chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2017-03-24 20:39:23,419 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2017-03-24 20:39:23,420 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2017-03-24 20:39:23,420 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2017-03-24 20:39:23,420 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2017-03-24 20:39:23,432 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2017-03-24 20:39:23,432 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2017-03-24 20:39:23,432 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2017-03-24 20:39:23,433 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2017-03-24 20:39:23,433 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2017-03-24 20:39:23,433 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2017-03-24 20:39:23,433 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2017-03-24 20:39:23,433 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2017-03-24 20:39:23,433 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2017-03-24 20:39:23,434 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2017-03-24 20:39:23,434 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2017-03-24 20:39:23,434 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2017-03-24 20:39:23,434 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2017-03-24 20:39:23,434 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2017-03-24 20:39:23,434 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2017-03-24 20:39:23,435 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2017-03-24 20:39:23,435 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2017-03-24 20:39:23,435 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2017-03-24 20:39:23,435 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2017-03-24 20:39:23,435 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2017-03-24 20:39:23,435 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2017-03-24 20:39:23,436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2017-03-24 20:39:23,436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2017-03-24 20:39:23,436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2017-03-24 20:39:23,436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2017-03-24 20:39:23,436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2017-03-24 20:39:23,436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2017-03-24 20:39:23,437 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2017-03-24 20:39:23,437 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2017-03-24 20:39:23,437 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2017-03-24 20:39:23,437 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2017-03-24 20:39:23,437 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2017-03-24 20:39:23,437 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2017-03-24 20:39:23,438 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2017-03-24 20:39:23,438 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-03-24 20:39:23,438 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2017-03-24 20:39:23,438 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2017-03-24 20:39:23,438 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2017-03-24 20:39:23,438 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2017-03-24 20:39:23,439 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2017-03-24 20:39:23,439 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2017-03-24 20:39:23,439 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2017-03-24 20:39:23,439 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2017-03-24 20:39:23,439 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2017-03-24 20:39:23,439 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2017-03-24 20:39:23,440 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2017-03-24 20:39:23,440 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2017-03-24 20:39:23,440 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2017-03-24 20:39:23,440 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2017-03-24 20:39:23,440 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2017-03-24 20:39:23,441 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2017-03-24 20:39:23,441 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2017-03-24 20:39:23,441 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2017-03-24 20:39:23,441 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2017-03-24 20:39:23,441 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2017-03-24 20:39:23,441 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2017-03-24 20:39:23,442 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2017-03-24 20:39:23,442 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2017-03-24 20:39:23,442 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2017-03-24 20:39:23,442 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2017-03-24 20:39:23,442 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2017-03-24 20:39:23,443 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2017-03-24 20:39:23,443 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2017-03-24 20:39:23,443 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2017-03-24 20:39:23,443 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2017-03-24 20:39:23,443 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2017-03-24 20:39:23,443 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2017-03-24 20:39:23,444 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2017-03-24 20:39:23,444 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2017-03-24 20:39:23,444 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2017-03-24 20:39:23,444 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2017-03-24 20:39:23,444 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2017-03-24 20:39:23,444 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2017-03-24 20:39:23,457 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2017-03-24 20:39:23,457 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2017-03-24 20:39:23,457 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2017-03-24 20:39:23,457 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2017-03-24 20:39:23,457 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2017-03-24 20:39:23,457 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2017-03-24 20:39:23,458 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2017-03-24 20:39:23,458 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2017-03-24 20:39:23,458 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2017-03-24 20:39:23,458 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2017-03-24 20:39:23,458 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2017-03-24 20:39:23,458 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2017-03-24 20:39:23,459 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2017-03-24 20:39:23,459 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2017-03-24 20:39:23,459 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2017-03-24 20:39:23,459 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2017-03-24 20:39:23,459 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2017-03-24 20:39:23,460 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2017-03-24 20:39:23,460 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2017-03-24 20:39:23,460 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2017-03-24 20:39:23,460 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2017-03-24 20:39:23,460 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2017-03-24 20:39:23,460 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2017-03-24 20:39:23,460 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2017-03-24 20:39:23,461 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2017-03-24 20:39:23,461 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2017-03-24 20:39:23,461 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2017-03-24 20:39:23,461 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2017-03-24 20:39:23,461 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-03-24 20:39:23,461 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2017-03-24 20:39:23,462 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2017-03-24 20:39:23,462 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2017-03-24 20:39:23,462 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2017-03-24 20:39:23,462 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2017-03-24 20:39:23,462 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2017-03-24 20:39:23,462 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2017-03-24 20:39:23,463 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2017-03-24 20:39:23,463 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2017-03-24 20:39:23,463 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2017-03-24 20:39:23,463 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2017-03-24 20:39:23,463 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2017-03-24 20:39:23,463 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2017-03-24 20:39:23,463 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2017-03-24 20:39:23,464 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2017-03-24 20:39:23,464 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2017-03-24 20:39:23,531 [DEBUG] - Running 'ChocolateyScriptRunner' for sopcast v4.2.0 with packageScript 'D:\Chocolatey\lib\sopcast\tools\chocolateyinstall.ps1', packageFolder:'D:\Chocolatey\lib\sopcast', installArguments: '', packageParameters: '',
2017-03-24 20:39:23,539 [DEBUG] - Running 'D:\Chocolatey\lib\sopcast\tools\chocolateyinstall.ps1'
2017-03-24 20:39:23,751 [DEBUG] - Running Install-ChocolateyPackage -url 'https://github.com/Kristinita/SashaChocolatey/raw/master/exe/SopCast/Setup-SopCast-4.2.0-2016-5-26.exe' -url64bit '' -checksum '174E7CE19D419780C196B76730985CE3177004C232BFEB39E9E9D2CEEAB5E18B' -checksum64 '' -packageName 'SopCast' -checksumType 'sha256' -fileType 'exe' -validExitCodes '0 4' -checksumType64 'sha256'
2017-03-24 20:39:23,830 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'SopCast' -fileFullPath 'C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey\sopcast\4.2.0\SopCastInstall.exe' -url 'https://github.com/Kristinita/SashaChocolatey/raw/master/exe/SopCast/Setup-SopCast-4.2.0-2016-5-26.exe' -url64bit '' -checksum '174E7CE19D419780C196B76730985CE3177004C232BFEB39E9E9D2CEEAB5E18B' -checksumType 'sha256' -checksum64 '' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2017-03-24 20:39:23,843 [DEBUG] - Running Get-ProcessorBits -compare '64'
2017-03-24 20:39:23,869 [DEBUG] - CPU is 64 bit
2017-03-24 20:39:23,899 [DEBUG] - Running Get-WebFileName -url 'https://github.com/Kristinita/SashaChocolatey/raw/master/exe/SopCast/Setup-SopCast-4.2.0-2016-5-26.exe' -defaultName 'SopCastInstall.exe'
2017-03-24 20:39:26,504 [DEBUG] - Using response url to determine file name. 'https://raw.githubusercontent.com/Kristinita/SashaChocolatey/master/exe/SopCast/Setup-SopCast-4.2.0-2016-5-26.exe'
2017-03-24 20:39:26,510 [DEBUG] - File name determined from url is 'Setup-SopCast-4.2.0-2016-5-26.exe'
2017-03-24 20:39:26,542 [DEBUG] - Running Get-WebHeaders -url 'https://github.com/Kristinita/SashaChocolatey/raw/master/exe/SopCast/Setup-SopCast-4.2.0-2016-5-26.exe' -ErrorAction 'Stop'
2017-03-24 20:39:26,543 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2017-03-24 20:39:26,544 [DEBUG] - Request Headers:
2017-03-24 20:39:26,548 [DEBUG] - 'Accept':'*/*'
2017-03-24 20:39:26,549 [DEBUG] - 'User-Agent':'chocolatey command line'
2017-03-24 20:39:26,909 [DEBUG] - Response Headers:
2017-03-24 20:39:26,912 [DEBUG] - 'Content-Security-Policy':'default-src 'none'; style-src 'unsafe-inline''
2017-03-24 20:39:26,913 [DEBUG] - 'Strict-Transport-Security':'max-age=31536000'
2017-03-24 20:39:26,913 [DEBUG] - 'X-Content-Type-Options':'nosniff'
2017-03-24 20:39:26,914 [DEBUG] - 'X-Frame-Options':'deny'
2017-03-24 20:39:26,914 [DEBUG] - 'X-XSS-Protection':'1; mode=block'
2017-03-24 20:39:26,915 [DEBUG] - 'X-GitHub-Request-Id':'361E:6DC5:3B0E44D:3D6456E:58D559CD'
2017-03-24 20:39:26,915 [DEBUG] - 'Connection':'keep-alive'
2017-03-24 20:39:26,916 [DEBUG] - 'X-Served-By':'cache-fra1226-FRA'
2017-03-24 20:39:26,916 [DEBUG] - 'X-Cache':'HIT'
2017-03-24 20:39:26,916 [DEBUG] - 'X-Cache-Hits':'0'
2017-03-24 20:39:26,917 [DEBUG] - 'X-Timer':'S1490377167.341291,VS0,VE0'
2017-03-24 20:39:26,917 [DEBUG] - 'Vary':'Authorization,Accept-Encoding'
2017-03-24 20:39:26,917 [DEBUG] - 'Access-Control-Allow-Origin':'*'
2017-03-24 20:39:26,918 [DEBUG] - 'X-Fastly-Request-ID':'a2ffdf6056ab4dc1deb3eadf9e535eb9daf52267'
2017-03-24 20:39:26,918 [DEBUG] - 'Accept-Ranges':'bytes'
2017-03-24 20:39:26,920 [DEBUG] - 'Content-Length':'6061510'
2017-03-24 20:39:26,923 [DEBUG] - 'Cache-Control':'max-age=300'
2017-03-24 20:39:26,924 [DEBUG] - 'Content-Type':'application/octet-stream'
2017-03-24 20:39:26,924 [DEBUG] - 'Date':'Fri, 24 Mar 2017 17:39:27 GMT'
2017-03-24 20:39:26,925 [DEBUG] - 'Expires':'Fri, 24 Mar 2017 17:44:27 GMT'
2017-03-24 20:39:26,925 [DEBUG] - 'ETag':'"e7291ad2a6f843978c18a1560eb404a4ed1256d3"'
2017-03-24 20:39:26,925 [DEBUG] - 'Via':'1.1 varnish'
2017-03-24 20:39:26,974 [INFO ] - File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded.
2017-03-24 20:39:26,997 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey\sopcast\4.2.0\Setup-SopCast-4.2.0-2016-5-26.exe' -checksum '174E7CE19D419780C196B76730985CE3177004C232BFEB39E9E9D2CEEAB5E18B' -checksumType 'sha256' -originalUrl 'https://github.com/Kristinita/SashaChocolatey/raw/master/exe/SopCast/Setup-SopCast-4.2.0-2016-5-26.exe' -ErrorAction 'Stop'
2017-03-24 20:39:27,006 [DEBUG] - checksum.exe found at 'D:\Chocolatey\helpers\..\tools\checksum.exe'
2017-03-24 20:39:27,007 [DEBUG] - Executing command ['D:\Chocolatey\helpers\..\tools\checksum.exe' -c="174E7CE19D419780C196B76730985CE3177004C232BFEB39E9E9D2CEEAB5E18B" -t="sha256" -f="C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey\sopcast\4.2.0\Setup-SopCast-4.2.0-2016-5-26.exe"]
2017-03-24 20:39:28,494 [DEBUG] - Command ['D:\Chocolatey\helpers\..\tools\checksum.exe' -c="174E7CE19D419780C196B76730985CE3177004C232BFEB39E9E9D2CEEAB5E18B" -t="sha256" -f="C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey\sopcast\4.2.0\Setup-SopCast-4.2.0-2016-5-26.exe"] exited with '0'.
2017-03-24 20:39:28,496 [DEBUG] - SopCast's requested file has already been downloaded. Using cached copy at
'C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey\sopcast\4.2.0\Setup-SopCast-4.2.0-2016-5-26.exe'.
2017-03-24 20:39:30,505 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2017-03-24 20:39:30,560 [DEBUG] - Verifying package provided checksum of '174E7CE19D419780C196B76730985CE3177004C232BFEB39E9E9D2CEEAB5E18B' for 'C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey\sopcast\4.2.0\Setup-SopCast-4.2.0-2016-5-26.exe'.
2017-03-24 20:39:30,562 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey\sopcast\4.2.0\Setup-SopCast-4.2.0-2016-5-26.exe' -checksum '174E7CE19D419780C196B76730985CE3177004C232BFEB39E9E9D2CEEAB5E18B' -checksumType 'sha256' -originalUrl 'https://github.com/Kristinita/SashaChocolatey/raw/master/exe/SopCast/Setup-SopCast-4.2.0-2016-5-26.exe'
2017-03-24 20:39:30,564 [DEBUG] - checksum.exe found at 'D:\Chocolatey\helpers\..\tools\checksum.exe'
2017-03-24 20:39:30,565 [DEBUG] - Executing command ['D:\Chocolatey\helpers\..\tools\checksum.exe' -c="174E7CE19D419780C196B76730985CE3177004C232BFEB39E9E9D2CEEAB5E18B" -t="sha256" -f="C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey\sopcast\4.2.0\Setup-SopCast-4.2.0-2016-5-26.exe"]
2017-03-24 20:39:30,704 [DEBUG] - Command ['D:\Chocolatey\helpers\..\tools\checksum.exe' -c="174E7CE19D419780C196B76730985CE3177004C232BFEB39E9E9D2CEEAB5E18B" -t="sha256" -f="C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey\sopcast\4.2.0\Setup-SopCast-4.2.0-2016-5-26.exe"] exited with '0'.
2017-03-24 20:39:30,718 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'SopCast' -fileType 'exe' -silentArgs '' -file 'C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey\sopcast\4.2.0\Setup-SopCast-4.2.0-2016-5-26.exe' -validExitCodes '0 4' -useOnlyPackageSilentArguments 'False'
2017-03-24 20:39:30,719 [INFO ] - Installing SopCast...
2017-03-24 20:39:30,775 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 4' -workingDirectory 'C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey\sopcast\4.2.0' -statements ' ' -exeToRun 'C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey\sopcast\4.2.0\Setup-SopCast-4.2.0-2016-5-26.exe'
2017-03-24 20:39:30,775 [DEBUG] - Elevating Permissions and running ["C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey\sopcast\4.2.0\Setup-SopCast-4.2.0-2016-5-26.exe" ]. This may take a while, depending on the statements.
2017-03-24 20:39:30,855 [DEBUG] - Unable to detect whether the file is a text file or not - The file was a text file but is attempting to be run as an executable - 'C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey\sopcast\4.2.0\Setup-SopCast-4.2.0-2016-5-26.exe'
2017-03-24 20:39:30,895 [DEBUG] - Setting RunAs for elevation
2017-03-24 20:39:45,724 [DEBUG] - Command ["C:\Users\SashaChernykh\AppData\Local\Temp\chocolatey\sopcast\4.2.0\Setup-SopCast-4.2.0-2016-5-26.exe" ] exited with '0'.
2017-03-24 20:39:45,729 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2017-03-24 20:39:45,774 [INFO ] - SopCast has been installed.
2017-03-24 20:39:45,964 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'D:\Chocolatey\helpers\chocolateyInstaller.psm1'; & 'D:\Chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'D:\Chocolatey\lib\sopcast\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '4'.
2017-03-24 20:39:45,972 [DEBUG] - Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
2017-03-24 20:39:46,193 [DEBUG] - Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
2017-03-24 20:39:46,325 [DEBUG] - Capturing package files in 'D:\Chocolatey\lib\sopcast'
2017-03-24 20:39:46,326 [DEBUG] - Found 'D:\Chocolatey\lib\sopcast\sopcast.nupkg'
with checksum 'C4A6B61A712CC6D0EF54029C36961A1E'
2017-03-24 20:39:46,326 [DEBUG] - Found 'D:\Chocolatey\lib\sopcast\sopcast.nuspec'
with checksum '84801F3CD6085BCF609664FE6B0B827F'
2017-03-24 20:39:46,327 [DEBUG] - Found 'D:\Chocolatey\lib\sopcast\tools\chocolateyinstall.ps1'
with checksum '601487D8EBB3EAACFFFFB0C5E11CAE8A'
2017-03-24 20:39:46,327 [DEBUG] - Found 'D:\Chocolatey\lib\sopcast\tools\sopcast.ahk'
with checksum '7DE92DFDEC4459F621F1271BAED41F06'
2017-03-24 20:39:46,367 [DEBUG] - Attempting to delete file "D:\Chocolatey\.chocolatey\sopcast.4.2.0\.registry.update".
2017-03-24 20:39:46,375 [DEBUG] - Attempting to copy "D:\Chocolatey\.chocolatey\sopcast.4.2.0\.files.update"
to "D:\Chocolatey\.chocolatey\sopcast.4.2.0\.files".
2017-03-24 20:39:46,377 [DEBUG] - Attempting to delete file "D:\Chocolatey\.chocolatey\sopcast.4.2.0\.files.update".
2017-03-24 20:39:46,378 [DEBUG] - Attempting to delete file "D:\Chocolatey\.chocolatey\sopcast.4.2.0\.sxs".
2017-03-24 20:39:46,378 [DEBUG] - Attempting to delete file "D:\Chocolatey\.chocolatey\sopcast.4.2.0\.pin".
2017-03-24 20:39:46,423 [DEBUG] - Attempting to delete directory "D:\Chocolatey\lib-bad\sopcast".
2017-03-24 20:39:46,439 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2017-03-24 20:39:46,440 [ERROR] - The install of sopcast was NOT successful.
2017-03-24 20:39:46,443 [ERROR] - Error while running 'D:\Chocolatey\lib\sopcast\tools\chocolateyinstall.ps1'.
See log for details.
2017-03-24 20:39:46,446 [DEBUG] - Moving 'D:\Chocolatey\lib\sopcast'
to 'D:\Chocolatey\lib-bad\sopcast'
2017-03-24 20:39:48,586 [WARN ] -
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (D:\Chocolatey\logs\chocolatey.log).
2017-03-24 20:39:48,589 [INFO ] -
2017-03-24 20:39:48,590 [ERROR] - Failures
2017-03-24 20:39:48,593 [ERROR] - - sopcast (exited 4) - Error while running 'D:\Chocolatey\lib\sopcast\tools\chocolateyinstall.ps1'.
See log for details.
2017-03-24 20:39:48,600 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2017-03-24 20:39:48,632 [DEBUG] - Exiting with 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment