Skip to content

Instantly share code, notes, and snippets.

@mwrock
Created June 23, 2016 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwrock/00161c222cce9a0efd222c5eb8f38604 to your computer and use it in GitHub Desktop.
Save mwrock/00161c222cce9a0efd222c5eb8f38604 to your computer and use it in GitHub Desktop.
C:\dev\choco_tests\test-A.1.0> choco install test-a -y --ignore-package-exit-codes --debug --source .
Chocolatey is running on Windows v 10.0.10586.0
Command line: "C:\ProgramData\chocolatey\choco.exe" install test-a -y --ignore-package-exit-codes --debug --source .
Received arguments: install test-a -y --ignore-package-exit-codes --debug --source .
The source '.' 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='install'|
CacheLocation='C:\Users\MattWrock\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='.'|SourceType='normal'|Debug='True'|Verbose='False'|
Force='False'|Noop='False'|HelpRequested='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='test-a'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='test-a'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.10586.0'|
Information.PlatformName='Windows'|
Information.ChocolateyVersion='0.9.10.2'|
Information.ChocolateyProductVersion='0.9.10.2'|
Information.FullName='choco, Version=0.9.10.2, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64Bit='True'|Information.IsInteractive='True'|
Information.IsUserAdministrator='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Features.AutoUninstaller='True'|
Features.CheckSumFiles='True'|Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='False'|
Features.UseFipsCompliantChecksums='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'|
_ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
Installing the following packages:
test-a
By installing you accept licenses for the packages.
[NuGet] Installing 'test-A 1.0'.
[NuGet] Added file 'chocolateyInstall.ps1' to folder 'test-A\tools'.
[NuGet] Added file 'test-A.nuspec' to folder 'test-A'.
[NuGet] Added file 'test-A.nupkg' to folder 'test-A'.
[NuGet] Successfully installed 'test-A 1.0'.
test-A v1.0
Contents of 'C:\ProgramData\chocolatey\lib\test-A\tools\chocolateyInstall.ps1':
Write-Host "Enjoy this test-A package"
exit 3010
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\test-A\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
Host version is 5.0.10586.0, PowerShell Version is '5.0.10586.122' and CLR Version is '4.0.30319.42000'.
Loading community extensions
Running 'ChocolateyScriptRunner' for test-A v1.0 with packageScript 'C:\ProgramData\chocolatey\lib\test-A\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\test-A', installArguments: '', packageParameters: '',
Running 'C:\ProgramData\chocolatey\lib\test-A\tools\chocolateyInstall.ps1'
Enjoy this test-A package
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\test-A\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '3010'.
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\test-A'
The install of test-a was successful.
Software install location not explicitly set, could be in package or
default install location if installer.
Chocolatey installed 1/1 packages. 0 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Packages requiring reboot:
- test-a (exit code 3010)
The recent package changes indicate a reboot is necessary.
Please reboot at your earliest convenience.
Exiting with 3010
C:\dev\choco_tests\test-A.1.0> $LASTEXITCODE
3010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment