Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS C:\Users\test\Desktop\test-params> choco install .\test-params.0.0.1.2.nupkg --params="'/SERVER:test'" -y -d
- The use of .nupkg or .nuspec in for package name or source is known to cause issues. Please use the package id from the nuspec `<id />` with `-s .` (for local folder where nupkg is found).
- Chocolatey v0.10.11
- Chocolatey is running on Windows v 10.0.17134.0
- Command line: "C:\ProgramData\chocolatey\choco.exe" install .\test-params.0.0.1.2.nupkg --params='/SERVER:test' -y -d
- Received arguments: install .\test-params.0.0.1.2.nupkg --params='/SERVER:test' -y -d
- The source 'https://nuget.test.tech/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='install'|
- CacheLocation='C:\Users\test\AppData\Local\Temp\chocolatey'|
- ContainsLegacyPackageInstalls='True'|
- CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
- Sources='https://nuget.test.tech/api/v2/'|SourceType='normal'|
- Debug='True'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
- HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
- QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
- AllowUnofficialBuild='False'|Input='.\test-params.0.0.1.2.nupkg'|
- AllVersions='False'|SkipPackageInstallProvider='False'|
- PackageNames='.\test-params.0.0.1.2.nupkg'|Prerelease='False'|
- ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
- PackageParameters='/SERVER:test'|
- ApplyPackageParametersToDependencies='False'|
- ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
- AllowMultipleVersions='False'|AllowDowngrade='False'|
- ForceDependencies='False'|Information.PlatformType='Windows'|
- Information.PlatformVersion='10.0.17134.0'|
- Information.PlatformName='Windows 10'|
- Information.ChocolateyVersion='0.10.11.0'|
- Information.ChocolateyProductVersion='0.10.11'|
- Information.FullName='choco, Version=0.10.11.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
- Information.Is64BitOperatingSystem='True'|
- Information.Is64BitProcess='True'|Information.IsInteractive='True'|
- Information.UserName='test'|
- Information.UserDomainName='WIN-VM-2F3W5RTZ'|
- 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.LogWithoutColor='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.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
- Features.RemovePackageInformationOnUninstall='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'|
- SourceCommand.VisibleToAdminsOnly='False'|
- FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
- PinCommand.Command='unknown'|OutdatedCommand.IgnorePinned='False'|
- Proxy.BypassOnLocal='True'|
- _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
- Installing the following packages:
- .\test-params.0.0.1.2.nupkg
- By installing you accept licenses for the packages.
- Updating source and package name to handle *.nupkg or *.nuspec file.
- [NuGet] Added file 'chocolateyInstall.ps1' to folder 'test-params\tools'.
- [NuGet] Added file 'test-params.nuspec' to folder 'test-params'.
- [NuGet] Added file 'test-params.nupkg' to folder 'test-params'.
- test-params v0.0.1.2
- test-params package files install completed. Performing other installation steps.
- Contents of 'C:\ProgramData\chocolatey\lib\test-params\tools\chocolateyInstall.ps1':
- $ErrorActionPreference = 'Stop'
- #Variables
- $packageName = 'test-params'
- $path_local = Join-Path $PSScriptRoot '..\bin\path-to.msi' #Windows style path with \
- $fileType = 'msi'
- $silentArgs = "/quiet"
- $checksum64 = '...'
- $checksumType64 = 'sha256'
- # Pass in your own values
- $par = Get-PackageParameters
- Write-Host "PackageParameters are: $par"
- Write-Host $par['SERVER']
- 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-params\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '/SERVER:test'']
- Host version is 5.1.17134.1, PowerShell Version is '5.1.17134.165' and CLR Version is '4.0.30319.42000'.
- Loading community extensions
- Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
- Running 'ChocolateyScriptRunner' for test-params v0.0.1.2 with packageScript 'C:\ProgramData\chocolatey\lib\test-params\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\test-params', installArguments: '', packageParameters: '/SERVER:test',
- Running 'C:\ProgramData\chocolatey\lib\test-params\tools\chocolateyInstall.ps1'
- Running Get-PackageParameters
- Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
- PackageParameters are: System.Collections.Hashtable
- 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-params\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '/SERVER:test''] exited with '0'.
- 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-params'
- There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\test-params.0.0.1.2\.files'
- The install of test-params was successful.
- Software install location not explicitly set, could be in package or
- default install location if installer.
- Chocolatey installed 1/1 packages.
- See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
- Exiting with 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement