Advertisement
Guest User

Untitled

a guest
Jul 31st, 2018
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PS C:\Users\test\Desktop\test-params> choco install .\test-params.0.0.1.2.nupkg --params="'/SERVER:test'" -y -d
  2. 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).
  3. Chocolatey v0.10.11
  4. Chocolatey is running on Windows v 10.0.17134.0
  5. Command line: "C:\ProgramData\chocolatey\choco.exe" install .\test-params.0.0.1.2.nupkg --params='/SERVER:test' -y -d
  6. Received arguments: install .\test-params.0.0.1.2.nupkg --params='/SERVER:test' -y -d
  7. The source 'https://nuget.test.tech/api/v2/' evaluated to a 'normal' source type
  8.  
  9. NOTE: Hiding sensitive configuration data! Please double and triple
  10.  check to be sure no sensitive data is shown, especially if copying
  11.  output to a gist for review.
  12. Configuration: CommandName='install'|
  13. CacheLocation='C:\Users\test\AppData\Local\Temp\chocolatey'|
  14. ContainsLegacyPackageInstalls='True'|
  15. CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
  16. Sources='https://nuget.test.tech/api/v2/'|SourceType='normal'|
  17. Debug='True'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
  18. HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
  19. QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
  20. AllowUnofficialBuild='False'|Input='.\test-params.0.0.1.2.nupkg'|
  21. AllVersions='False'|SkipPackageInstallProvider='False'|
  22. PackageNames='.\test-params.0.0.1.2.nupkg'|Prerelease='False'|
  23. ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
  24. PackageParameters='/SERVER:test'|
  25. ApplyPackageParametersToDependencies='False'|
  26. ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
  27. AllowMultipleVersions='False'|AllowDowngrade='False'|
  28. ForceDependencies='False'|Information.PlatformType='Windows'|
  29. Information.PlatformVersion='10.0.17134.0'|
  30. Information.PlatformName='Windows 10'|
  31. Information.ChocolateyVersion='0.10.11.0'|
  32. Information.ChocolateyProductVersion='0.10.11'|
  33. Information.FullName='choco, Version=0.10.11.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
  34.  
  35. Information.Is64BitOperatingSystem='True'|
  36. Information.Is64BitProcess='True'|Information.IsInteractive='True'|
  37. Information.UserName='test'|
  38. Information.UserDomainName='WIN-VM-2F3W5RTZ'|
  39. Information.IsUserAdministrator='True'|
  40. Information.IsUserSystemAccount='False'|
  41. Information.IsUserRemoteDesktop='False'|
  42. Information.IsUserRemote='True'|
  43. Information.IsProcessElevated='True'|
  44. Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
  45. Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
  46. Features.AllowEmptyChecksums='False'|
  47. Features.AllowEmptyChecksumsSecure='True'|
  48. Features.FailOnAutoUninstaller='False'|
  49. Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
  50. Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
  51. Features.VirusCheck='False'|
  52. Features.FailOnInvalidOrMissingLicense='False'|
  53. Features.IgnoreInvalidOptionsSwitches='True'|
  54. Features.UsePackageExitCodes='True'|
  55. Features.UseFipsCompliantChecksums='False'|
  56. Features.ShowNonElevatedWarnings='True'|
  57. Features.ShowDownloadProgress='True'|
  58. Features.StopOnFirstPackageFailure='False'|
  59. Features.UseRememberedArgumentsForUpgrades='False'|
  60. Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
  61. Features.RemovePackageInformationOnUninstall='False'|
  62. Features.ScriptsCheckLastExitCode='False'|
  63. ListCommand.LocalOnly='False'|
  64. ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
  65. ListCommand.PageSize='25'|ListCommand.Exact='False'|
  66. ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
  67. ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
  68. ListCommand.ApprovedOnly='False'|
  69. ListCommand.DownloadCacheAvailable='False'|
  70. ListCommand.NotBroken='False'|
  71. ListCommand.IncludeVersionOverrides='False'|
  72. UpgradeCommand.FailOnUnfound='False'|
  73. UpgradeCommand.FailOnNotInstalled='False'|
  74. UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
  75. UpgradeCommand.ExcludePrerelease='False'|
  76. NewCommand.AutomaticPackage='False'|
  77. NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
  78. SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
  79. SourceCommand.AllowSelfService='False'|
  80. SourceCommand.VisibleToAdminsOnly='False'|
  81. FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
  82. PinCommand.Command='unknown'|OutdatedCommand.IgnorePinned='False'|
  83. Proxy.BypassOnLocal='True'|
  84. _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
  85. Installing the following packages:
  86. .\test-params.0.0.1.2.nupkg
  87. By installing you accept licenses for the packages.
  88. Updating source and package name to handle *.nupkg or *.nuspec file.
  89. [NuGet] Added file 'chocolateyInstall.ps1' to folder 'test-params\tools'.
  90. [NuGet] Added file 'test-params.nuspec' to folder 'test-params'.
  91. [NuGet] Added file 'test-params.nupkg' to folder 'test-params'.
  92.  
  93. test-params v0.0.1.2
  94. test-params package files install completed. Performing other installation steps.
  95. Contents of 'C:\ProgramData\chocolatey\lib\test-params\tools\chocolateyInstall.ps1':
  96. $ErrorActionPreference = 'Stop'
  97.  
  98.  
  99. #Variables
  100. $packageName = 'test-params'
  101. $path_local = Join-Path $PSScriptRoot '..\bin\path-to.msi'  #Windows style path with \
  102. $fileType = 'msi'
  103. $silentArgs = "/quiet"
  104. $checksum64 = '...'
  105. $checksumType64 = 'sha256'
  106.  
  107. # Pass in your own values
  108.  
  109. $par = Get-PackageParameters
  110. Write-Host "PackageParameters are: $par"
  111. Write-Host $par['SERVER']
  112.  
  113. 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'']
  114. Host version is 5.1.17134.1, PowerShell Version is '5.1.17134.165' and CLR Version is '4.0.30319.42000'.
  115. Loading community extensions
  116. Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
  117. 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',
  118. Running 'C:\ProgramData\chocolatey\lib\test-params\tools\chocolateyInstall.ps1'
  119. Running Get-PackageParameters
  120. Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
  121. PackageParameters are: System.Collections.Hashtable
  122.  
  123. 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'.
  124. Calling command ['"C:\Windows\System32\shutdown.exe" /a']
  125. Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
  126. Capturing package files in 'C:\ProgramData\chocolatey\lib\test-params'
  127. There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\test-params.0.0.1.2\.files'
  128.  The install of test-params was successful.
  129.   Software install location not explicitly set, could be in package or
  130.   default install location if installer.
  131.  
  132. Chocolatey installed 1/1 packages.
  133.  See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
  134. Exiting with 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement