Open
Description
Checklist
- I confirm there are no unresolved issues reported on the Chocolatey Status page.
- I have verified this is the correct repository for opening this issue.
- I have verified no other issues exist related to my problem.
- I have verified this is not an issue for a specific package.
- I have verified this issue is not security related.
- I confirm I am using official, and not unofficial, or modified, Chocolatey products.
What You Are Seeing?
See this Discord chat and the response.
When a package is rolled back, in this case because it could not delete the 'chocolateyPending
file, the folder is removed and Chocolatey CLI is reporting a successful installation (see line 545 of the `choco.2.3.0.txt file in this Discord chat which I've also attached below).
What is Expected?
The package is rolled back and Chocolatey CLI does not report a successful package installation.
How Did You Get This To Happen?
choco install amtool
(I'm assuming this is not a special package and any package will do).- Ensure the
.chocolateyPending
file is held open so it cannot be removed. - Check the logs to see that the package is reported as successfully installed when it was rolled back.
System Details
- Operating System: Unknown.
- Windows PowerShell version: Unknown.
- Chocolatey CLI Version: 2.3.0
- Chocolatey Licensed Extension version: None.
- Chocolatey License type: FOSS.
- Terminal/Emulator: Unknown.
Installed Packages
Unknown.
Output Log
2024-07-25 09:04:25,965 3852 [INFO ] - Chocolatey v2.3.0
2024-07-25 09:04:25,979 3852 [DEBUG] - Chocolatey is running on Windows v 10.0.20348.0
2024-07-25 09:04:25,982 3852 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-07-25 09:04:25,983 3852 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-07-25 09:04:25,990 3852 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install amtool -y -v
2024-07-25 09:04:25,990 3852 [DEBUG] - Received arguments: install amtool -y -v
2024-07-25 09:04:26,027 3852 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-07-25 09:04:26,044 3852 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-07-25 09:04:26,048 3852 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-07-25 09:04:26,105 3852 [DEBUG] - Performing validation checks.
2024-07-25 09:04:26,112 3852 [DEBUG] - Global Configuration Validation Checks:
2024-07-25 09:04:26,114 3852 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-07-25 09:04:26,117 3852 [DEBUG] - System State Validation Checks:
2024-07-25 09:04:26,119 3852 [DEBUG] - Reboot Requirement Checks:
2024-07-25 09:04:26,121 3852 [DEBUG] - - Pending Computer Rename = Checked
2024-07-25 09:04:26,122 3852 [DEBUG] - - Pending Component Based Servicing = Checked
2024-07-25 09:04:26,124 3852 [DEBUG] - - Pending Windows Auto Update = Checked
2024-07-25 09:04:26,125 3852 [DEBUG] - - Pending File Rename Operations = Checked
2024-07-25 09:04:26,126 3852 [DEBUG] - - Pending Windows Package Installer = Checked
2024-07-25 09:04:26,127 3852 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-07-25 09:04:26,130 3852 [DEBUG] - Cache Folder Lockdown Checks:
2024-07-25 09:04:26,131 3852 [DEBUG] - - Elevated State = Checked
2024-07-25 09:04:26,131 3852 [DEBUG] - - Folder Exists = Checked
2024-07-25 09:04:26,135 3852 [DEBUG] - - Folder lockdown = Checked
2024-07-25 09:04:26,139 3852 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-07-25 09:04:26,152 3852 [DEBUG] - The source 'https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb;https://artifactory.foobar/artifactory/api/nuget/local-core-nuget-windows-chocolatey-sb' evaluated to a 'normal' source type
2024-07-25 09:04:26,156 3852 [DEBUG] -
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.
2024-07-25 09:04:26,165 3852 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\agaye\AppData\Local\Temp\4\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb;https://artifactory.foobar/artifactory/api/nuget/local-core-nuget-windows-chocolatey-sb'|
SourceType='normal'|IncludeConfiguredSources='False'|
ShowOnlineHelp='False'|Debug='False'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='amtool'|
AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='amtool'|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.20348.0'|
Information.PlatformName='Windows Server 2022'|
Information.ChocolateyVersion='2.3.0.0'|
Information.ChocolateyProductVersion='2.3.0'|
Information.FullName='choco, Version=2.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='agaye'|Information.UserDomainName='BASTIONEU'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='True'|Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\agaye'|
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='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='True'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.UsePackageHashValidation='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'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
UpgradeCommand.IgnorePinned='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'|
2024-07-25 09:04:26,167 3852 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2024-07-25 09:04:26,169 3852 [INFO ] - Installing the following packages:
2024-07-25 09:04:26,174 3852 [INFO ] - amtool
2024-07-25 09:04:26,175 3852 [INFO ] - By installing, you accept licenses for the packages.
2024-07-25 09:04:26,340 3852 [DEBUG] - Running list with the following filter = ''
2024-07-25 09:04:26,347 3852 [DEBUG] - --- Start of List ---
2024-07-25 09:04:26,359 3852 [DEBUG] - Resolving resource PackageSearchResource for source C:\\ProgramData\\chocolatey\lib
2024-07-25 09:04:26,514 3852 [DEBUG] - chocolatey 2.3.0
2024-07-25 09:04:26,533 3852 [DEBUG] - chocolatey-compatibility.extension 1.0.0
2024-07-25 09:04:26,545 3852 [DEBUG] - --- End of List ---
2024-07-25 09:04:26,548 3852 [DEBUG] - Resolving resource ListResource for source https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb
2024-07-25 09:04:26,687 3852 [DEBUG] - Attempting to gather credentials for 'https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb'
2024-07-25 09:04:26,696 3852 [DEBUG] - Source selected will be 'https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb'
2024-07-25 09:04:26,697 3852 [DEBUG] - Using saved credentials
2024-07-25 09:04:26,782 3852 [INFO ] - [NuGet] GET https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb/$metadata
2024-07-25 09:04:26,795 3852 [INFO ] - [NuGet] OK https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb/$metadata 6ms
2024-07-25 09:04:26,830 3852 [INFO ] - [NuGet] GET https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb/Packages()?$filter=(tolower(Id) eq 'amtool') and IsLatestVersion&semVerLevel=2.0.0
2024-07-25 09:04:26,877 3852 [INFO ] - [NuGet] OK https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb/Packages()?$filter=(tolower(Id) eq 'amtool') and IsLatestVersion&semVerLevel=2.0.0 52ms
2024-07-25 09:04:26,926 3852 [DEBUG] - Resolving resource ListResource for source https://artifactory.foobar/artifactory/api/nuget/local-core-nuget-windows-chocolatey-sb
2024-07-25 09:04:26,955 3852 [INFO ] - [NuGet] GET https://artifactory.foobar/artifactory/api/nuget/local-core-nuget-windows-chocolatey-sb/$metadata
2024-07-25 09:04:26,974 3852 [WARN ] - Invalid credentials specified.
2024-07-25 09:04:26,976 3852 [DEBUG] - Attempting to gather credentials for 'https://artifactory.foobar/artifactory/api/nuget/local-core-nuget-windows-chocolatey-sb'
2024-07-25 09:04:26,977 3852 [DEBUG] - Source selected will be 'https://artifactory.foobar/artifactory/api/nuget/local-core-nuget-windows-chocolatey-sb'
2024-07-25 09:04:26,978 3852 [DEBUG] - Using saved credentials
2024-07-25 09:04:27,001 3852 [INFO ] - [NuGet] OK https://artifactory.foobar/artifactory/api/nuget/local-core-nuget-windows-chocolatey-sb/$metadata 29ms
2024-07-25 09:04:27,012 3852 [INFO ] - [NuGet] GET https://artifactory.foobar/artifactory/api/nuget/local-core-nuget-windows-chocolatey-sb/Packages()?$filter=(tolower(Id) eq 'amtool') and IsLatestVersion&semVerLevel=2.0.0
2024-07-25 09:04:27,026 3852 [INFO ] - [NuGet] OK https://artifactory.foobar/artifactory/api/nuget/local-core-nuget-windows-chocolatey-sb/Packages()?$filter=(tolower(Id) eq 'amtool') and IsLatestVersion&semVerLevel=2.0.0 13ms
2024-07-25 09:04:27,079 3852 [DEBUG] - Resolving resource DependencyInfoResource for source https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb
2024-07-25 09:04:27,090 3852 [INFO ] - [NuGet] GET https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb/Packages(Id='amtool',Version='0.27.0')
2024-07-25 09:04:27,104 3852 [INFO ] - [NuGet] OK https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb/Packages(Id='amtool',Version='0.27.0') 7ms
2024-07-25 09:04:27,115 3852 [DEBUG] - Resolving resource DependencyInfoResource for source https://artifactory.foobar/artifactory/api/nuget/local-core-nuget-windows-chocolatey-sb
2024-07-25 09:04:27,117 3852 [INFO ] - [NuGet] GET https://artifactory.foobar/artifactory/api/nuget/local-core-nuget-windows-
3D11
chocolatey-sb/Packages(Id='amtool',Version='0.27.0')
2024-07-25 09:04:27,154 3852 [INFO ] - [NuGet] NotFound https://artifactory.foobar/artifactory/api/nuget/local-core-nuget-windows-chocolatey-sb/Packages(Id='amtool',Version='0.27.0') 5ms
2024-07-25 09:04:27,159 3852 [INFO ] - [NuGet] GET https://artifactory.foobar/artifactory/api/nuget/local-core-nuget-windows-chocolatey-sb/FindPackagesById()?id='amtool'&semVerLevel=2.0.0
2024-07-25 09:04:27,171 3852 [INFO ] - [NuGet] OK https://artifactory.foobar/artifactory/api/nuget/local-core-nuget-windows-chocolatey-sb/FindPackagesById()?id='amtool'&semVerLevel=2.0.0 8ms
2024-07-25 09:04:27,238 3852 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-07-25 09:04:27,248 3852 [DEBUG] - Resolving resource DownloadResource for source https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb
2024-07-25 09:04:27,269 3852 [DEBUG] - Attempting to delete file "".
2024-07-25 09:04:27,269 3852 [INFO ] - Downloading package from source 'https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb'
2024-07-25 09:04:27,281 3852 [DEBUG] - Package download location 'https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb/Download/amtool/0.27.0'
2024-07-25 09:04:27,293 3852 [INFO ] - [NuGet] GET https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb/Download/amtool/0.27.0
2024-07-25 09:04:27,317 3852 [INFO ] - [NuGet] OK https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb/Download/amtool/0.27.0 18ms
2024-07-25 09:04:27,331 3852 [INFO ] - [NuGet] Acquiring lock for the installation of amtool 0.27.0
2024-07-25 09:04:27,362 3852 [INFO ] - [NuGet] Acquired lock for the installation of amtool 0.27.0
2024-07-25 09:04:27,850 3852 [INFO ] - [NuGet] Installed amtool 0.27.0 from https://artifactory.foobar/artifactory/api/nuget/local-global-nuget-windows-chocolatey-sb with content hash SoVLF5TBXCW7vuREKnS+69y6CmNaHT3OgKeDmvYhCoyOWlfnU0sgHBMLYktxuN5yyTyxNdp4AjFyMEg6rCTBgA==.
2024-07-25 09:04:27,877 3852 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
2024-07-25 09:04:27,897 3852 [INFO ] - [NuGet] Adding package 'amtool.0.27.0' to folder 'C:\ProgramData\chocolatey\lib'
2024-07-25 09:04:27,991 3852 [INFO ] - [NuGet] Added package 'amtool.0.27.0' to folder 'C:\ProgramData\chocolatey\lib'
2024-07-25 09:04:27,999 3852 [DEBUG] - Attempting to delete file "C:\Users\agaye\AppData\Local\Temp\4\chocolatey\ChocolateyScratch\amtool/0.27.0\amtool.0.27.0.nupkg".
2024-07-25 09:04:28,004 3852 [DEBUG] - Attempting to delete file "C:\Users\agaye\AppData\Local\Temp\4\chocolatey\ChocolateyScratch\amtool/0.27.0\.nupkg.metadata".
2024-07-25 09:04:28,005 3852 [DEBUG] - Attempting to delete file "C:\Users\agaye\AppData\Local\Temp\4\chocolatey\ChocolateyScratch\amtool/0.27.0\amtool.0.27.0.nupkg.sha512".
2024-07-25 09:04:28,007 3852 [INFO ] -
amtool v0.27.0
2024-07-25 09:04:28,023 3852 [INFO ] - amtool package files install completed. Performing other installation steps.
2024-07-25 09:04:28,070 3852 [DEBUG] - Setting installer args for amtool
2024-07-25 09:04:28,086 3852 [DEBUG] - Setting package parameters for amtool
2024-07-25 09:04:28,086 3852 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\amtool\tools\chocolateyinstall.ps1':
2024-07-25 09:04:28,095 3852 [DEBUG] - $ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$file64 = "$toolsDir\alertmanager-0.27.0.windows-amd64.zip"
$checksum64 = '02E8125B7928580F7109B0479C00F13137F0FE13A8DED01572F25AF454137901'
$checksumType64 = 'sha256'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
UnzipLocation = Join-Path -Path $env:temp -ChildPath 'amtool'
file64 = $file64
ChecksumType64 = $checksumType64
Checksum64 = $checksum64
}
Install-ChocolateyZipPackage @packageArgs
# Create Folder to program files
$amtoolPath = Join-Path -Path $env:ProgramFiles -ChildPath 'amtool'
mkdir $amtoolPath -Force
# Get executable from extracted archive on filesystem
$exe = Get-ChildItem -Path $packageArgs.UnzipLocation -Recurse -Filter 'amtool.exe'
if ($exe) {
# Copy to destination
Copy-Item -Path $exe.FullName -Destination $amtoolPath
}
else {
Throw 'Unable to get amtool from filesystem.'
}
# Add to env var PATH
Install-ChocolateyPath -PathToInstall $amtoolPath -PathType 'Machine'
# cleanup
Remove-Item $packageArgs.UnzipLocation -Force -Recurse
2024-07-25 09:04:28,107 3852 [DEBUG] - 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\amtool\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2024-07-25 09:04:28,110 3852 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-07-25 09:04:28,354 3852 [DEBUG] - Host version is 5.1.20348.1, PowerShell Version is '5.1.20348.2582' and CLR Version is '4.0.30319.42000'.
2024-07-25 09:04:29,355 3852 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
2024-07-25 09:04:29,367 3852 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
2024-07-25 09:04:29,368 3852 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2024-07-25 09:04:29,370 3852 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2024-07-25 09:04:29,371 3852 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2024-07-25 09:04:29,371 3852 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2024-07-25 09:04:29,372 3852 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2024-07-25 09:04:29,373 3852 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2024-07-25 09:04:29,374 3852 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2024-07-25 09:04:29,386 3852 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
2024-07-25 09:04:29,393 3852 [DEBUG] - Get-EnvironmentVariable
2024-07-25 09:04:29,393 3852 [DEBUG] - Get-EnvironmentVariableNames
2024-07-25 09:04:29,394 3852 [DEBUG] - Install-ChocolateyPath
2024-07-25 09:04:29,395 3852 [DEBUG] - Set-EnvironmentVariable
2024-07-25 09:04:29,395 3852 [DEBUG] - Test-ProcessAdminRights
2024-07-25 09:04:29,396 3852 [DEBUG] - Uninstall-ChocolateyPath
2024-07-25 09:04:29,396 3852 [DEBUG] - Update-SessionEnvironment
2024-07-25 09:04:29,399 3852 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-07-25 09:04:29,400 3852 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-07-25 09:04:29,401 3852 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-07-25 09:04:29,417 3852 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-07-25 09:04:29,418 3852 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-07-25 09:04:29,419 3852 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-07-25 09:04:29,420 3852 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-07-25 09:04:29,421 3852 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-07-25 09:04:29,422 3852 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-07-25 09:04:29,422 3852 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-07-25 09:04:29,423 3852 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-07-25 09:04:29,424 3852 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-07-25 09:04:29,426 3852 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-07-25 09:04:29,426 3852 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-07-25 09:04:29,428 3852 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-07-25 09:04:29,429 3852 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-07-25 09:04:29,430 3852 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-07-25 09:04:29,431 3852 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-07-25 09:04:29,432 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-07-25 09:04:29,434 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-07-25 09:04:29,435 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-07-25 09:04:29,436 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-07-25 09:04:29,438 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-07-25 09:04:29,441 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-07-25 09:04:29,443 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-07-25 09:04:29,453 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-07-25 09:04:29,463 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-07-25 09:04:29,479 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-07-25 09:04:29,503 3852 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-07-25 09:04:29,504 3852 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-07-25 09:04:29,507 3852 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-07-25 09:04:29,509 3852 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-07-25 09:04:29,510 3852 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-07-25 09:04:29,513 3852 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-07-25 09:04:29,514 3852 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-07-25 09:04:29,516 3852 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-07-25 09:04:29,518 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-07-25 09:04:29,519 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-07-25 09:04:29,521 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-07-25 09:04:29,522 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-07-25 09:04:29,523 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-07-25 09:04:29,536 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-07-25 09:04:29,538 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-07-25 09:04:29,539 3852 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-07-25 09:04:29,555 3852 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-07-25 09:04:29,567 3852 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-07-25 09:04:29,569 3852 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-07-25 09:04:29,572 3852 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-07-25 09:04:29,580 3852 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-07-25 09:04:29,583 3852 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-07-25 09:04:29,584 3852 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-07-25 09:04:29,601 3852 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-07-25 09:04:29,605 3852 [DEBUG] - Loading community extensions
2024-07-25 09:04:29,620 3852 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'
2024-07-25 09:04:29,627 3852 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'.
2024-07-25 09:04:29,745 3852 [DEBUG] - Function 'Get-PackageParameters' exists, ignoring export.
2024-07-25 09:04:29,745 3852 [DEBUG] - Function 'Get-UninstallRegistryKey' exists, ignoring export.
2024-07-25 09:04:29,745 3852 [DEBUG] - Exporting function 'Install-ChocolateyDesktopLink' for backwards compatibility
2024-07-25 09:04:29,753 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2024-07-25 09:04:29,772 3852 [DEBUG] - Exporting function 'Write-ChocolateyFailure' for backwards compatibility
2024-07-25 09:04:29,776 3852 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2024-07-25 09:04:29,779 3852 [DEBUG] - Exporting function 'Write-ChocolateySuccess' for backwards compatibility
2024-07-25 09:04:29,783 3852 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2024-07-25 09:04:29,792 3852 [DEBUG] - Exporting function 'Write-FileUpdateLog' for backwards compatibility
2024-07-25 09:04:29,806 3852 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2024-07-25 09:04:29,817 3852 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2024-07-25 09:04:29,819 3852 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2024-07-25 09:04:29,822 3852 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2024-07-25 09:04:29,830 3852 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2024-07-25 09:04:29,834 3852 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2024-07-25 09:04:29,835 3852 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2024-07-25 09:04:30,010 3852 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2024-07-25 09:04:30,032 3852 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2024-07-25 09:04:30,035 3852 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2024-07-25 09:04:30,037 3852 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2024-07-25 09:04:30,038 3852 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2024-07-25 09:04:30,041 3852 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2024-07-25 09:04:30,057 3852 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2024-07-25 09:04:30,065 3852 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2024-07-25 09:04:30,067 3852 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2024-07-25 09:04:30,069 3852 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2024-07-25 09:04:30,072 3852 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2024-07-25 09:04:30,081 3852 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2024-07-25 09:04:30,082 3852 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2024-07-25 09:04:30,084 3852 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2024-07-25 09:04:30,090 3852 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-07-25 09:04:30,112 3852 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-07-25 09:04:30,113 3852 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-07-25 09:04:30,116 3852 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-07-25 09:04:30,117 3852 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-07-25 09:04:30,119 3852 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-07-25 09:04:30,135 3852 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-07-25 09:04:30,136 3852 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-07-25 09:04:30,138 3852 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-07-25 09:04:30,140 3852 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-07-25 09:04:30,141 3852 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-07-25 09:04:30,143 3852 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-07-25 09:04:30,144 3852 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-07-25 09:04:30,146 3852 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-07-25 09:04:30,148 3852 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-07-25 09:04:30,149 3852 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-07-25 09:04:30,160 3852 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-07-25 09:04:30,162 3852 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-07-25 09:04:30,164 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-07-25 09:04:30,166 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-07-25 09:04:30,180 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-07-25 09:04:30,194 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-07-25 09:04:30,196 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-07-25 09:04:30,198 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-07-25 09:04:30,200 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-07-25 09:04:30,209 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-07-25 09:04:30,211 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-07-25 09:04:30,223 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-07-25 09:04:30,224 3852 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-07-25 09:04:30,226 3852 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-07-25 09:04:30,235 3852 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-07-25 09:04:30,238 3852 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-07-25 09:04:30,239 3852 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-07-25 09:04:30,241 3852 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-07-25 09:04:30,242 3852 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-07-25 09:04:30,255 3852 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-07-25 09:04:30,258 3852 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2024-07-25 09:04:30,267 3852 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2024-07-25 09:04:30,269 3852 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2024-07-25 09:04:30,269 3852 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2024-07-25 09:04:30,272 3852 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2024-07-25 09:04:30,274 3852 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2024-07-25 09:04:30,282 3852 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2024-07-25 09:04:30,284 3852 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2024-07-25 09:04:30,286 3852 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2024-07-25 09:04:30,305 3852 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2024-07-25 09:04:30,307 3852 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2024-07-25 09:04:30,308 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-07-25 09:04:30,310 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-07-25 09:04:30,311 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-07-25 09:04:30,313 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-07-25 09:04:30,315 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-07-25 09:04:30,316 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-07-25 09:04:30,318 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-07-25 09:04:30,320 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-07-25 09:04:30,329 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-07-25 09:04:30,330 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-07-25 09:04:30,331 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-07-25 09:04:30,333 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-07-25 09:04:30,335 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-07-25 09:04:30,356 3852 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-07-25 09:04:30,357 3852 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-07-25 09:04:30,359 3852 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-07-25 09:04:30,360 3852 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-07-25 09:04:30,362 3852 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-07-25 09:04:30,364 3852 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-07-25 09:04:30,365 3852 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-07-25 09:04:30,375 3852 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-07-25 09:04:30,376 3852 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-07-25 09:04:30,394 3852 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-07-25 09:04:30,396 3852 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2024-07-25 09:04:30,405 3852 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2024-07-25 09:04:30,407 3852 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2024-07-25 09:04:30,409 3852 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2024-07-25 09:04:30,410 3852 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2024-07-25 09:04:30,412 3852 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2024-07-25 09:04:30,421 3852 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2024-07-25 09:04:30,423 3852 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-07-25 09:04:30,424 3852 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2024-07-25 09:04:30,426 3852 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2024-07-25 09:04:30,440 3852 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-07-25 09:04:30,453 3852 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-07-25 09:04:30,455 3852 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-07-25 09:04:30,457 3852 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-07-25 09:04:30,459 3852 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-07-25 09:04:30,467 3852 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2024-07-25 09:04:30,469 3852 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-07-25 09:04:30,470 3852 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-07-25 09:04:30,472 3852 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2024-07-25 09:04:30,473 3852 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-07-25 09:04:30,489 3852 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-07-25 09:04:30,505 3852 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-07-25 09:04:30,507 3852 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-07-25 09:04:30,508 3852 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-07-25 09:04:30,510 3852 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-07-25 09:04:30,511 3852 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2024-07-25 09:04:30,513 3852 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-07-25 09:04:30,514 3852 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-07-25 09:04:30,516 3852 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-07-25 09:04:30,517 3852 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-07-25 09:04:30,519 3852 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2024-07-25 09:04:30,563 3852 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-07-25 09:04:30,565 3852 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-07-25 09:04:30,567 3852 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-07-25 09:04:30,582 3852 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-07-25 09:04:30,584 3852 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-07-25 09:04:30,586 3852 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-07-25 09:04:30,588 3852 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-07-25 09:04:30,596 3852 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-07-25 09:04:30,598 3852 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-07-25 09:04:30,599 3852 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-07-25 09:04:30,614 3852 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-07-25 09:04:30,622 3852 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2024-07-25 09:04:30,623 3852 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2024-07-25 09:04:30,626 3852 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-07-25 09:04:30,627 3852 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-07-25 09:04:30,629 3852 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-07-25 09:04:30,637 3852 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-07-25 09:04:30,639 3852 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-07-25 09:04:30,640 3852 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-07-25 09:04:30,643 3852 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2024-07-25 09:04:30,644 3852 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2024-07-25 09:04:30,659 3852 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2024-07-25 09:04:30,672 3852 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-07-25 09:04:30,673 3852 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-07-25 09:04:30,677 3852 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-07-25 09:04:30,679 3852 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-07-25 09:04:30,688 3852 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-07-25 09:04:30,690 3852 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-07-25 09:04:30,692 3852 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-07-25 09:04:30,694 3852 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-07-25 09:04:30,703 3852 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-07-25 09:04:30,705 3852 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-07-25 09:04:30,753 3852 [DEBUG] - ---------------------------Script Execution---------------------------
2024-07-25 09:04:30,773 3852 [DEBUG] - Running 'ChocolateyScriptRunner' for amtool v0.27.0 with packageScript 'C:\ProgramData\chocolatey\lib\amtool\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\amtool', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-07-25 09:04:30,783 3852 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\amtool\tools\chocolateyinstall.ps1'
2024-07-25 09:04:30,831 3852 [DEBUG] - Running Install-ChocolateyZipPackage -unzipLocation 'C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool' -file64 'C:\ProgramData\chocolatey\lib\amtool\tools\alertmanager-0.27.0.windows-amd64.zip' -checksumType64 'sha256' -packageName 'amtool' -checksum64 '02E8125B7928580F7109B0479C00F13137F0FE13A8DED01572F25AF454137901'
2024-07-25 09:04:30,863 3852 [DEBUG] - Running Get-ChocolateyWebFile -checksum '' -checksumType '' -checksum64 '02E8125B7928580F7109B0479C00F13137F0FE13A8DED01572F25AF454137901' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'amtool' -fileFullPath 'C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool\0.27.0\amtoolInstall.zip' -url '' -url64bit 'C:\ProgramData\chocolatey\lib\amtool\tools\alertmanager-0.27.0.windows-amd64.zip'
2024-07-25 09:04:30,879 3852 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2024-07-25 09:04:30,897 3852 [DEBUG] - CPU is 64 bit
2024-07-25 09:04:30,901 3852 [DEBUG] - Setting url to 'C:\ProgramData\chocolatey\lib\amtool\tools\alertmanager-0.27.0.windows-amd64.zip' and bitPackage to 64
2024-07-25 09:04:30,926 3852 [DEBUG] - Running Get-WebFileName -url 'C:\ProgramData\chocolatey\lib\amtool\tools\alertmanager-0.27.0.windows-amd64.zip' -defaultName 'amtoolInstall.zip'
2024-07-25 09:04:30,941 3852 [INFO ] - Attempt to use original download file name failed for 'C:\ProgramData\chocolatey\lib\amtool\tools\alertmanager-0.27.0.windows-amd64.zip'.
2024-07-25 09:04:30,972 3852 [INFO ] - Copying amtool
from 'C:\ProgramData\chocolatey\lib\amtool\tools\alertmanager-0.27.0.windows-amd64.zip'
2024-07-25 09:04:32,989 3852 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2024-07-25 09:04:32,998 3852 [DEBUG] - Verifying package provided checksum of '02E8125B7928580F7109B0479C00F13137F0FE13A8DED01572F25AF454137901' for 'C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool\0.27.0\amtoolInstall.zip'.
2024-07-25 09:04:33,006 3852 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool\0.27.0\amtoolInstall.zip' -checksum '02E8125B7928580F7109B0479C00F13137F0FE13A8DED01572F25AF454137901' -checksumType 'sha256' -originalUrl 'C:\ProgramData\chocolatey\lib\amtool\tools\alertmanager-0.27.0.windows-amd64.zip'
2024-07-25 09:04:33,010 3852 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2024-07-25 09:04:33,012 3852 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="02E8125B7928580F7109B0479C00F13137F0FE13A8DED01572F25AF454137901" -t="sha256" -f="C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool\0.27.0\amtoolInstall.zip"]
2024-07-25 09:04:33,321 3852 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="02E8125B7928580F7109B0479C00F13137F0FE13A8DED01572F25AF454137901" -t="sha256" -f="C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool\0.27.0\amtoolInstall.zip"] exited with '0'.
2024-07-25 09:04:33,352 3852 [DEBUG] - Running Get-ChocolateyUnzip -disableLogging 'False' -fileFullPath 'C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool\0.27.0\amtoolInstall.zip' -destination 'C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool' -specificFolder '' -packageName 'amtool'
2024-07-25 09:04:33,360 3852 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2024-07-25 09:04:33,364 3852 [INFO ] - Extracting C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool\0.27.0\amtoolInstall.zip to C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool...
2024-07-25 09:04:33,377 3852 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2024-07-25 09:04:33,394 3852 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool" -y "C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool\0.27.0\amtoolInstall.zip"]
2024-07-25 09:04:34,045 3852 [INFO ] - VERBOSE:
2024-07-25 09:04:34,076 3852 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
2024-07-25 09:04:34,079 3852 [INFO ] - VERBOSE: Scanning the drive for archives:
2024-07-25 09:04:34,082 3852 [INFO ] - VERBOSE: Extracting archive: C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool\0.27.0\amtoolInstall.zip
2024-07-25 09:04:34,096 3852 [INFO ] - VERBOSE:
2024-07-25 09:04:34,100 3852 [INFO ] - VERBOSE:
2024-07-25 09:04:34,102 3852 [INFO ] - VERBOSE: 1 file, 31752040 bytes (31 MiB)
2024-07-25 09:04:34,104 3852 [INFO ] - VERBOSE: --
2024-07-25 09:04:34,106 3852 [INFO ] - VERBOSE: Type = zip
2024-07-25 09:04:34,119 3852 [INFO ] - VERBOSE: Physical Size = 31752040
2024-07-25 09:04:34,122 3852 [INFO ] - VERBOSE: - alertmanager-0.27.0.windows-amd64\LICENSE
2024-07-25 09:04:34,130 3852 [INFO ] - VERBOSE: - alertmanager-0.27.0.windows-amd64\NOTICE
2024-07-25 09:04:34,143 3852 [INFO ] - VERBOSE:
2024-07-25 09:04:34,158 3852 [INFO ] - VERBOSE: - alertmanager-0.27.0.windows-amd64\alertmanager.exe
2024-07-25 09:04:34,160 3852 [INFO ] - VERBOSE: - alertmanager-0.27.0.windows-amd64\alertmanager.yml
2024-07-25 09:04:34,163 3852 [INFO ] - VERBOSE: Path = C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool\0.27.0\amtoolInstall.zip
2024-07-25 09:04:34,165 3852 [INFO ] - VERBOSE: - alertmanager-0.27.0.windows-amd64\amtool.exe
2024-07-25 09:04:34,181 3852 [INFO ] - VERBOSE: Everything is Ok
2024-07-25 09:04:34,183 3852 [INFO ] - VERBOSE: Files: 5
2024-07-25 09:04:34,186 3852 [INFO ] - VERBOSE: Size: 68447114
2024-07-25 09:04:34,187 3852 [INFO ] - VERBOSE:
2024-07-25 09:04:34,188 3852 [INFO ] - VERBOSE: Compressed: 31752040
2024-07-25 09:04:34,210 3852 [DEBUG] - $exitCode was passed null
2024-07-25 09:04:34,225 3852 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool" -y "C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool\0.27.0\amtoolInstall.zip"] exited with '0'.
2024-07-25 09:04:34,237 3852 [DEBUG] - 7z exit code: 0
2024-07-25 09:04:34,242 3852 [INFO ] - C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool
2024-07-25 09:04:34,288 3852 [INFO ] - C:\Program Files\amtool
2024-07-25 09:04:34,351 3852 [DEBUG] - Running Install-ChocolateyPath -Path 'C:\Program Files\amtool' -PathType 'Machine'
2024-07-25 09:04:34,353 3852 [DEBUG] - Finishing 'Install-ChocolateyPath'
2024-07-25 09:04:34,372 3852 [DEBUG] - ----------------------------------------------------------------------
2024-07-25 09:04:34,385 3852 [DEBUG] - 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\amtool\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2024-07-25 09:04:34,389 3852 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-07-25 09:04:34,414 3852 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-07-25 09:04:34,477 3852 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\amtool'
2024-07-25 09:04:34,571 3852 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\amtool\amtool.nupkg'
with checksum 'B8D95E090B9952C2B859F8058A28FE50'
2024-07-25 09:04:34,574 3852 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\amtool\amtool.nuspec'
with checksum '60063C7DD69CB91BC61F6C652D43912D'
2024-07-25 09:04:34,575 3852 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\amtool\amtoolInstall.zip.txt'
with checksum '32B387296173C5652569B132E857A879'
2024-07-25 09:04:34,681 3852 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\amtool\tools\alertmanager-0.27.0.windows-amd64.zip'
with checksum '267460356C2C36EE77FBE7B9FCBDEBB2'
2024-07-25 09:04:34,689 3852 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\amtool\tools\chocolateybeforemodify.ps1'
with checksum '5587370C27904F7586B5D03091DC80E4'
2024-07-25 09:04:34,690 3852 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\amtool\tools\chocolateyinstall.ps1'
with checksum 'C973560B0825D2870699621CD2BC2B4D'
2024-07-25 09:04:34,692 3852 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\amtool\tools\chocolateyuninstall.ps1'
with checksum 'B4ADA22956EC1870A0FE34A09D5D4AA9'
2024-07-25 09:04:34,712 3852 [DEBUG] - Attempting to replace "C:\\ProgramData\\chocolatey\.chocolatey\amtool.0.27.0\.files"
with "C:\\ProgramData\\chocolatey\.chocolatey\amtool.0.27.0\.files.3852.update".
Backup placed at "C:\\ProgramData\\chocolatey\.chocolatey\amtool.0.27.0\.files.backup".
2024-07-25 09:04:34,721 3852 [DEBUG] - Attempting to delete file "C:\\ProgramData\\chocolatey\.chocolatey\amtool.0.27.0\.files.backup".
2024-07-25 09:04:34,723 3852 [DEBUG] - Attempting to copy "C:\\ProgramData\\chocolatey\.chocolatey\amtool.0.27.0\.files.3852.update"
to "C:\\ProgramData\\chocolatey\.chocolatey\amtool.0.27.0\.files".
2024-07-25 09:04:34,726 3852 [DEBUG] - Attempting to delete file "C:\\ProgramData\\chocolatey\.chocolatey\amtool.0.27.0\.files.3852.update".
2024-07-25 09:04:34,726 3852 [DEBUG] - Attempting to delete file "C:\\ProgramData\\chocolatey\.chocolatey\amtool.0.27.0\.arguments".
2024-07-25 09:04:34,727 3852 [DEBUG] - Attempting to delete file "C:\\ProgramData\\chocolatey\.chocolatey\amtool.0.27.0\.extra".
2024-07-25 09:04:34,728 3852 [DEBUG] - Attempting to delete file "C:\\ProgramData\\chocolatey\.chocolatey\amtool.0.27.0\.version".
2024-07-25 09:04:34,729 3852 [DEBUG] - Attempting to delete file "C:\\ProgramData\\chocolatey\.chocolatey\amtool.0.27.0\.sxs".
2024-07-25 09:04:34,730 3852 [DEBUG] - Attempting to delete file "C:\\ProgramData\\chocolatey\.chocolatey\amtool.0.27.0\.pin".
2024-07-25 09:04:34,730 3852 [DEBUG] - Attempting to delete file "C:\\ProgramData\\chocolatey\.chocolatey\amtool.0.27.0\.deploymentLocation".
2024-07-25 09:04:34,735 3852 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\amtool".
2024-07-25 09:04:34,774 3852 [WARN ] - This is try 1/3. Retrying after 300 milliseconds.
Error converted to warning:
(32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib\amtool\.chocolateyPending]
2024-07-25 09:04:35,106 3852 [WARN ] - This is try 2/3. Retrying after 400 milliseconds.
Error converted to warning:
(32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib\amtool\.chocolateyPending]
2024-07-25 09:04:35,519 3852 [ERROR] - Maximum tries of 3 reached. Throwing error.
2024-07-25 09:04:35,530 3852 [ERROR] - Attempted to delete bad package install path if existing. Had an error:
(32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib\amtool\.chocolateyPending]
2024-07-25 09:04:35,533 3852 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-07-25 09:04:35,534 3852 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\amtool\.chocolateyPending".
2024-07-25 09:04:35,537 3852 [INFO ] - The install of amtool was successful.
2024-07-25 09:04:35,543 3852 [INFO ] - Deployed to 'C:\Users\agaye\AppData\Local\Temp\4\chocolatey\amtool'
2024-07-25 09:04:35,553 3852 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\\ProgramData\\chocolatey\logs\chocolatey.log).
2024-07-25 09:04:35,570 3852 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-07-25 09:04:35,572 3852 [DEBUG] - Exiting with 0
### Additional Context
This came from a [Discord chat starting here](https://discord.com/channels/778552361454141460/897088817293574154/1265378503050919946).