Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created March 5, 2025 00:11
Show Gist options
  • Save choco-bot/511b546935f3d0b440527c788187cb7f to your computer and use it in GitHub Desktop.
Save choco-bot/511b546935f3d0b440527c788187cb7f to your computer and use it in GitHub Desktop.
golang v1.24.1 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-112642232-3398468403-237353942-1000</user>
<keys>
<key installerType="Msi" displayName="Go Programming Language amd64 go1.24.1" displayVersion="1.24.1">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BBD247E5-0906-474C-9D90-E1B6C5874D58}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{BBD247E5-0906-474C-9D90-E1B6C5874D58}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[https://go.dev]]></Publisher>
<InstallDate>20250304</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.24.1\]]></InstallSource>
<Language>1033</Language>
<Version>18350081</Version>
<VersionMajor>1</VersionMajor>
<VersionMinor>24</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>true</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\7fc23.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

golang v1.24.1 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/golang/1.24.1
  • Tested 05 Mar 2025 00:11:07 +00:00
  • Tested against chocolatey/test-environment 3.0.0 (Windows Server 2019)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.2.2
  • Install was successful.
  • Uninstall failed (allowed). Note that the process may have hung, indicating a not completely silent uninstall. This is usually seen when the last entry in the log is calling the uninstall. This can also happen when a window pops up and needs to be closed to continue.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\golang\golang.nupkg" checksum="5358BDA3CF707F4BD7F94DF1D4147488" />
