Skip to content

Instantly share code, notes, and snippets.

@benshep
Created August 14, 2017 11:06
Show Gist options
  • Save benshep/9b035930d1fa78dfff544ea99c2120d6 to your computer and use it in GitHub Desktop.
Save benshep/9b035930d1fa78dfff544ea99c2120d6 to your computer and use it in GitHub Desktop.
Chocolatey beyondcompare debug log
C:\ProgramData\chocolatey\lib>choco upgrade beyondcompare -Debug
Chocolatey v0.10.7
Chocolatey is running on Windows v 6.1.7601.65536
Command line: "C:\ProgramData\chocolatey\choco.exe" upgrade beyondcompare -Debug
Received arguments: upgrade beyondcompare -Debug
The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
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.
Configuration: CommandName='upgrade'|
CacheLocation='C:\Users\bjs5403\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='beyondcompare'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='beyondcompare'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.1.7601.65536'|
Information.PlatformName='Windows 7'|
Information.ChocolateyVersion='0.10.7.0'|
Information.ChocolateyProductVersion='0.10.7'|
Information.FullName='choco, Version=0.10.7.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='BJS5403'|Information.UserDomainName='CLRC'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='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.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
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'|
FeatureCommand.Command='unknown'|
ConfigCommand.Command='unknown'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
_ Chocolatey:ChocolateyUpgradeCommand - Normal Run Mode _
Upgrading the following packages:
beyondcompare
By upgrading you accept licenses for the packages.
beyondcompare is not installed. Installing...
Progress: Downloading beyondcompare 4.2.2.22384... 100%
Progress: Downloading beyondcompare 4.2.2.22384... 100%
[NuGet] Added file 'chocolateyInstall.ps1' to folder 'beyondcompare\tools'.
[NuGet] Added file 'chocolateyUninstall.ps1' to folder 'beyondcompare\tools'.
[NuGet] Added file 'beyondcompare.nuspec' to folder 'beyondcompare'.
[NuGet] Added file 'beyondcompare.nupkg' to folder 'beyondcompare'.
beyondcompare v4.2.2.22384 [Approved]
beyondcompare package files upgrade completed. Performing other installation steps.
Contents of 'C:\ProgramData\chocolatey\lib\beyondcompare\tools\chocolateyInstall.ps1':
$ErrorActionPreference = 'Stop'
$urlBase = "https://www.scootersoftware.com"
$pp = Get-PackageParameters
if ($pp["UICulture"] -ne $null) {
$LCID = (Get-UICulture).LCID
Write-Debug "Calling Get-UICulture (instead of Get-Culture)"
} else {
$LCID = (Get-Culture).LCID
}
$german = @(3079,1031,5127,4103,2055)
$french = @(2060,11276,3084,9228,12300,1036,5132,13324,6156,14348,10252,4108,7180)
$japanese = @(17, 1041)
$version = '4.2.2.22384'
$packageArgs = @{
packageName = 'beyondcompare'
fileType = 'exe'
url = $url
silentArgs = '/SP- /VERYSILENT /NORESTART'
checksum = ''
checksumType = 'sha256'
}
$checksumde = '285e0fbadc283f949e2e699441e41f6c18606fba58eba40b0cc08ea92904fab4'
$checksumfr = '402236ce4fdfb544fe4514459a9e4fdc5a8af35a6829c6d88629afb5dbf059b0'
$checksumjp = 'de8e1b72f2bf18168b45447f2b495f66d78afb0577c4ae9d26a86865f9bd996d'
$checksum = '803536b797c0edfdc99ce82cd7ca2328648f5ea79a6f2f65618a5ad79c14cda8'
if ($german -contains $LCID)
{
$packageArgs.url = "$urlBase/BCompare-de-$version.exe"
$packageArgs.checksum = $checksumde
}
elseif ($french -contains $LCID)
{
$packageArgs.url = "$urlBase/BCompare-fr-$version.exe"
$packageArgs.checksum = $checksumfr
}
elseif ($japanese -contains $LCID)
{
$packageArgs.url = "$urlBase/BCompare-jp-$version.exe"
$packageArgs.checksum = $checksumjp
}
else
{
$packageArgs.url = "$urlBase/BCompare-$version.exe"
$packageArgs.checksum = $checksum
}
Install-ChocolateyPackage @packageArgs
The package beyondcompare wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[N]o/[P]rint): y
Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = ''
;[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramDa
ta\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScri
ptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\beyondcompare\tools\chocolateyInstall.ps
1' -installArguments '' -packageParameters ''']
Host version is 2.0, PowerShell Version is '2.0' and CLR Version is '4.0.30319.42000'.
Loading community extensions
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
Importing 'C:\ProgramData\chocolatey\extensions\mm-choco\Get-AppInstallLocation.psm1'
Importing 'C:\ProgramData\chocolatey\extensions\mm-choco\Get-PackageParameters.psm1'
Importing 'C:\ProgramData\chocolatey\extensions\mm-choco\Register-Application.psm1'
Running 'ChocolateyScriptRunner' for beyondcompare v4.2.2.22384 with packageScript 'C:\ProgramData\c
hocolatey\lib\beyondcompare\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\l
ib\beyondcompare', installArguments: '', packageParameters: '',
Running 'C:\ProgramData\chocolatey\lib\beyondcompare\tools\chocolateyInstall.ps1'
ERROR: The term 'sls' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String commandName, CommandOr
igin commandOrigin)
at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(String commandName, Comma
ndOrigin commandOrigin, Nullable`1 useLocalScope)
at System.Management.Automation.ExecutionContext.CreateCommand(String command)
at System.Management.Automation.CommandNode.CreateCommandProcessor(Int32& index, ExecutionContext
context)
at System.Management.Automation.CommandNode.AddToPipeline(PipelineProcessor pipeline, ExecutionCo
ntext context)
at System.Management.Automation.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& res
ultList, ExecutionContext context)
at System.Management.Automation.ParseTreeNode.Execute(Array input, Pipe outputPipe, ExecutionCont
ext context)
at System.Management.Automation.AssignmentStatementNode.Execute(Array input, Pipe outputPipe, Exe
cutionContext context)
at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array
input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';
[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramDat
a\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScrip
tRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\beyondcompare\tools\chocolateyInstall.ps1
' -installArguments '' -packageParameters '''] exited with '-1'.
Calling command ['"C:\Windows\System32\shutdown.exe" /a']
Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
Capturing package files in 'C:\ProgramData\chocolatey\lib\beyondcompare'
The upgrade of beyondcompare was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\beyondcompare\tools\chocolateyInstall.ps1'.
See log for details.
Chocolatey upgraded 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- beyondcompare (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\beyondcompare\tool
s\chocolateyInstall.ps1'.
See log for details.
Exiting with -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment