chocolatey-licensed-issues icon indicating copy to clipboard operation
chocolatey-licensed-issues copied to clipboard

Unable to set User-Agent when using Install-ChocolateyZipPackage

Open TheCakeIsNaOH opened this issue 1 year ago • 2 comments

Checklist

  • [X] I have verified this is the correct repository for opening this issue.
  • [X] I have verified no other issues exist related to my problem.
  • [X] I have verified this is not an issue for a specific package.
  • [X] I have verified this issue is not security related.
  • [X] I confirm I am using official, and not unofficial, or modified, Chocolatey products.

What You Are Seeing?

When passing in options to Install-ChocolateyZipPackage, if the User-Agent is specified, it fails with The 'User-Agent' header must be modified using the appropriate property or method.

I would expect this would happen with other cmdlets that accept options, but this has not been tested.

296532381-e96a7901-5383-47b3-8ed3-da8a533b3b01

What is Expected?

That the user-agent is set and the package does not error. The user-agent is able to be set when running open source Chocolatey CLI

How Did You Get This To Happen?

  1. Download the files from https://github.com/Windos/chocolatey/pull/9
  2. Add 'User-Agent' = $useragent into $options
  3. choco pack
  4. choco install cinebench -s .

System Details

  • Operating System: Windows 11
  • Windows PowerShell version: 5.1
  • Chocolatey CLI Version: 2.2.2
  • Chocolatey Licensed Extension version: 6.1.1
  • Chocolatey License type: C4B
  • Terminal/Emulator: Windows PowerShell

Installed Packages

7zip 23.1.0
7zip.install 23.1.0
c4b-license 2024.1.10
chocolatey 2.2.2
chocolatey.extension 6.1.1
chocolatey-agent 2.1.1
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolateygui 2.1.0
chocolateygui.extension 2.0.0
chocolatey-windowsupdate.extension 1.0.5
cinebench 2024.1.0
dotnet4.7 4.7.2053.20190226
dotnetfx 4.8.0.20220524
Firefox 121.0.0
git.install 2.43.0
github-desktop 3.3.6
gsudo 2.4.2
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
notepadplusplus 8.5.8
notepadplusplus.install 8.5.8
vcredist140 14.38.33130
vcredist2015 14.0.24215.20170201
Wget 1.21.4
windows-sdk-7.1 7.1.7600.202200915

Output Log

Log
Chocolatey v2.2.2 Business
Chocolatey is running on Windows v 10.0.22621.0
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
Command line: "C:\ProgramData\chocolatey\choco.exe" install cinebench -s . --verbose --debug --force
Received arguments: install cinebench -s . --verbose --debug --force
RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
CountdownTask is now ready and waiting for PostRunMessage.
Terminal services setup not necessary for this session.
SynchronizeTask is now ready and waiting for PreRunMessage.
PackagesInProgramsAndFeaturesTask is now ready and waiting for PostRunMessage.
Sending message 'PreRunMessage' out if there are subscribers...
[Pending] Removing all pending packages that should not be considered installed...
[Synchronize] Updating packages with Programs and Features
[Synchronize] Currently only supports removals. Soon will handle updates.
Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
7zip 23.1.0
7zip.install 23.1.0
c4b-license 2024.1.1
chocolatey 2.2.2
chocolatey.extension 6.1.1
chocolatey-agent 2.1.1
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolateygui 2.1.0
chocolateygui.extension 2.0.0
chocolatey-windowsupdate.extension 1.0.5
cinebench 2024.1.0
dotnet4.7 4.7.2053.20190226
dotnetfx 4.8.0.20220524
Firefox 121.0.0
git.install 2.43.0
github-desktop 3.3.6
gsudo 2.4.2
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
notepadplusplus 8.5.8
notepadplusplus.install 8.5.8
vcredist140 14.38.33130
vcredist2015 14.0.24215.20170201
Wget 1.21.4
windows-sdk-7.1 7.1.7600.202200915
[Background] Configuring background service.
[Background] Not using background service, user is administrator.
Performing validation checks.
Global Configuration Validation Checks:
 - Package Exit Code / Exit On Reboot = Checked
System State Validation Checks:
 Reboot Requirement Checks:
 - Pending Computer Rename = Checked
 - Pending Component Based Servicing = Checked
 - Pending Windows Auto Update = Checked
 - Pending File Rename Operations = Checked
 - Pending Windows Package Installer = Checked
 - Pending Windows Package Installer SysWow64 = Checked
Cache Folder Lockdown Checks:
 - Elevated State = Checked
 - Folder Exists = Checked
 - Folder lockdown = Checked
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: MaximumDownloadRateBitsPerSecond='0'|
MaximumDownloadRateBitsPerSecondAutoSet='False'|
LicensedInformation.LicenseType='Business'|
LicensedInformation.LicenseIsValid='True'|
LicensedInformation.LicenseIsTrial='False'|
LicensedInformation.PauseInTrial='False'|
LicensedInformation.LicenseUserName='REDACTED'|

LicensedInformation.LicenseExpirationDate='REDACTED'|
LicensedInformation.LicenseNodeCount='REDACTED'|
LicensedInformation.LicensedVersion='6.1.1.0'|
ChocolateyVersion.Version='2.2.2.0'|
ChocolateyVersion.IsLegacyVersion='False'|
ChocolateyVersion.Revision='0'|ChocolateyVersion.IsSemVer2='False'|
ChocolateyVersion.OriginalVersion='2.2.2.0'|
ChocolateyVersion.Major='2'|
ChocolateyVersion.Minor='2'|ChocolateyVersion.Patch='2'|
ChocolateyVersion.IsPrerelease='False'|
ChocolateyVersion.HasMetadata='False'|
LicensedFeatures.UseDownloadCache='True'|
LicensedFeatures.AllowSynchronization='True'|
LicensedFeatures.AllowBackgroundServiceOverride='False'|
LicensedFeatures.UseBackgroundService='False'|
LicensedFeatures.UseBackgroundServiceWithSelfServiceSourcesOnly='True'|
LicensedFeatures.UseBackgroundServiceWithNonAdministratorsOnly='True'|
LicensedFeatures.UseBackgroundServiceInteractively='False'|
LicensedFeatures.UseBackgroundServiceWithEmptySessions='True'|
LicensedFeatures.AllowBackgroundServiceUninstallsFromUserInstallsOnly='False'|

LicensedFeatures.AllowPreviewFeatures='False'|
LicensedFeatures.ShowAllPackagesInProgramsAndFeatures='False'|
LicensedFeatures.AdminOnlyExecutionForAllChocolateyCommands='False'|
LicensedFeatures.AdminOnlyExecutionForNewCommand='False'|
LicensedFeatures.AdminOnlyExecutionForDownloadCommand='False'|
LicensedFeatures.ReduceInstalledPackageSize='True'|
LicensedFeatures.ReduceOnlyNupkgSize='False'|
LicensedFeatures.UseLocalSystemForServiceInstalls='True'|
LicensedFeatures.WarnOnUpcomingLicenseExpiration='True'|
LicensedFeatures.UseChocolateyCentralManagement='True'|
LicensedFeatures.UseChocolateyCentralManagementDeployments='True'|
LicensedFeatures.UseLogRetentionPolicy='True'|
LicensedFeatures.ExcludeChocolateyPackagesDuringUpgradeAll='False'|
LicensedNewCommand.UseOriginalFilesLocation='False'|
LicensedNewCommand.PauseOnError='False'|
LicensedNewCommand.BuildPackage='False'|
LicensedNewCommand.GeneratePackagesFromSoftwareInstalls='False'|
LicensedNewCommand.IncludeArchitectureInPackageId='False'|
LicensedDownloadCommand.Internalize='False'|
LicensedDownloadCommand.AppendUseOriginalLocation='True'|
LicensedDownloadCommand.InternalizeAnyUrlFound='False'|
LicensedDownloadCommand.DownloadInstalledPackages='False'|
LicensedDownloadCommand.IgnoreUnfoundPackages='False'|
LicensedConvertCommand.IncludeAll='False'|
LicensedConvertCommand.IncludeDependencies='False'|
LicensedPushCommand.IntuneAuthenticationUrl='https://login.microsoftonline.com'|

LicensedPushCommand.IntuneApiUrl='https://graph.microsoft.com'|
LicensedPushCommand.IntuneRetryIntervalInSeconds='5'|
LicensedPushCommand.IntuneUploadTimeoutInSeconds='600'|
LicensedPushCommand.IntuneUploadChunkSizeInMegabytes='10'|
LicensedPushCommand.SkipCleanup='False'|
LicensedListCommand.ShowAuditInformation='False'|
LicensedListCommand.ShowDisplayVersion='False'|
LicensedUninstallCommand.FromProgramsAndFeatures='False'|
VirusConfiguration.VirusCheckMinimumPositives='4'|
VirusConfiguration.VirusScannerType='Generic'|
VirusConfiguration.GenericVirusScannerArgs=''[[File]]''|
VirusConfiguration.GenericVirusScannerValidExitCodes='0'|
VirusConfiguration.GenericVirusScannerTimeoutInSeconds='120'|
LicensedServiceInstaller.DefaultUserName='ChocolateyLocalAdmin'|
CentralManagementConfiguration.ReportPackagesTimerIntervalInSeconds='1800'|

CentralManagementConfiguration.ServiceUrl='REDACTED'|

CentralManagementConfiguration.ReceiveTimeoutInSeconds='30'|
CentralManagementConfiguration.SendTimeoutInSeconds='30'|
CentralManagementConfiguration.CertificateValidationMode='PeerOrChainTrust'|

CentralManagementConfiguration.MaxReceiveMessageSizeInBytes='2147483647'|

CentralManagementConfiguration.DeploymentCheckTimerIntervalInSeconds='180'|

LicensedBackgroundService.LogRetentionPolicyInDays='30'|
CommandName='install'|
CacheLocation='C:\Users\User\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='.'|SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|
Verbose='True'|Trace='False'|Force='True'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|
DisableCompatibilityChecks='False'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='cinebench'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='cinebench'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.22621.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='User'|
Information.UserDomainName='WINDEV2308EVAL'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='False'|Information.IsProcessElevated='True'|
Information.IsLicensedVersion='True'|
Information.IsLicensedAssemblyLoaded='True'|
Information.LicenseType='Business'|
Information.CurrentDirectory='C:\Users\User\Desktop'|
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.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='False'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='True'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
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'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='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'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
_ Chocolatey:ProChocolateyInstallCommand - Normal Run Mode _
Installing the following packages:
cinebench
By installing, you accept licenses for the packages.
Updating Source path from . to C:\Users\User\Desktop
Returning loaded assembly type for 'chocolatey.licensed'
Returning loaded assembly type for 'chocolatey.licensed'
Running list with the following filter = ''
--- Start of List ---
7zip 23.1.0
7zip.install 23.1.0
c4b-license 2024.1.1
chocolatey 2.2.2
chocolatey.extension 6.1.1
chocolatey-agent 2.1.1
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolateygui 2.1.0
chocolateygui.extension 2.0.0
chocolatey-windowsupdate.extension 1.0.5
cinebench 2024.1.0
dotnet4.7 4.7.2053.20190226
dotnetfx 4.8.0.20220524
Firefox 121.0.0
git.install 2.43.0
github-desktop 3.3.6
gsudo 2.4.2
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
notepadplusplus 8.5.8
notepadplusplus.install 8.5.8
vcredist140 14.38.33130
vcredist2015 14.0.24215.20170201
Wget 1.21.4
windows-sdk-7.1 7.1.7600.202200915
--- End of List ---
cinebench v2024.1.0 already installed. Forcing reinstall of version '2024.1.0'.
 Please use upgrade if you meant to upgrade to a new version.
Resolving resource PackageMetadataResource for source C:\Users\User\Desktop
Resolving resource DependencyInfoResource for source C:\Users\User\Desktop
[NuGet] Resolving dependency information took 0 ms
Running beforeModify step for 'cinebench'
Backing up package files for 'cinebench'
Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\cinebench".
Moving C:\ProgramData\chocolatey\lib\cinebench to C:\ProgramData\chocolatey\lib-bkp\cinebench\2024.1.0
Moving 'C:\ProgramData\chocolatey\lib\cinebench'
 to 'C:\ProgramData\chocolatey\lib-bkp\cinebench\2024.1.0'
Attempting to create directory "C:\ProgramData\chocolatey\lib\cinebench".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cinebench\2024.1.0\.chocolateyPending"
 to "C:\ProgramData\chocolatey\lib\cinebench\.chocolateyPending".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cinebench\2024.1.0\cinebench.nupkg"
 to "C:\ProgramData\chocolatey\lib\cinebench\cinebench.nupkg".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cinebench\2024.1.0\cinebench.nuspec"
 to "C:\ProgramData\chocolatey\lib\cinebench\cinebench.nuspec".
Attempting to create directory "C:\ProgramData\chocolatey\lib\cinebench\tools".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cinebench\2024.1.0\tools\chocolateyInstall.ps1"
 to "C:\ProgramData\chocolatey\lib\cinebench\tools\chocolateyInstall.ps1".
Capturing package files in 'C:\ProgramData\chocolatey\lib\cinebench'
 Found 'C:\ProgramData\chocolatey\lib\cinebench\cinebench.nupkg'
  with checksum '5DC3FD4044011D8DF081CC27E97E6477'
 Found 'C:\ProgramData\chocolatey\lib\cinebench\cinebench.nuspec'
  with checksum '0181258AF19B5C1B9EFC02AC7CF173F3'
 Found 'C:\ProgramData\chocolatey\lib\cinebench\tools\chocolateyInstall.ps1'
  with checksum 'DDB264A47E5FCF289640BA61DA24F5E5'
Attempting to copy "C:\ProgramData\chocolatey\lib\cinebench\tools\chocolateyInstall.ps1"
 to "C:\ProgramData\chocolatey\lib\cinebench\tools\chocolateyInstall.ps1.2024.1.0".
[NuGet] Removed file 'cinebench.nupkg' from folder 'C:\ProgramData\chocolatey\lib\cinebench'.
Ensuring removal of package cache files.
Attempting to delete directory "C:\Users\User\AppData\Local\Temp\chocolatey\cinebench\2024.1.0".
Resolving resource DownloadResource for source C:\Users\User\Desktop
Attempting to delete file "".
[NuGet] Adding package 'cinebench.2024.1.0' to folder 'C:\ProgramData\chocolatey\lib'
[NuGet] Added package 'cinebench.2024.1.0' to folder 'C:\ProgramData\chocolatey\lib'
[NuGet] Added package 'cinebench.2024.1.0' to folder 'C:\ProgramData\chocolatey\lib' from source 'C:\Users\User\Desktop'

cinebench v2024.1.0 (forced)
cinebench package files install completed. Performing other installation steps.
Setting installer args for cinebench
Setting package parameters for cinebench
Contents of 'C:\ProgramData\chocolatey\lib\cinebench\tools\chocolateyInstall.ps1':
$ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$referer = 'https://www.maxon.net/en/downloads/cinebench-2024-downloads'
$useragent = [Microsoft.PowerShell.Commands.PSUserAgent]::Chrome
$desktopicon = [System.IO.Path]::Combine(([System.Environment]::GetFolderPath("Desktop")), 'Cinebench 2024.lnk')
$exeFile = Join-Path $toolsDir 'Cinebench.exe'

$options = @{
  Headers = @{
    Accept = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7'
    'Accept-Language' = 'en-US,en-CA;q=0.9,en;q=0.8'
    Referer = $referer
    'User-Agent' = $useragent
  }
}

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  url            = 'https://mx-app-blob-prod.maxon.net/mx-package-production/website/windows/maxon/cinebench/Cinebench2024_win_x86_64.zip'
  checksum       = 'F93B4925EF0445DC4D4BFA4D44157CF036B68E1EB0CAA2EC1E6FD7B1F56A5839'
  checksumType   = 'sha256'
  unzipLocation  = $toolsDir
  options        = $options
}

Install-ChocolateyZipPackage @packageArgs
Install-ChocolateyShortcut -ShortcutFilePath $desktopicon -TargetPath $exeFile
Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\cinebench\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
Host version is 5.1.22621.1, PowerShell Version is '5.1.22621.2506' and CLR Version is '4.0.30319.42000'.
VERBOSE: Exporting function 'Format-FileSize'.
VERBOSE: Exporting function 'Get-ChecksumValid'.
VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
VERBOSE: Exporting function 'Get-ChocolateyPath'.
VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
VERBOSE: Exporting function 'Get-EnvironmentVariable'.
VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
VERBOSE: Exporting function 'Get-FtpFile'.
VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
VERBOSE: Exporting function 'Get-PackageParameters'.
VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
VERBOSE: Exporting function 'Get-ToolsLocation'.
VERBOSE: Exporting function 'Get-UACEnabled'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-VirusCheckValid'.
VERBOSE: Exporting function 'Get-WebFile'.
VERBOSE: Exporting function 'Get-WebFileName'.
VERBOSE: Exporting function 'Get-WebHeaders'.
VERBOSE: Exporting function 'Install-BinFile'.
VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPath'.
VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Install-Vsix'.
VERBOSE: Exporting function 'Set-EnvironmentVariable'.
VERBOSE: Exporting function 'Set-PowerShellExitCode'.
VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Exporting function 'Test-ProcessAdminRights'.
VERBOSE: Exporting function 'Uninstall-BinFile'.
VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Update-SessionEnvironment'.
VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
VERBOSE: Exporting alias 'Get-ProcessorBits'.
VERBOSE: Exporting alias 'Get-OSBitness'.
VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
VERBOSE: Exporting alias 'Generate-BinFile'.
VERBOSE: Exporting alias 'Add-BinFile'.
VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
VERBOSE: Exporting alias 'Remove-BinFile'.
VERBOSE: Exporting alias 'refreshenv'.
Importing 'C:\ProgramData\chocolatey\helpers\..\extensions\chocolatey\chocolatey.licensed.dll'
Loading 'chocolatey.licensed' extension
VERBOSE: Importing cmdlet 'Get-AppSettingsJsonFileContentCmdlet'.
VERBOSE: Importing cmdlet 'Get-ChecksumValidCmdlet'.
VERBOSE: Importing cmdlet 'Get-ChocolateyUnzipCmdlet'.
VERBOSE: Importing cmdlet 'Get-ChocolateyWebFileCmdlet'.
VERBOSE: Importing cmdlet 'Get-VirusCheckValidCmdlet'.
VERBOSE: Importing cmdlet 'Get-WebFileCmdlet'.
VERBOSE: Importing cmdlet 'Get-WebFileNameCmdlet'.
VERBOSE: Importing cmdlet 'Get-WebHeadersCmdlet'.
VERBOSE: Importing cmdlet 'Install-AppSettingsJsonFileCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyInstallPackageCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyPackageCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyZipPackageCmdlet'.
VERBOSE: Importing cmdlet 'Invoke-ChocolateyProcessCmdlet'.
VERBOSE: Importing cmdlet 'Invoke-ValidateChocolateyLicenseCmdlet'.
VERBOSE: Importing cmdlet 'Start-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Importing cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Importing cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'.
Loading community extensions
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey\chocolatey.extensions.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey\chocolatey.extensions.psm1'.
Loading 'chocolatey.licensed' extension.
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey\chocolatey.licensed.dll'.
VERBOSE: Importing cmdlet 'Get-AppSettingsJsonFileContentCmdlet'.
VERBOSE: Importing cmdlet 'Get-ChecksumValidCmdlet'.
VERBOSE: Importing cmdlet 'Get-ChocolateyUnzipCmdlet'.
VERBOSE: Importing cmdlet 'Get-ChocolateyWebFileCmdlet'.
VERBOSE: Importing cmdlet 'Get-VirusCheckValidCmdlet'.
VERBOSE: Importing cmdlet 'Get-WebFileCmdlet'.
VERBOSE: Importing cmdlet 'Get-WebFileNameCmdlet'.
VERBOSE: Importing cmdlet 'Get-WebHeadersCmdlet'.
VERBOSE: Importing cmdlet 'Install-AppSettingsJsonFileCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyInstallPackageCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyPackageCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyZipPackageCmdlet'.
VERBOSE: Importing cmdlet 'Invoke-ChocolateyProcessCmdlet'.
VERBOSE: Importing cmdlet 'Invoke-ValidateChocolateyLicenseCmdlet'.
VERBOSE: Importing cmdlet 'Start-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Importing cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Importing cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'.
License type set to Business
VERBOSE: Exporting cmdlet 'Get-AppSettingsJsonFileContentCmdlet'.
VERBOSE: Exporting cmdlet 'Get-ChecksumValidCmdlet'.
VERBOSE: Exporting cmdlet 'Get-ChocolateyUnzipCmdlet'.
VERBOSE: Exporting cmdlet 'Get-ChocolateyWebFileCmdlet'.
VERBOSE: Exporting cmdlet 'Get-VirusCheckValidCmdlet'.
VERBOSE: Exporting cmdlet 'Get-WebFileCmdlet'.
VERBOSE: Exporting cmdlet 'Get-WebFileNameCmdlet'.
VERBOSE: Exporting cmdlet 'Get-WebHeadersCmdlet'.
VERBOSE: Exporting cmdlet 'Install-AppSettingsJsonFileCmdlet'.
VERBOSE: Exporting cmdlet 'Install-ChocolateyInstallPackageCmdlet'.
VERBOSE: Exporting cmdlet 'Install-ChocolateyPackageCmdlet'.
VERBOSE: Exporting cmdlet 'Install-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Exporting cmdlet 'Install-ChocolateyZipPackageCmdlet'.
VERBOSE: Exporting cmdlet 'Invoke-ChocolateyProcessCmdlet'.
VERBOSE: Exporting cmdlet 'Invoke-ValidateChocolateyLicenseCmdlet'.
VERBOSE: Exporting cmdlet 'Start-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Exporting cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Exporting alias 'Uninstall-ChocolateyPackageCmdlet'.
VERBOSE: Importing cmdlet 'Get-AppSettingsJsonFileContentCmdlet'.
VERBOSE: Importing cmdlet 'Get-ChecksumValidCmdlet'.
VERBOSE: Importing cmdlet 'Get-ChocolateyUnzipCmdlet'.
VERBOSE: Importing cmdlet 'Get-ChocolateyWebFileCmdlet'.
VERBOSE: Importing cmdlet 'Get-VirusCheckValidCmdlet'.
VERBOSE: Importing cmdlet 'Get-WebFileCmdlet'.
VERBOSE: Importing cmdlet 'Get-WebFileNameCmdlet'.
VERBOSE: Importing cmdlet 'Get-WebHeadersCmdlet'.
VERBOSE: Importing cmdlet 'Install-AppSettingsJsonFileCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyInstallPackageCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyPackageCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyZipPackageCmdlet'.
VERBOSE: Importing cmdlet 'Invoke-ChocolateyProcessCmdlet'.
VERBOSE: Importing cmdlet 'Invoke-ValidateChocolateyLicenseCmdlet'.
VERBOSE: Importing cmdlet 'Start-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Importing cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Importing cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Importing alias 'Uninstall-ChocolateyPackageCmdlet'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'.
Function 'Get-PackageParameters' exists, ignoring export.
Function 'Get-UninstallRegistryKey' exists, ignoring export.
Exporting function 'Install-ChocolateyDesktopLink' for backwards compatibility
VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
Exporting function 'Write-ChocolateyFailure' for backwards compatibility
VERBOSE: Exporting function 'Write-ChocolateyFailure'.
Exporting function 'Write-ChocolateySuccess' for backwards compatibility
VERBOSE: Exporting function 'Write-ChocolateySuccess'.
Exporting function 'Write-FileUpdateLog' for backwards compatibility
VERBOSE: Exporting function 'Write-FileUpdateLog'.
VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
VERBOSE: Importing function 'Write-ChocolateyFailure'.
VERBOSE: Importing function 'Write-ChocolateySuccess'.
VERBOSE: Importing function 'Write-FileUpdateLog'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
VERBOSE: Exporting function 'Get-AppInstallLocation'.
VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
VERBOSE: Exporting function 'Get-EffectiveProxy'.
VERBOSE: Exporting function 'Get-PackageCacheLocation'.
VERBOSE: Exporting function 'Get-WebContent'.
VERBOSE: Exporting function 'Register-Application'.
VERBOSE: Exporting function 'Remove-Process'.
VERBOSE: Importing function 'Get-AppInstallLocation'.
VERBOSE: Importing function 'Get-AvailableDriveLetter'.
VERBOSE: Importing function 'Get-EffectiveProxy'.
VERBOSE: Importing function 'Get-PackageCacheLocation'.
VERBOSE: Importing function 'Get-WebContent'.
VERBOSE: Importing function 'Register-Application'.
VERBOSE: Importing function 'Remove-Process'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'.
VERBOSE: Exporting function 'Install-DotNetFramework'.
VERBOSE: Exporting function 'Install-DotNetDevPack'.
VERBOSE: Importing function 'Install-DotNetDevPack'.
VERBOSE: Importing function 'Install-DotNetFramework'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
VERBOSE: Exporting function 'Install-WindowsUpdate'.
VERBOSE: Exporting function 'Test-WindowsUpdate'.
VERBOSE: Importing function 'Install-WindowsUpdate'.
VERBOSE: Importing function 'Test-WindowsUpdate'.
VERBOSE: Exporting function 'Format-FileSize'.
VERBOSE: Exporting function 'Get-ChecksumValid'.
VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
VERBOSE: Exporting function 'Get-ChocolateyPath'.
VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
VERBOSE: Exporting function 'Get-EnvironmentVariable'.
VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
VERBOSE: Exporting function 'Get-FtpFile'.
VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
VERBOSE: Exporting function 'Get-PackageParameters'.
VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
VERBOSE: Exporting function 'Get-ToolsLocation'.
VERBOSE: Exporting function 'Get-UACEnabled'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-VirusCheckValid'.
VERBOSE: Exporting function 'Get-WebFile'.
VERBOSE: Exporting function 'Get-WebFileName'.
VERBOSE: Exporting function 'Get-WebHeaders'.
VERBOSE: Exporting function 'Install-BinFile'.
VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPath'.
VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Install-Vsix'.
VERBOSE: Exporting function 'Set-EnvironmentVariable'.
VERBOSE: Exporting function 'Set-PowerShellExitCode'.
VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Exporting function 'Test-ProcessAdminRights'.
VERBOSE: Exporting function 'Uninstall-BinFile'.
VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Update-SessionEnvironment'.
VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
VERBOSE: Exporting function 'Write-ChocolateyFailure'.
VERBOSE: Exporting function 'Write-ChocolateySuccess'.
VERBOSE: Exporting function 'Write-FileUpdateLog'.
VERBOSE: Exporting function 'Get-AppInstallLocation'.
VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
VERBOSE: Exporting function 'Get-EffectiveProxy'.
VERBOSE: Exporting function 'Get-PackageCacheLocation'.
VERBOSE: Exporting function 'Get-WebContent'.
VERBOSE: Exporting function 'Register-Application'.
VERBOSE: Exporting function 'Remove-Process'.
VERBOSE: Exporting function 'Install-DotNetDevPack'.
VERBOSE: Exporting function 'Install-DotNetFramework'.
VERBOSE: Exporting function 'Install-WindowsUpdate'.
VERBOSE: Exporting function 'Test-WindowsUpdate'.
VERBOSE: Exporting cmdlet 'Get-AppSettingsJsonFileContentCmdlet'.
VERBOSE: Exporting cmdlet 'Get-ChecksumValidCmdlet'.
VERBOSE: Exporting cmdlet 'Get-ChocolateyUnzipCmdlet'.
VERBOSE: Exporting cmdlet 'Get-ChocolateyWebFileCmdlet'.
VERBOSE: Exporting cmdlet 'Get-VirusCheckValidCmdlet'.
VERBOSE: Exporting cmdlet 'Get-WebFileCmdlet'.
VERBOSE: Exporting cmdlet 'Get-WebFileNameCmdlet'.
VERBOSE: Exporting cmdlet 'Get-WebHeadersCmdlet'.
VERBOSE: Exporting cmdlet 'Install-AppSettingsJsonFileCmdlet'.
VERBOSE: Exporting cmdlet 'Install-ChocolateyInstallPackageCmdlet'.
VERBOSE: Exporting cmdlet 'Install-ChocolateyPackageCmdlet'.
VERBOSE: Exporting cmdlet 'Install-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Exporting cmdlet 'Install-ChocolateyZipPackageCmdlet'.
VERBOSE: Exporting cmdlet 'Invoke-ChocolateyProcessCmdlet'.
VERBOSE: Exporting cmdlet 'Invoke-ValidateChocolateyLicenseCmdlet'.
VERBOSE: Exporting cmdlet 'Start-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Exporting cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Exporting alias 'Get-ProcessorBits'.
VERBOSE: Exporting alias 'Get-OSBitness'.
VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
VERBOSE: Exporting alias 'Generate-BinFile'.
VERBOSE: Exporting alias 'Add-BinFile'.
VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
VERBOSE: Exporting alias 'Remove-BinFile'.
VERBOSE: Exporting alias 'refreshenv'.
VERBOSE: Exporting alias 'Uninstall-ChocolateyPackageCmdlet'.
VERBOSE: Importing cmdlet 'Get-AppSettingsJsonFileContentCmdlet'.
VERBOSE: Importing cmdlet 'Get-ChecksumValidCmdlet'.
VERBOSE: Importing cmdlet 'Get-ChocolateyUnzipCmdlet'.
VERBOSE: Importing cmdlet 'Get-ChocolateyWebFileCmdlet'.
VERBOSE: Importing cmdlet 'Get-VirusCheckValidCmdlet'.
VERBOSE: Importing cmdlet 'Get-WebFileCmdlet'.
VERBOSE: Importing cmdlet 'Get-WebFileNameCmdlet'.
VERBOSE: Importing cmdlet 'Get-WebHeadersCmdlet'.
VERBOSE: Importing cmdlet 'Install-AppSettingsJsonFileCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyInstallPackageCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyPackageCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Importing cmdlet 'Install-ChocolateyZipPackageCmdlet'.
VERBOSE: Importing cmdlet 'Invoke-ChocolateyProcessCmdlet'.
VERBOSE: Importing cmdlet 'Invoke-ValidateChocolateyLicenseCmdlet'.
VERBOSE: Importing cmdlet 'Start-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Importing cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Importing cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'.
VERBOSE: Importing function 'Format-FileSize'.
VERBOSE: Importing function 'Get-AppInstallLocation'.
VERBOSE: Importing function 'Get-AvailableDriveLetter'.
VERBOSE: Importing function 'Get-ChecksumValid'.
VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
VERBOSE: Importing function 'Get-ChocolateyPath'.
VERBOSE: Importing function 'Get-ChocolateyUnzip'.
VERBOSE: Importing function 'Get-ChocolateyWebFile'.
VERBOSE: Importing function 'Get-EffectiveProxy'.
VERBOSE: Importing function 'Get-EnvironmentVariable'.
VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
VERBOSE: Importing function 'Get-FtpFile'.
VERBOSE: Importing function 'Get-OSArchitectureWidth'.
VERBOSE: Importing function 'Get-PackageCacheLocation'.
VERBOSE: Importing function 'Get-PackageParameters'.
VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
VERBOSE: Importing function 'Get-ToolsLocation'.
VERBOSE: Importing function 'Get-UACEnabled'.
VERBOSE: Importing function 'Get-UninstallRegistryKey'.
VERBOSE: Importing function 'Get-VirusCheckValid'.
VERBOSE: Importing function 'Get-WebContent'.
VERBOSE: Importing function 'Get-WebFile'.
VERBOSE: Importing function 'Get-WebFileName'.
VERBOSE: Importing function 'Get-WebHeaders'.
VERBOSE: Importing function 'Install-BinFile'.
VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
VERBOSE: Importing function 'Install-ChocolateyPackage'.
VERBOSE: Importing function 'Install-ChocolateyPath'.
VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Importing function 'Install-ChocolateyShortcut'.
VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
VERBOSE: Importing function 'Install-DotNetDevPack'.
VERBOSE: Importing function 'Install-DotNetFramework'.
VERBOSE: Importing function 'Install-Vsix'.
VERBOSE: Importing function 'Install-WindowsUpdate'.
VERBOSE: Importing function 'Register-Application'.
VERBOSE: Importing function 'Remove-Process'.
VERBOSE: Importing function 'Set-EnvironmentVariable'.
VERBOSE: Importing function 'Set-PowerShellExitCode'.
VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Importing function 'Test-ProcessAdminRights'.
VERBOSE: Importing function 'Test-WindowsUpdate'.
VERBOSE: Importing function 'Uninstall-BinFile'.
VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Importing function 'Update-SessionEnvironment'.
VERBOSE: Importing function 'Write-ChocolateyFailure'.
VERBOSE: Importing function 'Write-ChocolateySuccess'.
VERBOSE: Importing function 'Write-FileUpdateLog'.
VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
VERBOSE: Importing alias 'Add-BinFile'.
VERBOSE: Importing alias 'Generate-BinFile'.
VERBOSE: Importing alias 'Get-InstallRegistryKey'.
VERBOSE: Importing alias 'Get-OSBitness'.
VERBOSE: Importing alias 'Get-ProcessorBits'.
VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
VERBOSE: Importing alias 'refreshenv'.
VERBOSE: Importing alias 'Remove-BinFile'.
VERBOSE: Importing alias 'Start-ChocolateyProcess'.
VERBOSE: Importing alias 'Uninstall-ChocolateyPackageCmdlet'.
---------------------------Script Execution---------------------------
Running 'ChocolateyScriptRunner' for cinebench v2024.1.0 with packageScript 'C:\ProgramData\chocolatey\lib\cinebench\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\cinebench', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
Running package script 'C:\ProgramData\chocolatey\lib\cinebench\tools\chocolateyInstall.ps1'
Running licensed 'Install-ChocolateyZipPackage' for cinebench with Url: 'https://mx-app-blob-prod.maxon.net/mx-package-production/website/windows/maxon/cinebench/Cinebench2024_win_x86_64.zip', UnzipLocation: 'C:\ProgramData\chocolatey\lib\cinebench\tools', Url64Bit: '', SpecificFolder: '', Checksum: 'F93B4925EF0445DC4D4BFA4D44157CF036B68E1EB0CAA2EC1E6FD7B1F56A5839', ChecksumType: 'sha256', Checksum64: '', ChecksumType64: '', File: '', File64: '', UseOriginalLocation: 'False', DisableLogging: 'False'
Running licensed 'Get-ChocolateyWebFile' for cinebench with  FileFullPath: 'C:\Users\User\AppData\Local\Temp\chocolatey\cinebench\2024.1.0\cinebenchInstall.zip' Url: 'https://mx-app-blob-prod.maxon.net/mx-package-production/website/windows/maxon/cinebench/Cinebench2024_win_x86_64.zip', Url64Bit: '', Checksum: 'F93B4925EF0445DC4D4BFA4D44157CF036B68E1EB0CAA2EC1E6FD7B1F56A5839', ChecksumType: 'sha256',  Checksum64: '', ChecksumType64: '', GetOriginalFileName: 'True', ForceDownload: 'False'
CPU is 64 bit
Running licensed 'Get-WebFileName' with url:'https://mx-app-blob-prod.maxon.net/mx-package-production/website/windows/maxon/cinebench/Cinebench2024_win_x86_64.zip', defaultName:'cinebenchInstall.zip' userAgent:'chocolatey command line'
Setting request timeout to '30000'
Setting read/write timeout to '2700000'
Setting the UserAgent to 'chocolatey command line'
Url request/response failed - file name will be the default name 'cinebenchInstall.zip'.
  The remote server returned an error: (403) Forbidden.
Running licensed 'Get-WebHeaders' with url:'https://mx-app-blob-prod.maxon.net/mx-package-production/website/windows/maxon/cinebench/Cinebench2024_win_x86_64.zip', userAgent:'chocolatey command line'
Setting request timeout to '30000'
Setting read/write timeout to '2700000'
Setting the UserAgent to 'chocolatey command line'
Request Headers:
  Accept=*/*
  User-Agent=chocolatey command line
Attempt to get headers for 'https://mx-app-blob-prod.maxon.net/mx-package-production/website/windows/maxon/cinebench/Cinebench2024_win_x86_64.zip' failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://mx-app-blob-prod.maxon.net/mx-package-production/website/windows/maxon/cinebench/Cinebench2024_win_x86_64.zip'.
  The remote server returned an error: (403) Forbidden.
Downloading cinebench
  from 'https://mx-app-blob-prod.maxon.net/mx-package-production/website/windows/maxon/cinebench/Cinebench2024_win_x86_64.zip'.
Running licensed 'Get-WebFile' for 'C:\Users\User\AppData\Local\Temp\chocolatey\cinebench\2024.1.0\cinebenchInstall.zip' with url:'https://mx-app-blob-prod.maxon.net/mx-package-production/website/windows/maxon/cinebench/Cinebench2024_win_x86_64.zip', userAgent:'chocolatey command line'
Setting request timeout to '30000'
Setting read/write timeout to '2700000'
Setting the UserAgent to 'chocolatey command line'
Setting custom headers
 * User-Agent=Mozilla/5.0 (Windows NT; Windows NT 10.0; ) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6
ERROR: The 'User-Agent' header must be modified using the appropriate property or method.
Parameter name: name
 at <ScriptBlock>, C:\ProgramData\chocolatey\lib\cinebench\tools\chocolateyInstall.ps1: line 26
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 63
at <ScriptBlock>, <No file>: line 1
Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\cinebench\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] 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\cinebench'
 Found 'C:\ProgramData\chocolatey\lib\cinebench\cinebench.nupkg'
  with checksum '22D6F15D817CFC80F1541F60F54A839F'
 Found 'C:\ProgramData\chocolatey\lib\cinebench\cinebench.nuspec'
  with checksum '0181258AF19B5C1B9EFC02AC7CF173F3'
 Found 'C:\ProgramData\chocolatey\lib\cinebench\tools\chocolateyInstall.ps1'
  with checksum 'B898E1A55D97DF913EE63D88520CB781'
 Reducing package size for 'cinebench'...
Attempting to create directory "C:\Users\User\AppData\Local\Temp\chocolatey\ChocolateyScratch\ChocolateyPackageCache\PackageCache_20240114_154258_5642".
Attempting to copy "C:\ProgramData\chocolatey\lib\cinebench\cinebench.nuspec"
 to "C:\Users\User\AppData\Local\Temp\chocolatey\ChocolateyScratch\ChocolateyPackageCache\PackageCache_20240114_154258_5642\cinebench.nuspec".
 Reducing nupkg file size ('cinebench').
 Reducing extracted archives and installers ('cinebench').
 Space reduced for 'cinebench': 573 B.
Attempting to delete file "C:\ProgramData\chocolatey\lib\cinebench\cinebench.nupkg.bkp".
Attempting to replace "C:\ProgramData\chocolatey\.chocolatey\cinebench.2024.1.0\.files"
 with "C:\ProgramData\chocolatey\.chocolatey\cinebench.2024.1.0\.files.12596.update".
 Backup placed at "C:\ProgramData\chocolatey\.chocolatey\cinebench.2024.1.0\.files.backup".
Attempting to copy "C:\ProgramData\chocolatey\.chocolatey\cinebench.2024.1.0\.files.12596.update"
 to "C:\ProgramData\chocolatey\.chocolatey\cinebench.2024.1.0\.files".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cinebench.2024.1.0\.files.12596.update".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cinebench.2024.1.0\.arguments".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cinebench.2024.1.0\.extra".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cinebench.2024.1.0\.version".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cinebench.2024.1.0\.sxs".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cinebench.2024.1.0\.pin".
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\cinebench".
Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
The install of cinebench was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\cinebench\tools\chocolateyInstall.ps1'.
 See log for details.
Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\cinebench".
Moving C:\ProgramData\chocolatey\lib\cinebench to C:\ProgramData\chocolatey\lib-bad\cinebench\2024.1.0
Moving 'C:\ProgramData\chocolatey\lib\cinebench'
 to 'C:\ProgramData\chocolatey\lib-bad\cinebench\2024.1.0'
Attempting rollback
Moving C:\ProgramData\chocolatey\lib-bkp\cinebench\2024.1.0 to C:\ProgramData\chocolatey\lib\cinebench
Moving 'C:\ProgramData\chocolatey\lib-bkp\cinebench\2024.1.0'
 to 'C:\ProgramData\chocolatey\lib\cinebench'
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\cinebench".

Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - cinebench (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\cinebench\tools\chocolateyInstall.ps1'.
 See log for details.
Sending message 'PostRunMessage' out if there are subscribers...
[Countdown] Determining how long until license expires
7zip 23.1.0
7zip.install 23.1.0
c4b-license 2024.1.1
chocolatey 2.2.2
chocolatey.extension 6.1.1
chocolatey-agent 2.1.1
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolateygui 2.1.0
chocolateygui.extension 2.0.0
chocolatey-windowsupdate.extension 1.0.5
cinebench 2024.1.0
dotnet4.7 4.7.2053.20190226
dotnetfx 4.8.0.20220524
Firefox 121.0.0
git.install 2.43.0
github-desktop 3.3.6
gsudo 2.4.2
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
notepadplusplus 8.5.8
notepadplusplus.install 8.5.8
vcredist140 14.38.33130
vcredist2015 14.0.24215.20170201
Wget 1.21.4
windows-sdk-7.1 7.1.7600.202200915
[Programs & Features Package Sync] Ensuring all installed packages that don't have software natively installed are not listed in Programs and Features.
7zip 23.1.0
7zip.install 23.1.0
c4b-license 2024.1.1
chocolatey 2.2.2
chocolatey.extension 6.1.1
chocolatey-agent 2.1.1
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolateygui 2.1.0
chocolateygui.extension 2.0.0
chocolatey-windowsupdate.extension 1.0.5
cinebench 2024.1.0
dotnet4.7 4.7.2053.20190226
dotnetfx 4.8.0.20220524
Firefox 121.0.0
git.install 2.43.0
github-desktop 3.3.6
gsudo 2.4.2
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
notepadplusplus 8.5.8
notepadplusplus.install 8.5.8
vcredist140 14.38.33130
vcredist2015 14.0.24215.20170201
Wget 1.21.4
windows-sdk-7.1 7.1.7600.202200915
Exiting with -1

Additional Context

Discovered here; https://github.com/Windos/chocolatey/pull/9

Additional References

Zendesk ticket for reference

TheCakeIsNaOH avatar Jan 14 '24 21:01 TheCakeIsNaOH

Thanks for raising this, @TheCakeIsNaOH. Beat me to it!

Windos avatar Jan 14 '24 21:01 Windos

Same issue here, is this chocolatey related ?

martintamare avatar Sep 17 '24 12:09 martintamare