<file path="C:\ProgramData\chocolatey\lib\golang\golang.nuspec" checksum="852B34815079155AAFDCDEBF8A347B75" />
<file path="C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1" checksum="C4F331A8E0B208C7B333E6334048FA69" />
<file path="C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1" checksum="18C38D40EABEF8107F8AB009F7182064" />
</files>
</fileSnapshot>
2025-03-04 23:01:28,955 2504 [DEBUG] - XmlConfiguration is now operational
2025-03-04 23:01:29,232 2504 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-03-04 23:01:29,248 2504 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-03-04 23:01:29,248 2504 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-03-04 23:01:29,265 2504 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-03-04 23:01:29,265 2504 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-03-04 23:01:29,310 2504 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-03-04 23:01:29,310 2504 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-03-04 23:01:29,310 2504 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2025-03-04 23:01:29,327 2504 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-03-04 23:01:29,342 2504 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2025-03-04 23:01:29,342 2504 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2025-03-04 23:01:30,485 2504 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:01:30,498 2504 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:01:30,498 2504 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:01:30,514 2504 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:01:30,514 2504 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:01:30,514 2504 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:01:30,529 2504 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:01:30,529 2504 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:01:30,529 2504 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:01:30,546 2504 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:01:30,577 2504 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2025-03-04 23:01:30,592 2504 [DEBUG] - Registering new command 'list' in assembly 'choco'
2025-03-04 23:01:30,592 2504 [DEBUG] - Registering new command 'rule' in assembly 'choco'
2025-03-04 23:01:30,592 2504 [DEBUG] - Registering new command 'template' in assembly 'choco'
2025-03-04 23:01:30,613 2504 [DEBUG] - Registering new command 'export' in assembly 'choco'
2025-03-04 23:01:30,613 2504 [DEBUG] - Registering new command 'info' in assembly 'choco'
2025-03-04 23:01:30,624 2504 [DEBUG] - Registering new command 'help' in assembly 'choco'
2025-03-04 23:01:30,624 2504 [DEBUG] - Registering new command 'config' in assembly 'choco'
2025-03-04 23:01:30,638 2504 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2025-03-04 23:01:30,638 2504 [DEBUG] - Registering new command 'new' in assembly 'choco'
2025-03-04 23:01:30,654 2504 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2025-03-04 23:01:30,654 2504 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2025-03-04 23:01:30,654 2504 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2025-03-04 23:01:30,669 2504 [DEBUG] - Registering new command 'push' in assembly 'choco'
2025-03-04 23:01:30,669 2504 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2025-03-04 23:01:30,685 2504 [DEBUG] - Registering new command 'source' in assembly 'choco'
2025-03-04 23:01:30,685 2504 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2025-03-04 23:01:30,685 2504 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2025-03-04 23:01:30,703 2504 [DEBUG] - Registering new command 'search' in assembly 'choco'
2025-03-04 23:01:30,703 2504 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2025-03-04 23:01:30,717 2504 [DEBUG] - Registering new command 'install' in assembly 'choco'
2025-03-04 23:01:31,091 2504 [INFO ] - ============================================================
2025-03-04 23:01:31,607 2504 [INFO ] - Chocolatey v2.4.3
2025-03-04 23:01:31,654 2504 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2025-03-04 23:01:31,670 2504 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2025-03-04 23:01:31,687 2504 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2025-03-04 23:01:31,716 2504 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install golang --version 1.24.1 -fdvy --execution-timeout=2700 --allow-downgrade
2025-03-04 23:01:31,716 2504 [DEBUG] - Received arguments: install golang --version 1.24.1 -fdvy --execution-timeout=2700 --allow-downgrade
2025-03-04 23:01:31,950 2504 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2025-03-04 23:01:32,001 2504 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2025-03-04 23:01:32,029 2504 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2025-03-04 23:01:32,389 2504 [DEBUG] - Performing validation checks.
2025-03-04 23:01:32,405 2504 [DEBUG] - Global Configuration Validation Checks:
2025-03-04 23:01:32,420 2504 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2025-03-04 23:01:32,436 2504 [DEBUG] - System State Validation Checks:
2025-03-04 23:01:32,451 2504 [DEBUG] - Reboot Requirement Checks:
2025-03-04 23:01:32,466 2504 [DEBUG] - - Pending Computer Rename = Checked
2025-03-04 23:01:32,466 2504 [DEBUG] - - Pending Component Based Servicing = Checked
2025-03-04 23:01:32,483 2504 [DEBUG] - - Pending Windows Auto Update = Checked
2025-03-04 23:01:32,498 2504 [DEBUG] - - Pending File Rename Operations = Ignored
2025-03-04 23:01:32,498 2504 [DEBUG] - - Pending Windows Package Installer = Checked
2025-03-04 23:01:32,513 2504 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2025-03-04 23:01:32,530 2504 [DEBUG] - Cache Folder Lockdown Checks:
2025-03-04 23:01:32,545 2504 [DEBUG] - - Elevated State = Checked
2025-03-04 23:01:32,545 2504 [DEBUG] - - Folder Exists = Checked
2025-03-04 23:01:32,579 2504 [DEBUG] - - Folder lockdown = Checked
2025-03-04 23:01:32,592 2504 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2025-03-04 23:01:32,654 2504 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2025-03-04 23:01:32,670 2504 [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.
2025-03-04 23:01:32,748 2504 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|IncludeConfiguredSources='False'|
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='True'|AllowUnofficialBuild='False'|Input='golang'|
Version='1.24.1'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='golang'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2019'|
Information.ChocolateyVersion='2.4.3.0'|
Information.ChocolateyProductVersion='2.4.3'|
Information.FullName='choco, Version=2.4.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-J87L1LHLOU8'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|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='False'|
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'|
2025-03-04 23:01:32,764 2504 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2025-03-04 23:01:32,779 2504 [INFO ] - Installing the following packages:
2025-03-04 23:01:32,795 2504 [INFO ] - golang
2025-03-04 23:01:32,811 2504 [INFO ] - By installing, you accept licenses for the packages.
2025-03-04 23:01:32,842 2504 [DEBUG] - Current environment values (may contain sensitive data):
2025-03-04 23:01:32,858 2504 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2025-03-04 23:01:32,858 2504 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2025-03-04 23:01:32,875 2504 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2025-03-04 23:01:32,888 2504 [DEBUG] - * 'ChocolateyLastPathUpdate'='133855640449530054' ('User')
2025-03-04 23:01:32,888 2504 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2025-03-04 23:01:32,904 2504 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2025-03-04 23:01:32,919 2504 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2025-03-04 23:01:32,919 2504 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin' ('Machine')
2025-03-04 23:01:32,936 2504 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2025-03-04 23:01:32,936 2504 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2025-03-04 23:01:32,936 2504 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2025-03-04 23:01:32,951 2504 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2025-03-04 23:01:32,951 2504 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2025-03-04 23:01:32,968 2504 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2025-03-04 23:01:32,968 2504 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2025-03-04 23:01:32,982 2504 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2025-03-04 23:01:32,982 2504 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2025-03-04 23:01:32,982 2504 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2025-03-04 23:01:32,999 2504 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2025-03-04 23:01:32,999 2504 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2025-03-04 23:01:33,265 2504 [DEBUG] - Unable to get parent process for 'choco'. Ignoring...
2025-03-04 23:01:33,282 2504 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
2025-03-04 23:01:33,326 2504 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.3 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
2025-03-04 23:01:33,858 2504 [DEBUG] - Running list with the following filter = ''
2025-03-04 23:01:33,858 2504 [DEBUG] - --- Start of List ---
2025-03-04 23:01:33,921 2504 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
2025-03-04 23:01:33,921 2504 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.3 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
2025-03-04 23:01:33,936 2504 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2025-03-04 23:01:34,622 2504 [DEBUG] - chocolatey 2.4.3
2025-03-04 23:01:34,639 2504 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2025-03-04 23:01:34,639 2504 [DEBUG] - KB2919355 1.0.20160915
2025-03-04 23:01:34,656 2504 [DEBUG] - KB2919442 1.0.20160915
2025-03-04 23:01:34,669 2504 [DEBUG] - KB2999226 1.0.20181019
2025-03-04 23:01:34,686 2504 [DEBUG] - KB3035131 1.0.3
2025-03-04 23:01:34,686 2504 [DEBUG] - KB3118401 1.0.5
2025-03-04 23:01:34,702 2504 [DEBUG] - virtualbox-guest-additions-guest.install 7.1.0
2025-03-04 23:01:34,717 2504 [DEBUG] - --- End of List ---
2025-03-04 23:01:34,733 2504 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2025-03-04 23:01:35,654 2504 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2025-03-04 23:01:36,357 2504 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='golang',Version='1.24.1')
2025-03-04 23:01:36,468 2504 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='golang',Version='1.24.1') 107ms
2025-03-04 23:01:36,654 2504 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2025-03-04 23:01:37,405 2504 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2025-03-04 23:01:37,420 2504 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='golang',Version='1.24.1')
2025-03-04 23:01:37,795 2504 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2025-03-04 23:01:37,827 2504 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2025-03-04 23:01:37,920 2504 [DEBUG] - Attempting to delete file "".
2025-03-04 23:01:37,920 2504 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/'
2025-03-04 23:01:37,936 2504 [DEBUG] - Package download location 'https://community.chocolatey.org/api/v2/package/golang/1.24.1'
2025-03-04 23:01:38,015 2504 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/golang/1.24.1
2025-03-04 23:01:38,294 2504 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/golang/1.24.1 269ms
2025-03-04 23:01:38,358 2504 [INFO ] - [NuGet] Acquiring lock for the installation of golang 1.24.1
2025-03-04 23:01:38,467 2504 [INFO ] - [NuGet] Acquired lock for the installation of golang 1.24.1
2025-03-04 23:01:38,966 2504 [INFO ] - [NuGet] Installed golang 1.24.1 from https://community.chocolatey.org/api/v2/ with content hash LV18uWzsc5riUQMQ+Cqd/a9xRmsC5bm8u5SIEEz+N0717/XwJrHk4iMh9h+DKb4JbcrO9EF++cUjbkaY1gX8oQ==.
2025-03-04 23:01:38,999 2504 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
2025-03-04 23:01:39,077 2504 [INFO ] - [NuGet] Adding package 'golang.1.24.1' to folder 'C:\ProgramData\chocolatey\lib'
2025-03-04 23:01:39,186 2504 [INFO ] - [NuGet] Added package 'golang.1.24.1' to folder 'C:\ProgramData\chocolatey\lib'
2025-03-04 23:01:39,218 2504 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\golang/1.24.1\golang.1.24.1.nupkg".
2025-03-04 23:01:39,218 2504 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\golang/1.24.1\.nupkg.metadata".
2025-03-04 23:01:39,232 2504 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\golang/1.24.1\golang.1.24.1.nupkg.sha512".
2025-03-04 23:01:39,232 2504 [INFO ] -
golang v1.24.1 (forced)
2025-03-04 23:01:39,357 2504 [INFO ] - golang package files install completed. Performing other installation steps.
2025-03-04 23:01:39,467 2504 [DEBUG] - Setting installer args for golang
2025-03-04 23:01:39,467 2504 [DEBUG] - Setting package parameters for golang
2025-03-04 23:01:39,483 2504 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1':
2025-03-04 23:01:39,514 2504 [DEBUG] - $root = Join-Path "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)" "install"
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $root
fileType = 'msi'
url = 'https://golang.org/dl/go1.24.1.windows-386.msi'
checksum = 'db128981033ac82a64688a123f631e61297b6b8f52ca913145e57caa8ce94cc3'
checksumType = 'SHA256'
url64 = 'https://golang.org/dl/go1.24.1.windows-amd64.msi'
checksum64 = '5968e7adcf26e68a54f1cd41ad561275a670a8e2ca5263bc375b524638557dfb'
checksumType64= 'SHA256'
silentArgs = '/qn /norestart'
validExitCodes= @(0, 3010, 1641)
}
New-Item -ItemType Directory -Force -Path $root | Out-Null
Install-ChocolateyPackage @packageArgs
2025-03-04 23:01:39,577 2504 [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\golang\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2025-03-04 23:01:39,592 2504 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2025-03-04 23:01:40,794 2504 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.6893' and CLR Version is '4.0.30319.42000'.
2025-03-04 23:01:41,606 2504 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
2025-03-04 23:01:41,638 2504 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
2025-03-04 23:01:41,655 2504 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2025-03-04 23:01:41,671 2504 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2025-03-04 23:01:41,671 2504 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2025-03-04 23:01:41,686 2504 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2025-03-04 23:01:41,686 2504 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2025-03-04 23:01:41,702 2504 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2025-03-04 23:01:41,702 2504 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2025-03-04 23:01:41,795 2504 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
2025-03-04 23:01:41,826 2504 [DEBUG] - Get-EnvironmentVariable
2025-03-04 23:01:41,826 2504 [DEBUG] - Get-EnvironmentVariableNames
2025-03-04 23:01:41,842 2504 [DEBUG] - Install-ChocolateyPath
2025-03-04 23:01:41,842 2504 [DEBUG] - Set-EnvironmentVariable
2025-03-04 23:01:41,858 2504 [DEBUG] - Test-ProcessAdminRights
2025-03-04 23:01:41,858 2504 [DEBUG] - Uninstall-ChocolateyPath
2025-03-04 23:01:41,874 2504 [DEBUG] - Update-SessionEnvironment
2025-03-04 23:01:41,889 2504 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2025-03-04 23:01:41,904 2504 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2025-03-04 23:01:41,904 2504 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2025-03-04 23:01:41,904 2504 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2025-03-04 23:01:41,924 2504 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2025-03-04 23:01:41,935 2504 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2025-03-04 23:01:41,935 2504 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2025-03-04 23:01:41,951 2504 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2025-03-04 23:01:41,951 2504 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2025-03-04 23:01:41,966 2504 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2025-03-04 23:01:41,966 2504 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2025-03-04 23:01:41,982 2504 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2025-03-04 23:01:41,982 2504 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2025-03-04 23:01:41,998 2504 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2025-03-04 23:01:41,998 2504 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2025-03-04 23:01:42,013 2504 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2025-03-04 23:01:42,013 2504 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2025-03-04 23:01:42,030 2504 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2025-03-04 23:01:42,030 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2025-03-04 23:01:42,044 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2025-03-04 23:01:42,044 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2025-03-04 23:01:42,064 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2025-03-04 23:01:42,076 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2025-03-04 23:01:42,076 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2025-03-04 23:01:42,091 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2025-03-04 23:01:42,091 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2025-03-04 23:01:42,106 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2025-03-04 23:01:42,106 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2025-03-04 23:01:42,123 2504 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2025-03-04 23:01:42,123 2504 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2025-03-04 23:01:42,138 2504 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2025-03-04 23:01:42,154 2504 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2025-03-04 23:01:42,172 2504 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-03-04 23:01:42,172 2504 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2025-03-04 23:01:42,186 2504 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2025-03-04 23:01:42,186 2504 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2025-03-04 23:01:42,201 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-03-04 23:01:42,216 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-03-04 23:01:42,216 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-03-04 23:01:42,232 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-03-04 23:01:42,232 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-03-04 23:01:42,248 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-03-04 23:01:42,248 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-03-04 23:01:42,263 2504 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2025-03-04 23:01:42,281 2504 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2025-03-04 23:01:42,281 2504 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2025-03-04 23:01:42,295 2504 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2025-03-04 23:01:42,295 2504 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2025-03-04 23:01:42,329 2504 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2025-03-04 23:01:42,343 2504 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2025-03-04 23:01:42,357 2504 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2025-03-04 23:01:42,357 2504 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2025-03-04 23:01:42,390 2504 [DEBUG] - Loading community extensions
2025-03-04 23:01:42,436 2504 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2025-03-04 23:01:42,436 2504 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2025-03-04 23:01:42,607 2504 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2025-03-04 23:01:42,873 2504 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2025-03-04 23:01:42,873 2504 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2025-03-04 23:01:42,889 2504 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2025-03-04 23:01:42,936 2504 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2025-03-04 23:01:42,956 2504 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2025-03-04 23:01:42,956 2504 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2025-03-04 23:01:42,967 2504 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2025-03-04 23:01:42,967 2504 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2025-03-04 23:01:42,984 2504 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2025-03-04 23:01:42,998 2504 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2025-03-04 23:01:42,998 2504 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2025-03-04 23:01:43,013 2504 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2025-03-04 23:01:43,013 2504 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2025-03-04 23:01:43,030 2504 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2025-03-04 23:01:43,045 2504 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2025-03-04 23:01:43,045 2504 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2025-03-04 23:01:43,091 2504 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2025-03-04 23:01:43,107 2504 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2025-03-04 23:01:43,107 2504 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2025-03-04 23:01:43,123 2504 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2025-03-04 23:01:43,138 2504 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2025-03-04 23:01:43,138 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2025-03-04 23:01:43,153 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2025-03-04 23:01:43,171 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2025-03-04 23:01:43,171 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2025-03-04 23:01:43,189 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2025-03-04 23:01:43,189 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2025-03-04 23:01:43,200 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2025-03-04 23:01:43,200 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2025-03-04 23:01:43,216 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2025-03-04 23:01:43,216 2504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2025-03-04 23:01:43,233 2504 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2025-03-04 23:01:43,233 2504 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2025-03-04 23:01:43,250 2504 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2025-03-04 23:01:43,250 2504 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2025-03-04 23:01:43,265 2504 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-03-04 23:01:43,280 2504 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2025-03-04 23:01:43,280 2504 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2025-03-04 23:01:43,294 2504 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2025-03-04 23:01:43,294 2504 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2025-03-04 23:01:43,312 2504 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2025-03-04 23:01:43,312 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-03-04 23:01:43,326 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-03-04 23:01:43,326 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-03-04 23:01:43,341 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-03-04 23:01:43,341 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-03-04 23:01:43,357 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-03-04 23:01:43,357 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-03-04 23:01:43,374 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-03-04 23:01:43,374 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-03-04 23:01:43,389 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-03-04 23:01:43,405 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-03-04 23:01:43,405 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-03-04 23:01:43,420 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-03-04 23:01:43,420 2504 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-03-04 23:01:43,437 2504 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2025-03-04 23:01:43,437 2504 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2025-03-04 23:01:43,451 2504 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2025-03-04 23:01:43,466 2504 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2025-03-04 23:01:43,466 2504 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2025-03-04 23:01:43,482 2504 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2025-03-04 23:01:43,482 2504 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2025-03-04 23:01:43,498 2504 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2025-03-04 23:01:43,513 2504 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2025-03-04 23:01:43,513 2504 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2025-03-04 23:01:43,530 2504 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2025-03-04 23:01:43,530 2504 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2025-03-04 23:01:43,544 2504 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2025-03-04 23:01:43,544 2504 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2025-03-04 23:01:43,560 2504 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2025-03-04 23:01:43,578 2504 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2025-03-04 23:01:43,591 2504 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2025-03-04 23:01:43,591 2504 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2025-03-04 23:01:43,608 2504 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2025-03-04 23:01:43,608 2504 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2025-03-04 23:01:43,623 2504 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2025-03-04 23:01:43,623 2504 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2025-03-04 23:01:43,640 2504 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2025-03-04 23:01:43,640 2504 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2025-03-04 23:01:43,654 2504 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2025-03-04 23:01:43,671 2504 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2025-03-04 23:01:43,671 2504 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2025-03-04 23:01:43,690 2504 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2025-03-04 23:01:43,703 2504 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2025-03-04 23:01:43,703 2504 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2025-03-04 23:01:43,722 2504 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2025-03-04 23:01:43,732 2504 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2025-03-04 23:01:43,748 2504 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2025-03-04 23:01:43,748 2504 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2025-03-04 23:01:43,764 2504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2025-03-04 23:01:43,764 2504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2025-03-04 23:01:43,779 2504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2025-03-04 23:01:43,779 2504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2025-03-04 23:01:43,795 2504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2025-03-04 23:01:43,795 2504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2025-03-04 23:01:43,811 2504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2025-03-04 23:01:43,811 2504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2025-03-04 23:01:43,826 2504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2025-03-04 23:01:43,826 2504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2025-03-04 23:01:43,843 2504 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2025-03-04 23:01:43,843 2504 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2025-03-04 23:01:43,858 2504 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2025-03-04 23:01:43,858 2504 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2025-03-04 23:01:43,873 2504 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2025-03-04 23:01:43,873 2504 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2025-03-04 23:01:43,890 2504 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-03-04 23:01:43,905 2504 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2025-03-04 23:01:43,919 2504 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2025-03-04 23:01:43,919 2504 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2025-03-04 23:01:43,935 2504 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2025-03-04 23:01:43,951 2504 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2025-03-04 23:01:43,951 2504 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2025-03-04 23:01:43,970 2504 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2025-03-04 23:01:43,970 2504 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2025-03-04 23:01:43,988 2504 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2025-03-04 23:01:43,998 2504 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2025-03-04 23:01:43,998 2504 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2025-03-04 23:01:44,013 2504 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2025-03-04 23:01:44,217 2504 [DEBUG] - ---------------------------Script Execution---------------------------
2025-03-04 23:01:44,249 2504 [DEBUG] - Running 'ChocolateyScriptRunner' for golang v1.24.1 with packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\golang', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2025-03-04 23:01:44,405 2504 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1'
2025-03-04 23:01:44,811 2504 [DEBUG] - Running Install-ChocolateyPackage -url 'https://golang.org/dl/go1.24.1.windows-386.msi' -checksum 'db128981033ac82a64688a123f631e61297b6b8f52ca913145e57caa8ce94cc3' -checksum64 '5968e7adcf26e68a54f1cd41ad561275a670a8e2ca5263bc375b524638557dfb' -silentArgs '/qn /norestart' -packageName 'golang' -checksumType 'SHA256' -fileType 'msi' -validExitCodes '0 3010 1641' -checksumType64 'SHA256' -url64bit 'https://golang.org/dl/go1.24.1.windows-amd64.msi'
2025-03-04 23:01:45,060 2504 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'golang' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.24.1\golangInstall.msi' -url 'https://golang.org/dl/go1.24.1.windows-386.msi' -url64bit 'https://golang.org/dl/go1.24.1.windows-amd64.msi' -checksum 'db128981033ac82a64688a123f631e61297b6b8f52ca913145e57caa8ce94cc3' -checksumType 'SHA256' -checksum64 '5968e7adcf26e68a54f1cd41ad561275a670a8e2ca5263bc375b524638557dfb' -checksumType64 'SHA256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2025-03-04 23:01:45,154 2504 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2025-03-04 23:01:45,233 2504 [DEBUG] - CPU is 64 bit
2025-03-04 23:01:45,266 2504 [DEBUG] - Setting url to 'https://golang.org/dl/go1.24.1.windows-amd64.msi' and bitPackage to 64
2025-03-04 23:01:45,403 2504 [DEBUG] - Running Get-WebFileName -url 'https://golang.org/dl/go1.24.1.windows-amd64.msi' -defaultName 'golangInstall.msi'
2025-03-04 23:01:46,716 2504 [DEBUG] - Using response url to determine file name. 'https://dl.google.com/go/go1.24.1.windows-amd64.msi'
2025-03-04 23:01:46,763 2504 [DEBUG] - File name determined from url is 'go1.24.1.windows-amd64.msi'
2025-03-04 23:01:46,888 2504 [DEBUG] - Running Get-WebHeaders -url 'https://golang.org/dl/go1.24.1.windows-amd64.msi' -ErrorAction 'Stop'
2025-03-04 23:01:46,920 2504 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2025-03-04 23:01:46,920 2504 [DEBUG] - Request Headers:
2025-03-04 23:01:46,966 2504 [DEBUG] - 'Accept':'*/*'
2025-03-04 23:01:46,981 2504 [DEBUG] - 'User-Agent':'chocolatey command line'
2025-03-04 23:01:47,498 2504 [DEBUG] - Response Headers:
2025-03-04 23:01:47,529 2504 [DEBUG] - 'Content-Disposition':'attachment'
2025-03-04 23:01:47,529 2504 [DEBUG] - 'Content-Security-Policy':'default-src 'none''
2025-03-04 23:01:47,549 2504 [DEBUG] - 'X-Content-Type-Options':'nosniff'
2025-03-04 23:01:47,560 2504 [DEBUG] - 'X-Frame-Options':'SAMEORIGIN'
2025-03-04 23:01:47,560 2504 [DEBUG] - 'X-Xss-Protection':'0'
2025-03-04 23:01:47,577 2504 [DEBUG] - 'Age':'0'
2025-03-04 23:01:47,594 2504 [DEBUG] - 'Alt-Svc':'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'
2025-03-04 23:01:47,609 2504 [DEBUG] - 'Accept-Ranges':'bytes'
2025-03-04 23:01:47,623 2504 [DEBUG] - 'Content-Length':'71991296'
2025-03-04 23:01:47,639 2504 [DEBUG] - 'Cache-Control':'public,max-age=86400'
2025-03-04 23:01:47,639 2504 [DEBUG] - 'Content-Type':'application/octet-stream'
2025-03-04 23:01:47,654 2504 [DEBUG] - 'Date':'Tue, 04 Mar 2025 23:01:47 GMT'
2025-03-04 23:01:47,672 2504 [DEBUG] - 'ETag':'"3f7db04"'
2025-03-04 23:01:47,672 2504 [DEBUG] - 'Last-Modified':'Tue, 04 Mar 2025 19:27:30 GMT'
2025-03-04 23:01:47,687 2504 [DEBUG] - 'Server':'downloads'
2025-03-04 23:01:47,763 2504 [INFO ] - Downloading golang 64 bit
from 'https://golang.org/dl/go1.24.1.windows-amd64.msi'
2025-03-04 23:01:47,857 2504 [DEBUG] - Running Get-WebFile -url 'https://golang.org/dl/go1.24.1.windows-amd64.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.24.1\go1.24.1.windows-amd64.msi' -options 'System.Collections.Hashtable'
2025-03-04 23:01:47,873 2504 [DEBUG] - Setting request timeout to 30000
2025-03-04 23:01:47,873 2504 [DEBUG] - Setting read/write timeout to 2700000
2025-03-04 23:01:47,889 2504 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2025-03-04 23:01:48,794 2504 [DEBUG] - Downloading https://golang.org/dl/go1.24.1.windows-amd64.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.24.1\go1.24.1.windows-amd64.msi
2025-03-04 23:01:59,607 2504 [INFO ] -
2025-03-04 23:01:59,622 2504 [INFO ] - Download of go1.24.1.windows-amd64.msi (68.66 MB) completed.
2025-03-04 23:02:02,764 2504 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2025-03-04 23:02:02,779 2504 [DEBUG] - Verifying package provided checksum of '5968e7adcf26e68a54f1cd41ad561275a670a8e2ca5263bc375b524638557dfb' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.24.1\go1.24.1.windows-amd64.msi'.
2025-03-04 23:02:02,841 2504 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.24.1\go1.24.1.windows-amd64.msi' -checksum '5968e7adcf26e68a54f1cd41ad561275a670a8e2ca5263bc375b524638557dfb' -checksumType 'SHA256' -originalUrl 'https://golang.org/dl/go1.24.1.windows-amd64.msi'
2025-03-04 23:02:02,904 2504 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2025-03-04 23:02:02,920 2504 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="5968e7adcf26e68a54f1cd41ad561275a670a8e2ca5263bc375b524638557dfb" -t="SHA256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.24.1\go1.24.1.windows-amd64.msi"]
2025-03-04 23:02:04,872 2504 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="5968e7adcf26e68a54f1cd41ad561275a670a8e2ca5263bc375b524638557dfb" -t="SHA256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.24.1\go1.24.1.windows-amd64.msi"] exited with '0'.
2025-03-04 23:02:05,029 2504 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'golang' -fileType 'msi' -silentArgs '/qn /norestart' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.24.1\go1.24.1.windows-amd64.msi' -validExitCodes '0 3010 1641' -useOnlyPackageSilentArguments 'False'
2025-03-04 23:02:05,045 2504 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2025-03-04 23:02:05,060 2504 [INFO ] - Installing golang...
2025-03-04 23:02:05,358 2504 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1641' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.24.1' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.24.1\go1.24.1.windows-amd64.msi" /qn /norestart' -exeToRun 'C:\Windows\System32\msiexec.exe'
2025-03-04 23:02:05,373 2504 [DEBUG] - Running Test-ProcessAdminRights
2025-03-04 23:02:05,389 2504 [DEBUG] - Test-ProcessAdminRights: returning True
2025-03-04 23:02:05,389 2504 [DEBUG] - Finishing 'Test-ProcessAdminRights'
2025-03-04 23:02:05,451 2504 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.24.1\go1.24.1.windows-amd64.msi" /qn /norestart]. This may take a while, depending on the statements.
2025-03-04 23:24:54,630 2504 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.24.1\go1.24.1.windows-amd64.msi" /qn /norestart] exited with '0'.
2025-03-04 23:24:54,740 2504 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2025-03-04 23:24:54,809 2504 [INFO ] - golang has been installed.
2025-03-04 23:24:54,880 2504 [DEBUG] - ----------------------------------------------------------------------
2025-03-04 23:24:54,926 2504 [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\golang\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2025-03-04 23:24:54,959 2504 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2025-03-04 23:24:56,491 2504 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2025-03-04 23:24:56,692 2504 [INFO ] - golang may be able to be automatically uninstalled.
2025-03-04 23:24:56,756 2504 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2025-03-04 23:24:56,791 2504 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2025-03-04 23:24:56,806 2504 [DEBUG] - * Path='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;C:\Users\vagrant\go\bin' (User)
2025-03-04 23:24:56,833 2504 [DEBUG] - * GOPATH='C:\Users\vagrant\go' (User)
2025-03-04 23:24:56,851 2504 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\Go\bin' (Machine)
2025-03-04 23:24:57,316 2504 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\golang'
2025-03-04 23:24:57,348 2504 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nupkg'
with checksum '5358BDA3CF707F4BD7F94DF1D4147488'
2025-03-04 23:24:57,364 2504 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nuspec'
with checksum '852B34815079155AAFDCDEBF8A347B75'
2025-03-04 23:24:57,380 2504 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1'
with checksum 'C4F331A8E0B208C7B333E6334048FA69'
2025-03-04 23:24:57,395 2504 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1'
with checksum '18C38D40EABEF8107F8AB009F7182064'
2025-03-04 23:24:57,568 2504 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\golang.1.24.1".
2025-03-04 23:24:57,739 2504 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\golang.1.24.1\.registry'
2025-03-04 23:24:57,848 2504 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\golang.1.24.1\.files'
2025-03-04 23:24:57,881 2504 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.24.1\.extra".
2025-03-04 23:24:57,894 2504 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.24.1\.version".
2025-03-04 23:24:57,911 2504 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.24.1\.sxs".
2025-03-04 23:24:57,943 2504 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.24.1\.pin".
2025-03-04 23:24:57,959 2504 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.24.1\.deploymentLocation".
2025-03-04 23:24:57,989 2504 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2025-03-04 23:24:58,005 2504 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\golang\.chocolateyPending".
2025-03-04 23:24:58,039 2504 [INFO ] - The install of golang was successful.
2025-03-04 23:24:58,067 2504 [INFO ] - Software installed as 'msi', install location is likely default.
2025-03-04 23:24:58,175 2504 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2025-03-04 23:24:58,207 2504 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2025-03-04 23:24:58,239 2504 [DEBUG] - Exiting with 0
2025-03-04 23:25:36,723 5640 [DEBUG] - XmlConfiguration is now operational
2025-03-04 23:25:37,459 5640 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-03-04 23:25:38,069 5640 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-03-04 23:25:38,100 5640 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-03-04 23:25:38,117 5640 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-03-04 23:25:38,131 5640 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-03-04 23:25:38,164 5640 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-03-04 23:25:38,179 5640 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-03-04 23:25:38,208 5640 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2025-03-04 23:25:38,223 5640 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-03-04 23:25:38,239 5640 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2025-03-04 23:25:38,270 5640 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2025-03-04 23:25:43,632 5640 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:25:43,716 5640 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:25:43,739 5640 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:25:43,772 5640 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:25:43,818 5640 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:25:43,848 5640 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:25:43,880 5640 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:25:43,927 5640 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:25:43,975 5640 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:25:44,004 5640 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-03-04 23:25:44,254 5640 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2025-03-04 23:25:44,287 5640 [DEBUG] - Registering new command 'list' in assembly 'choco'
2025-03-04 23:25:44,303 5640 [DEBUG] - Registering new command 'rule' in assembly 'choco'
2025-03-04 23:25:44,332 5640 [DEBUG] - Registering new command 'template' in assembly 'choco'
2025-03-04 23:25:44,349 5640 [DEBUG] - Registering new command 'export' in assembly 'choco'
2025-03-04 23:25:44,381 5640 [DEBUG] - Registering new command 'info' in assembly 'choco'
2025-03-04 23:25:44,395 5640 [DEBUG] - Registering new command 'help' in assembly 'choco'
2025-03-04 23:25:44,411 5640 [DEBUG] - Registering new command 'config' in assembly 'choco'
2025-03-04 23:25:44,458 5640 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2025-03-04 23:25:44,474 5640 [DEBUG] - Registering new command 'new' in assembly 'choco'
2025-03-04 23:25:44,504 5640 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2025-03-04 23:25:44,520 5640 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2025-03-04 23:25:44,536 5640 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2025-03-04 23:25:44,552 5640 [DEBUG] - Registering new command 'push' in assembly 'choco'
2025-03-04 23:25:44,583 5640 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2025-03-04 23:25:44,599 5640 [DEBUG] - Registering new command 'source' in assembly 'choco'
2025-03-04 23:25:44,616 5640 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2025-03-04 23:25:44,632 5640 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2025-03-04 23:25:44,665 5640 [DEBUG] - Registering new command 'search' in assembly 'choco'
2025-03-04 23:25:44,676 5640 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2025-03-04 23:25:44,692 5640 [DEBUG] - Registering new command 'install' in assembly 'choco'
2025-03-04 23:25:46,582 5640 [INFO ] - ============================================================
2025-03-04 23:25:49,162 5640 [INFO ] - Chocolatey v2.4.3
2025-03-04 23:25:49,302 5640 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2025-03-04 23:25:49,366 5640 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2025-03-04 23:25:49,395 5640 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2025-03-04 23:25:49,552 5640 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall golang --version 1.24.1 -dvy --execution-timeout=2700
2025-03-04 23:25:49,583 5640 [DEBUG] - Received arguments: uninstall golang --version 1.24.1 -dvy --execution-timeout=2700
2025-03-04 23:25:50,724 5640 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2025-03-04 23:25:50,911 5640 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2025-03-04 23:25:51,036 5640 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2025-03-04 23:25:52,426 5640 [DEBUG] - Performing validation checks.
2025-03-04 23:25:52,520 5640 [DEBUG] - Global Configuration Validation Checks:
2025-03-04 23:25:52,551 5640 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2025-03-04 23:25:52,646 5640 [DEBUG] - System State Validation Checks:
2025-03-04 23:25:52,676 5640 [DEBUG] - Reboot Requirement Checks:
2025-03-04 23:25:52,723 5640 [DEBUG] - - Pending Computer Rename = Checked
2025-03-04 23:25:52,773 5640 [DEBUG] - - Pending Component Based Servicing = Flagged
2025-03-04 23:25:52,832 5640 [DEBUG] - Cache Folder Lockdown Checks:
2025-03-04 23:25:52,897 5640 [DEBUG] - - Elevated State = Checked
2025-03-04 23:25:52,976 5640 [DEBUG] - - Folder Exists = Checked
2025-03-04 23:25:53,084 5640 [DEBUG] - - Folder lockdown = Checked
2025-03-04 23:25:53,160 5640 [INFO ] - 3 validations performed. 2 success(es), 1 warning(s), and 0 error(s).
2025-03-04 23:25:53,191 5640 [INFO ] -
2025-03-04 23:25:53,223 5640 [WARN ] - Validation Warnings:
2025-03-04 23:25:53,273 5640 [WARN ] - - A pending system reboot request has been detected, however, this is
being ignored due to the current Chocolatey configuration. If you
want to halt when this occurs, then either set the global feature
using:
choco feature enable --name="exitOnRebootDetected"
or pass the option --exit-when-reboot-detected.
2025-03-04 23:25:53,535 5640 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2025-03-04 23:25:53,583 5640 [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.
2025-03-04 23:25:53,989 5640 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|IncludeConfiguredSources='False'|
ShowOnlineHelp='False'|Debug='True'|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='golang'|
Version='1.24.1'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='golang'|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.17763.0'|
Information.PlatformName='Windows Server 2019'|
Information.ChocolateyVersion='2.4.3.0'|
Information.ChocolateyProductVersion='2.4.3'|
Information.FullName='choco, Version=2.4.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-J87L1LHLOU8'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|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='False'|
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'|
2025-03-04 23:25:54,022 5640 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2025-03-04 23:25:54,176 5640 [INFO ] - Uninstalling the following packages:
2025-03-04 23:25:54,195 5640 [INFO ] - golang
2025-03-04 23:25:54,316 5640 [DEBUG] - Current environment values (may contain sensitive data):
2025-03-04 23:25:54,332 5640 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;C:\Users\vagrant\go\bin' ('User')
2025-03-04 23:25:54,363 5640 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2025-03-04 23:25:54,395 5640 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2025-03-04 23:25:54,412 5640 [DEBUG] - * 'ChocolateyLastPathUpdate'='133855640449530054' ('User')
2025-03-04 23:25:54,442 5640 [DEBUG] - * 'GOPATH'='C:\Users\vagrant\go' ('User')
2025-03-04 23:25:54,458 5640 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2025-03-04 23:25:54,488 5640 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2025-03-04 23:25:54,505 5640 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2025-03-04 23:25:54,520 5640 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\Go\bin' ('Machine')
2025-03-04 23:25:54,551 5640 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2025-03-04 23:25:54,582 5640 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2025-03-04 23:25:54,632 5640 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2025-03-04 23:25:54,693 5640 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2025-03-04 23:25:54,771 5640 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2025-03-04 23:25:54,787 5640 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2025-03-04 23:25:54,818 5640 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2025-03-04 23:25:54,834 5640 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2025-03-04 23:25:54,866 5640 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2025-03-04 23:25:54,881 5640 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2025-03-04 23:25:54,912 5640 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2025-03-04 23:25:54,927 5640 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2025-03-04 23:25:56,394 5640 [DEBUG] - Running list with the following filter = ''
2025-03-04 23:25:56,410 5640 [DEBUG] - --- Start of List ---
2025-03-04 23:25:57,497 5640 [DEBUG] - Unable to get parent process for 'choco'. Ignoring...
2025-03-04 23:25:57,520 5640 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
2025-03-04 23:25:57,691 5640 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.3 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
2025-03-04 23:25:58,677 5640 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2025-03-04 23:26:03,208 5640 [DEBUG] - chocolatey 2.4.3
2025-03-04 23:26:03,301 5640 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2025-03-04 23:26:04,676 5640 [DEBUG] - golang 1.24.1
2025-03-04 23:26:04,738 5640 [DEBUG] - KB2919355 1.0.20160915
2025-03-04 23:26:04,785 5640 [DEBUG] - KB2919442 1.0.20160915
2025-03-04 23:26:04,833 5640 [DEBUG] - KB2999226 1.0.20181019
2025-03-04 23:26:04,880 5640 [DEBUG] - KB3035131 1.0.3
2025-03-04 23:26:04,959 5640 [DEBUG] - KB3118401 1.0.5
2025-03-04 23:26:05,004 5640 [DEBUG] - virtualbox-guest-additions-guest.install 7.1.0
2025-03-04 23:26:05,036 5640 [DEBUG] - --- End of List ---
2025-03-04 23:26:05,098 5640 [DEBUG] - Running list with the following filter = ''
2025-03-04 23:26:05,114 5640 [DEBUG] - --- Start of List ---
2025-03-04 23:26:05,162 5640 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
2025-03-04 23:26:05,178 5640 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.3 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
2025-03-04 23:26:05,548 5640 [DEBUG] - chocolatey 2.4.3
2025-03-04 23:26:05,693 5640 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2025-03-04 23:26:05,895 5640 [DEBUG] - golang 1.24.1
2025-03-04 23:26:05,942 5640 [DEBUG] - KB2919355 1.0.20160915
2025-03-04 23:26:06,004 5640 [DEBUG] - KB2919442 1.0.20160915
2025-03-04 23:26:06,101 5640 [DEBUG] - KB2999226 1.0.20181019
2025-03-04 23:26:06,145 5640 [DEBUG] - KB3035131 1.0.3
2025-03-04 23:26:06,209 5640 [DEBUG] - KB3118401 1.0.5
2025-03-04 23:26:06,317 5640 [DEBUG] - virtualbox-guest-additions-guest.install 7.1.0
2025-03-04 23:26:06,351 5640 [DEBUG] - --- End of List ---
2025-03-04 23:26:06,879 5640 [DEBUG] - Running list with the following filter = ''
2025-03-04 23:26:06,895 5640 [DEBUG] - --- Start of List ---
2025-03-04 23:26:06,942 5640 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
2025-03-04 23:26:06,958 5640 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.3 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
2025-03-04 23:26:07,177 5640 [DEBUG] - chocolatey 2.4.3
2025-03-04 23:26:07,270 5640 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2025-03-04 23:26:07,397 5640 [DEBUG] - golang 1.24.1
2025-03-04 23:26:07,442 5640 [DEBUG] - KB2919355 1.0.20160915
2025-03-04 23:26:07,488 5640 [DEBUG] - KB2919442 1.0.20160915
2025-03-04 23:26:07,536 5640 [DEBUG] - KB2999226 1.0.20181019
2025-03-04 23:26:07,582 5640 [DEBUG] - KB3035131 1.0.3
2025-03-04 23:26:07,613 5640 [DEBUG] - KB3118401 1.0.5
2025-03-04 23:26:07,707 5640 [DEBUG] - virtualbox-guest-additions-guest.install 7.1.0
2025-03-04 23:26:07,738 5640 [DEBUG] - --- End of List ---
2025-03-04 23:26:08,051 5640 [INFO ] -
golang v1.24.1
2025-03-04 23:26:08,223 5640 [DEBUG] - Running beforeModify step for 'golang'
2025-03-04 23:26:08,379 5640 [DEBUG] - Backing up package files for 'golang'
2025-03-04 23:26:09,410 5640 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\golang".
2025-03-04 23:26:09,442 5640 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\golang to C:\ProgramData\chocolatey\lib-bkp\golang\1.24.1
2025-03-04 23:26:09,487 5640 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\golang'
to 'C:\ProgramData\chocolatey\lib-bkp\golang\1.24.1'
2025-03-04 23:26:11,551 5640 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\golang".
2025-03-04 23:26:11,615 5640 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\1.24.1\golang.nupkg"
to "C:\ProgramData\chocolatey\lib\golang\golang.nupkg".
2025-03-04 23:26:11,660 5640 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\1.24.1\golang.nuspec"
to "C:\ProgramData\chocolatey\lib\golang\golang.nuspec".
2025-03-04 23:26:11,723 5640 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\golang\tools".
2025-03-04 23:26:11,804 5640 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\1.24.1\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1".
2025-03-04 23:26:11,865 5640 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\1.24.1\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1".
2025-03-04 23:26:13,474 5640 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\golang'
2025-03-04 23:26:13,521 5640 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nupkg'
with checksum '5358BDA3CF707F4BD7F94DF1D4147488'
2025-03-04 23:26:13,551 5640 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nuspec'
with checksum '852B34815079155AAFDCDEBF8A347B75'
2025-03-04 23:26:13,597 5640 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1'
with checksum 'C4F331A8E0B208C7B333E6334048FA69'
2025-03-04 23:26:13,618 5640 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1'
with checksum '18C38D40EABEF8107F8AB009F7182064'
2025-03-04 23:26:13,864 5640 [DEBUG] - Setting installer args for golang
2025-03-04 23:26:13,941 5640 [DEBUG] - Setting package parameters for golang
2025-03-04 23:26:14,006 5640 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1':
2025-03-04 23:26:14,115 5640 [DEBUG] - $ErrorActionPreference = 'Stop';
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'golang*'
fileType = 'msi'
silentArgs = "/qn /norestart"
validExitCodes= @(0, 3010, 1605, 1614, 1641)
}
[array]$key = Get-UninstallRegistryKey @packageArgs
if ($key.Count -eq 1) {
$key | ForEach-Object {
$packageArgs['file'] = "$($_.UninstallString)"
if ($packageArgs['fileType'] -eq 'MSI') {
$packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
$packageArgs['file'] = ''
}
Uninstall-ChocolateyPackage @packageArgs
}
} elseif ($key.Count -eq 0) {
Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
Write-Warning "$($key.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert package maintainer the following keys were matched:"
$key | ForEach-Object {Write-Warning "- $($_.DisplayName)"}
}
2025-03-04 23:26:14,302 5640 [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\golang\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2025-03-04 23:26:14,379 5640 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2025-03-04 23:26:21,987 5640 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.6893' and CLR Version is '4.0.30319.42000'.
2025-03-04 23:26:30,238 5640 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
2025-03-04 23:26:30,536 5640 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
2025-03-04 23:26:30,616 5640 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2025-03-04 23:26:30,693 5640 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2025-03-04 23:26:30,769 5640 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2025-03-04 23:26:30,787 5640 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2025-03-04 23:26:30,818 5640 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2025-03-04 23:26:30,848 5640 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2025-03-04 23:26:30,882 5640 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2025-03-04 23:26:31,410 5640 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
2025-03-04 23:26:31,614 5640 [DEBUG] - Get-EnvironmentVariable
2025-03-04 23:26:31,647 5640 [DEBUG] - Get-EnvironmentVariableNames
2025-03-04 23:26:31,676 5640 [DEBUG] - Install-ChocolateyPath
2025-03-04 23:26:31,707 5640 [DEBUG] - Set-EnvironmentVariable
2025-03-04 23:26:31,742 5640 [DEBUG] - Test-ProcessAdminRights
2025-03-04 23:26:31,832 5640 [DEBUG] - Uninstall-ChocolateyPath
2025-03-04 23:26:31,867 5640 [DEBUG] - Update-SessionEnvironment
2025-03-04 23:26:31,973 5640 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2025-03-04 23:26:32,037 5640 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2025-03-04 23:26:32,083 5640 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2025-03-04 23:26:32,180 5640 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2025-03-04 23:26:32,256 5640 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2025-03-04 23:26:32,286 5640 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2025-03-04 23:26:32,301 5640 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2025-03-04 23:26:32,332 5640 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2025-03-04 23:26:32,380 5640 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2025-03-04 23:26:32,410 5640 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2025-03-04 23:26:32,427 5640 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2025-03-04 23:26:32,458 5640 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2025-03-04 23:26:32,489 5640 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2025-03-04 23:26:32,520 5640 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2025-03-04 23:26:32,551 5640 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2025-03-04 23:26:32,582 5640 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2025-03-04 23:26:32,597 5640 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2025-03-04 23:26:32,629 5640 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2025-03-04 23:26:32,661 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2025-03-04 23:26:32,691 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2025-03-04 23:26:32,722 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2025-03-04 23:26:32,754 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2025-03-04 23:26:32,787 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2025-03-04 23:26:32,817 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2025-03-04 23:26:32,864 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2025-03-04 23:26:32,881 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2025-03-04 23:26:32,911 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2025-03-04 23:26:32,943 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2025-03-04 23:26:32,989 5640 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2025-03-04 23:26:33,004 5640 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2025-03-04 23:26:33,035 5640 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2025-03-04 23:26:33,068 5640 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2025-03-04 23:26:33,098 5640 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-03-04 23:26:33,130 5640 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2025-03-04 23:26:33,160 5640 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2025-03-04 23:26:33,191 5640 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2025-03-04 23:26:33,272 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-03-04 23:26:33,301 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-03-04 23:26:33,333 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-03-04 23:26:33,442 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-03-04 23:26:33,506 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-03-04 23:26:33,567 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-03-04 23:26:33,632 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-03-04 23:26:33,680 5640 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2025-03-04 23:26:33,707 5640 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2025-03-04 23:26:33,738 5640 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2025-03-04 23:26:33,770 5640 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2025-03-04 23:26:33,785 5640 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2025-03-04 23:26:33,817 5640 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2025-03-04 23:26:33,848 5640 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2025-03-04 23:26:33,879 5640 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2025-03-04 23:26:33,911 5640 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2025-03-04 23:26:34,083 5640 [DEBUG] - Loading community extensions
2025-03-04 23:26:34,347 5640 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2025-03-04 23:26:34,394 5640 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2025-03-04 23:26:36,708 5640 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2025-03-04 23:26:36,739 5640 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2025-03-04 23:26:36,785 5640 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2025-03-04 23:26:36,817 5640 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2025-03-04 23:26:37,083 5640 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2025-03-04 23:26:37,113 5640 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2025-03-04 23:26:37,146 5640 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2025-03-04 23:26:37,179 5640 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2025-03-04 23:26:37,207 5640 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2025-03-04 23:26:37,238 5640 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2025-03-04 23:26:37,272 5640 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2025-03-04 23:26:37,301 5640 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2025-03-04 23:26:37,347 5640 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2025-03-04 23:26:37,381 5640 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2025-03-04 23:26:37,411 5640 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2025-03-04 23:26:37,441 5640 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2025-03-04 23:26:37,569 5640 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2025-03-04 23:26:37,692 5640 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2025-03-04 23:26:37,706 5640 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2025-03-04 23:26:37,738 5640 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2025-03-04 23:26:37,769 5640 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2025-03-04 23:26:37,800 5640 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2025-03-04 23:26:37,817 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2025-03-04 23:26:37,848 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2025-03-04 23:26:37,881 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2025-03-04 23:26:37,911 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2025-03-04 23:26:37,941 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2025-03-04 23:26:37,973 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2025-03-04 23:26:37,988 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2025-03-04 23:26:38,038 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2025-03-04 23:26:38,067 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2025-03-04 23:26:38,129 5640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2025-03-04 23:26:38,160 5640 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2025-03-04 23:26:38,192 5640 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2025-03-04 23:26:38,223 5640 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2025-03-04 23:26:38,255 5640 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2025-03-04 23:26:38,286 5640 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-03-04 23:26:38,318 5640 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2025-03-04 23:26:38,333 5640 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2025-03-04 23:26:38,380 5640 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2025-03-04 23:26:38,395 5640 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2025-03-04 23:26:38,426 5640 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2025-03-04 23:26:38,457 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-03-04 23:26:38,489 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-03-04 23:26:38,519 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-03-04 23:26:38,557 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-03-04 23:26:38,587 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-03-04 23:26:38,613 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-03-04 23:26:38,645 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-03-04 23:26:38,677 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-03-04 23:26:38,708 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-03-04 23:26:38,738 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-03-04 23:26:38,769 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-03-04 23:26:38,801 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-03-04 23:26:38,832 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-03-04 23:26:38,866 5640 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-03-04 23:26:38,945 5640 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2025-03-04 23:26:39,036 5640 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2025-03-04 23:26:39,302 5640 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2025-03-04 23:26:39,504 5640 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2025-03-04 23:26:39,661 5640 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2025-03-04 23:26:39,786 5640 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2025-03-04 23:26:39,927 5640 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2025-03-04 23:26:40,105 5640 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2025-03-04 23:26:40,240 5640 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2025-03-04 23:26:40,476 5640 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2025-03-04 23:26:40,584 5640 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2025-03-04 23:26:40,650 5640 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2025-03-04 23:26:40,694 5640 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2025-03-04 23:26:40,738 5640 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2025-03-04 23:26:40,786 5640 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2025-03-04 23:26:40,881 5640 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2025-03-04 23:26:40,942 5640 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2025-03-04 23:26:40,990 5640 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2025-03-04 23:26:41,054 5640 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2025-03-04 23:26:41,114 5640 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2025-03-04 23:26:41,179 5640 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2025-03-04 23:26:41,238 5640 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2025-03-04 23:26:41,490 5640 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2025-03-04 23:26:41,709 5640 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2025-03-04 23:26:41,771 5640 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2025-03-04 23:26:41,833 5640 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2025-03-04 23:26:41,879 5640 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2025-03-04 23:26:41,943 5640 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2025-03-04 23:26:41,991 5640 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2025-03-04 23:26:42,052 5640 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2025-03-04 23:26:42,115 5640 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2025-03-04 23:26:42,177 5640 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2025-03-04 23:26:42,229 5640 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2025-03-04 23:26:42,290 5640 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2025-03-04 23:26:42,382 5640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2025-03-04 23:26:42,442 5640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2025-03-04 23:26:42,505 5640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2025-03-04 23:26:42,552 5640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2025-03-04 23:26:42,613 5640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2025-03-04 23:26:42,680 5640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2025-03-04 23:26:42,755 5640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2025-03-04 23:26:42,805 5640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2025-03-04 23:26:42,880 5640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2025-03-04 23:26:42,927 5640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2025-03-04 23:26:42,989 5640 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2025-03-04 23:26:43,021 5640 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2025-03-04 23:26:43,083 5640 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2025-03-04 23:26:43,131 5640 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2025-03-04 23:26:43,211 5640 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2025-03-04 23:26:43,255 5640 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2025-03-04 23:26:43,286 5640 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-03-04 23:26:43,443 5640 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2025-03-04 23:26:43,536 5640 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2025-03-04 23:26:43,647 5640 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2025-03-04 23:26:43,724 5640 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2025-03-04 23:26:43,787 5640 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2025-03-04 23:26:43,833 5640 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2025-03-04 23:26:43,880 5640 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2025-03-04 23:26:43,935 5640 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2025-03-04 23:26:43,973 5640 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2025-03-04 23:26:44,038 5640 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2025-03-04 23:26:44,103 5640 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2025-03-04 23:26:44,148 5640 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2025-03-04 23:26:49,115 5640 [DEBUG] - ---------------------------Script Execution---------------------------
2025-03-04 23:26:49,723 5640 [DEBUG] - Running 'ChocolateyScriptRunner' for golang v1.24.1 with packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\golang', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2025-03-04 23:26:50,865 5640 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1'
2025-03-04 23:26:54,676 5640 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'golang*'
2025-03-04 23:26:54,894 5640 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2025-03-04 23:26:56,613 5640 [DEBUG] - Registry uninstall keys on system: 28
2025-03-04 23:26:56,661 5640 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2025-03-04 23:26:57,958 5640 [WARN ] - WARNING: No registry key found based on 'golang*'
2025-03-04 23:26:58,083 5640 [DEBUG] - Found 0 uninstall registry key(s) with SoftwareName:'golang*'
2025-03-04 23:26:58,553 5640 [WARN ] - WARNING: golang has already been uninstalled by other means.
2025-03-04 23:26:58,880 5640 [DEBUG] - ----------------------------------------------------------------------
2025-03-04 23:26:59,004 5640 [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\golang\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2025-03-04 23:26:59,286 5640 [INFO ] - Running auto uninstaller...
2025-03-04 23:26:59,317 5640 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2025-03-04 23:27:01,442 5640 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{BBD247E5-0906-474C-9D90-E1B6C5874D58}' for 'Go Programming Language amd64 go1.24.1'
2025-03-04 23:27:01,832 5640 [DEBUG] - Uninstaller path is 'MsiExec.exe'
2025-03-04 23:27:01,881 5640 [DEBUG] - Installer type is 'MsiInstaller'
2025-03-04 23:27:01,911 5640 [DEBUG] - Setting up uninstall logging directory at C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.24.1
2025-03-04 23:27:01,957 5640 [DEBUG] - Args are '/X{BBD247E5-0906-474C-9D90-E1B6C5874D58} /qn /norestart'
2025-03-04 23:27:02,019 5640 [DEBUG] - Calling command ['"MsiExec.exe" /X{BBD247E5-0906-474C-9D90-E1B6C5874D58} /qn /norestart']

This is the image that was taken when the uninstall test failed:

golang v1.24.1 uninstall failure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment