Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 6, 2023 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save choco-bot/34fc408aa8183e4ac5605bd82ae1433e to your computer and use it in GitHub Desktop.
Save choco-bot/34fc408aa8183e4ac5605bd82ae1433e to your computer and use it in GitHub Desktop.
golang v1.20.5 - 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-1649032721-1736921050-2256771913-1000</user>
<keys>
<key installerType="Msi" displayName="Go Programming Language amd64 go1.20.5" displayVersion="1.20.5">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0560AA7F-FBA7-4FF6-A1EA-DF4F1DD19E6B}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{0560AA7F-FBA7-4FF6-A1EA-DF4F1DD19E6B}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[https://go.dev]]></Publisher>
<InstallDate>20230606</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.5\]]></InstallSource>
<Language>1033</Language>
<Version>18087941</Version>
<VersionMajor>1</VersionMajor>
<VersionMinor>20</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>true</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\3fa62.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

golang v1.20.5 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/golang/1.20.5
  • Tested 06 Jun 2023 21:12:20 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.0.1
  • Install was successful.
  • Uninstall was successful.
<?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="FC6C1703747F29A20E659A5C84412434" />
<file path="C:\ProgramData\chocolatey\lib\golang\golang.nuspec" checksum="8A133D98E64453B11584BD0CB93C2D9B" />
<file path="C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1" checksum="B7E1CCFFA4B887D562C0C643A3F067A4" />
<file path="C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1" checksum="18C38D40EABEF8107F8AB009F7182064" />
</files>
</fileSnapshot>
2023-06-06 21:06:31,308 5312 [DEBUG] - XmlConfiguration is now operational
2023-06-06 21:06:31,449 5312 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-06 21:06:31,449 5312 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-06 21:06:31,449 5312 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-06 21:06:31,449 5312 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-06 21:06:31,464 5312 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-06 21:06:31,464 5312 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-06 21:06:31,778 5312 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-06 21:06:31,778 5312 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-06 21:06:31,793 5312 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-06 21:06:31,793 5312 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-06 21:06:31,793 5312 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-06 21:06:31,808 5312 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-06 21:06:31,808 5312 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-06 21:06:31,808 5312 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-06 21:06:31,808 5312 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-06 21:06:31,824 5312 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-06 21:06:31,824 5312 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-06 21:06:31,824 5312 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-06 21:06:31,859 5312 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-06 21:06:31,859 5312 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-06 21:06:31,859 5312 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-06 21:06:31,871 5312 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-06 21:06:31,871 5312 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-06 21:06:31,871 5312 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-06 21:06:32,199 5312 [INFO ] - ============================================================
2023-06-06 21:06:32,589 5312 [INFO ] - Chocolatey v1.3.0
2023-06-06 21:06:32,621 5312 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-06 21:06:32,637 5312 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-06 21:06:32,637 5312 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-06 21:06:32,652 5312 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install golang --version 1.20.5 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-06 21:06:32,667 5312 [DEBUG] - Received arguments: install golang --version 1.20.5 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-06 21:06:32,823 5312 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-06 21:06:32,855 5312 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-06 21:06:32,887 5312 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-06 21:06:33,012 5312 [DEBUG] - Performing validation checks.
2023-06-06 21:06:33,027 5312 [DEBUG] - Global Configuration Validation Checks:
2023-06-06 21:06:33,043 5312 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-06 21:06:33,058 5312 [DEBUG] - System State Validation Checks:
2023-06-06 21:06:33,058 5312 [DEBUG] - Reboot Requirement Checks:
2023-06-06 21:06:33,074 5312 [DEBUG] - - Pending Computer Rename = Checked
2023-06-06 21:06:33,090 5312 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-06 21:06:33,090 5312 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-06 21:06:33,106 5312 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-06 21:06:33,106 5312 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-06 21:06:33,121 5312 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-06 21:06:33,137 5312 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-06 21:06:33,183 5312 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-06 21:06:33,199 5312 [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.
2023-06-06 21:06:33,230 5312 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|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.20.5'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='golang'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-1PEM0D8D2K6'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='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'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-06-06 21:06:33,261 5312 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-06 21:06:33,293 5312 [INFO ] - Installing the following packages:
2023-06-06 21:06:33,309 5312 [INFO ] - golang
2023-06-06 21:06:33,309 5312 [INFO ] - By installing, you accept licenses for the packages.
2023-06-06 21:06:33,323 5312 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-06 21:06:33,339 5312 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-06 21:06:33,355 5312 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-06 21:06:33,355 5312 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-06 21:06:33,355 5312 [DEBUG] - * 'ChocolateyLastPathUpdate'='133305268811463383' ('User')
2023-06-06 21:06:33,371 5312 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-06 21:06:33,371 5312 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-06 21:06:33,386 5312 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-06 21:06:33,386 5312 [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')
2023-06-06 21:06:33,386 5312 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-06 21:06:33,402 5312 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-06 21:06:33,402 5312 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-06 21:06:33,417 5312 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-06 21:06:33,417 5312 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-06 21:06:33,417 5312 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-06 21:06:33,433 5312 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-06 21:06:33,433 5312 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-06 21:06:33,449 5312 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-06 21:06:33,449 5312 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-06 21:06:33,464 5312 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-06 21:06:33,464 5312 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-06 21:06:35,714 5312 [INFO ] - [NuGet] Installing 'golang 1.20.5'.
2023-06-06 21:06:35,730 5312 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'golang\tools'.
2023-06-06 21:06:35,746 5312 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'golang\tools'.
2023-06-06 21:06:35,761 5312 [DEBUG] - [NuGet] Added file 'golang.nupkg' to folder 'golang'.
2023-06-06 21:06:36,153 5312 [DEBUG] - [NuGet] Added file 'golang.nuspec' to folder 'golang'.
2023-06-06 21:06:36,153 5312 [INFO ] - [NuGet] Successfully installed 'golang 1.20.5'.
2023-06-06 21:06:36,168 5312 [INFO ] -
golang v1.20.5 (forced)
2023-06-06 21:06:36,230 5312 [INFO ] - golang package files install completed. Performing other installation steps.
2023-06-06 21:06:36,310 5312 [DEBUG] - Setting installer args for golang
2023-06-06 21:06:36,310 5312 [DEBUG] - Setting package parameters for golang
2023-06-06 21:06:36,324 5312 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1':
2023-06-06 21:06:36,339 5312 [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.20.5.windows-386.msi'
checksum = '357a97c192322e8dd07f935a16b7b6e81180d8d3174b862d170e630441501fbd'
checksumType = 'SHA256'
url64 = 'https://golang.org/dl/go1.20.5.windows-amd64.msi'
checksum64 = '58b422bc4c6e69229ec55c3ecfeb624a2ac542b87b4366ea4db291369a725912'
checksumType64= 'SHA256'
silentArgs = '/qn /norestart'
validExitCodes= @(0, 3010, 1641)
}
New-Item -ItemType Directory -Force -Path $root | Out-Null
Install-ChocolateyPackage @packageArgs
2023-06-06 21:06:36,574 5312 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-06 21:06:36,590 5312 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-06 21:06:37,543 5312 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-06 21:06:38,058 5312 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-06 21:06:38,058 5312 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-06 21:06:38,074 5312 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-06 21:06:38,074 5312 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-06 21:06:38,074 5312 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-06 21:06:38,089 5312 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-06 21:06:38,089 5312 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-06 21:06:38,105 5312 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-06 21:06:38,105 5312 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-06 21:06:38,120 5312 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-06 21:06:38,120 5312 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-06 21:06:38,136 5312 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-06 21:06:38,136 5312 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-06 21:06:38,152 5312 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-06 21:06:38,152 5312 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-06 21:06:38,168 5312 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-06 21:06:38,168 5312 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-06 21:06:38,184 5312 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-06 21:06:38,184 5312 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-06 21:06:38,198 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-06 21:06:38,198 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-06 21:06:38,198 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-06 21:06:38,214 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-06 21:06:38,214 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-06 21:06:38,230 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-06 21:06:38,230 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-06 21:06:38,245 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-06 21:06:38,245 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-06 21:06:38,261 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-06 21:06:38,261 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-06 21:06:38,277 5312 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-06 21:06:38,277 5312 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-06 21:06:38,277 5312 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-06 21:06:38,293 5312 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-06 21:06:38,293 5312 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-06 21:06:38,308 5312 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-06 21:06:38,324 5312 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-06 21:06:38,324 5312 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-06 21:06:38,339 5312 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-06 21:06:38,339 5312 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-06 21:06:38,339 5312 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-06 21:06:38,356 5312 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-06 21:06:38,356 5312 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-06 21:06:38,371 5312 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-06 21:06:38,371 5312 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-06 21:06:38,386 5312 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-06 21:06:38,386 5312 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-06 21:06:38,402 5312 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-06 21:06:38,402 5312 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-06 21:06:38,418 5312 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-06 21:06:38,449 5312 [DEBUG] - Loading community extensions
2023-06-06 21:06:38,481 5312 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-06 21:06:38,495 5312 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-06 21:06:38,606 5312 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-06 21:06:38,621 5312 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-06 21:06:38,636 5312 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-06 21:06:38,636 5312 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-06 21:06:38,652 5312 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-06 21:06:38,652 5312 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-06 21:06:38,652 5312 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-06 21:06:38,668 5312 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-06 21:06:38,668 5312 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-06 21:06:38,683 5312 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-06 21:06:38,683 5312 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-06 21:06:38,699 5312 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-06 21:06:38,699 5312 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-06 21:06:38,714 5312 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-06 21:06:38,714 5312 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-06 21:06:38,730 5312 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-06 21:06:38,730 5312 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-06 21:06:38,730 5312 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-06 21:06:38,761 5312 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-06 21:06:38,761 5312 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-06 21:06:38,761 5312 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-06 21:06:38,777 5312 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-06 21:06:38,777 5312 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-06 21:06:38,793 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-06 21:06:38,793 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-06 21:06:38,808 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-06 21:06:38,808 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-06 21:06:38,823 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-06 21:06:38,823 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-06 21:06:38,839 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-06 21:06:38,839 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-06 21:06:38,855 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-06 21:06:38,855 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-06 21:06:38,871 5312 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-06 21:06:38,871 5312 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-06 21:06:38,871 5312 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-06 21:06:38,886 5312 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-06 21:06:38,886 5312 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-06 21:06:38,901 5312 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-06 21:06:38,917 5312 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-06 21:06:38,917 5312 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-06 21:06:38,933 5312 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-06 21:06:38,933 5312 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-06 21:06:38,948 5312 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-06 21:06:38,948 5312 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-06 21:06:38,948 5312 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-06 21:06:38,964 5312 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-06 21:06:38,981 5312 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-06 21:06:38,981 5312 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-06 21:06:38,996 5312 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-06 21:06:38,996 5312 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-06 21:06:39,011 5312 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-06 21:06:39,011 5312 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-06 21:06:39,027 5312 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-06 21:06:39,027 5312 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-06 21:06:39,042 5312 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-06 21:06:39,042 5312 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-06 21:06:39,059 5312 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-06 21:06:39,059 5312 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-06 21:06:39,074 5312 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-06 21:06:39,074 5312 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-06 21:06:39,089 5312 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-06 21:06:39,089 5312 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-06 21:06:39,105 5312 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-06 21:06:39,105 5312 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-06 21:06:39,120 5312 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-06 21:06:39,120 5312 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-06 21:06:39,136 5312 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-06 21:06:39,136 5312 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-06 21:06:39,152 5312 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-06 21:06:39,152 5312 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-06 21:06:39,167 5312 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-06 21:06:39,167 5312 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-06 21:06:39,183 5312 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-06 21:06:39,199 5312 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-06 21:06:39,199 5312 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-06 21:06:39,199 5312 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-06 21:06:39,215 5312 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-06 21:06:39,215 5312 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-06 21:06:39,230 5312 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-06 21:06:39,230 5312 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-06 21:06:39,246 5312 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-06 21:06:39,246 5312 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-06 21:06:39,261 5312 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-06 21:06:39,261 5312 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-06 21:06:39,277 5312 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-06 21:06:39,277 5312 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-06 21:06:39,293 5312 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-06 21:06:39,293 5312 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-06 21:06:39,308 5312 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-06 21:06:39,308 5312 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-06 21:06:39,324 5312 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-06 21:06:39,324 5312 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-06 21:06:39,339 5312 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-06 21:06:39,339 5312 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-06 21:06:39,355 5312 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-06 21:06:39,355 5312 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-06 21:06:39,371 5312 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-06 21:06:39,371 5312 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-06 21:06:39,386 5312 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-06 21:06:39,386 5312 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-06 21:06:39,402 5312 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-06 21:06:39,402 5312 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-06 21:06:39,417 5312 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-06 21:06:39,417 5312 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-06 21:06:39,434 5312 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-06 21:06:39,434 5312 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-06 21:06:39,449 5312 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-06 21:06:39,559 5312 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-06 21:06:39,606 5312 [DEBUG] - Running 'ChocolateyScriptRunner' for golang v1.20.5 with packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\golang', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-06 21:06:39,667 5312 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1'
2023-06-06 21:06:39,855 5312 [DEBUG] - Running Install-ChocolateyPackage -url 'https://golang.org/dl/go1.20.5.windows-386.msi' -checksum '357a97c192322e8dd07f935a16b7b6e81180d8d3174b862d170e630441501fbd' -checksum64 '58b422bc4c6e69229ec55c3ecfeb624a2ac542b87b4366ea4db291369a725912' -silentArgs '/qn /norestart' -packageName 'golang' -checksumType 'SHA256' -fileType 'msi' -validExitCodes '0 3010 1641' -checksumType64 'SHA256' -url64bit 'https://golang.org/dl/go1.20.5.windows-amd64.msi'
2023-06-06 21:06:39,996 5312 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'golang' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.5\golangInstall.msi' -url 'https://golang.org/dl/go1.20.5.windows-386.msi' -url64bit 'https://golang.org/dl/go1.20.5.windows-amd64.msi' -checksum '357a97c192322e8dd07f935a16b7b6e81180d8d3174b862d170e630441501fbd' -checksumType 'SHA256' -checksum64 '58b422bc4c6e69229ec55c3ecfeb624a2ac542b87b4366ea4db291369a725912' -checksumType64 'SHA256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2023-06-06 21:06:40,167 5312 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-06-06 21:06:40,199 5312 [DEBUG] - CPU is 64 bit
2023-06-06 21:06:40,231 5312 [DEBUG] - Setting url to 'https://golang.org/dl/go1.20.5.windows-amd64.msi' and bitPackage to 64
2023-06-06 21:06:40,324 5312 [DEBUG] - Running Get-WebFileName -url 'https://golang.org/dl/go1.20.5.windows-amd64.msi' -defaultName 'golangInstall.msi'
2023-06-06 21:06:41,199 5312 [DEBUG] - Using response url to determine file name. 'https://dl.google.com/go/go1.20.5.windows-amd64.msi'
2023-06-06 21:06:41,215 5312 [DEBUG] - File name determined from url is 'go1.20.5.windows-amd64.msi'
2023-06-06 21:06:41,325 5312 [DEBUG] - Running Get-WebHeaders -url 'https://golang.org/dl/go1.20.5.windows-amd64.msi' -ErrorAction 'Stop'
2023-06-06 21:06:41,340 5312 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-06-06 21:06:41,355 5312 [DEBUG] - Request Headers:
2023-06-06 21:06:41,371 5312 [DEBUG] - 'Accept':'*/*'
2023-06-06 21:06:41,371 5312 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-06-06 21:06:41,574 5312 [DEBUG] - Response Headers:
2023-06-06 21:06:41,589 5312 [DEBUG] - 'Content-Disposition':'attachment'
2023-06-06 21:06:41,605 5312 [DEBUG] - 'Content-Security-Policy':'default-src 'none''
2023-06-06 21:06:41,605 5312 [DEBUG] - 'X-Content-Type-Options':'nosniff'
2023-06-06 21:06:41,621 5312 [DEBUG] - 'X-Frame-Options':'SAMEORIGIN'
2023-06-06 21:06:41,636 5312 [DEBUG] - 'X-Xss-Protection':'0'
2023-06-06 21:06:41,652 5312 [DEBUG] - 'Age':'0'
2023-06-06 21:06:41,668 5312 [DEBUG] - 'Alt-Svc':'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'
2023-06-06 21:06:41,668 5312 [DEBUG] - 'Accept-Ranges':'bytes'
2023-06-06 21:06:41,683 5312 [DEBUG] - 'Content-Length':'100061184'
2023-06-06 21:06:41,683 5312 [DEBUG] - 'Cache-Control':'public,max-age=86400'
2023-06-06 21:06:41,699 5312 [DEBUG] - 'Content-Type':'application/octet-stream'
2023-06-06 21:06:41,717 5312 [DEBUG] - 'Date':'Tue, 06 Jun 2023 21:06:41 GMT'
2023-06-06 21:06:41,717 5312 [DEBUG] - 'ETag':'"16ed094"'
2023-06-06 21:06:41,730 5312 [DEBUG] - 'Last-Modified':'Tue, 06 Jun 2023 17:40:07 GMT'
2023-06-06 21:06:41,730 5312 [DEBUG] - 'Server':'downloads'
2023-06-06 21:06:41,777 5312 [INFO ] - Downloading golang 64 bit
from 'https://golang.org/dl/go1.20.5.windows-amd64.msi'
2023-06-06 21:06:41,840 5312 [DEBUG] - Running Get-WebFile -url 'https://golang.org/dl/go1.20.5.windows-amd64.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.5\go1.20.5.windows-amd64.msi' -options 'System.Collections.Hashtable'
2023-06-06 21:06:41,856 5312 [DEBUG] - Setting request timeout to 30000
2023-06-06 21:06:41,871 5312 [DEBUG] - Setting read/write timeout to 2700000
2023-06-06 21:06:41,871 5312 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-06-06 21:06:42,434 5312 [DEBUG] - Downloading https://golang.org/dl/go1.20.5.windows-amd64.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.5\go1.20.5.windows-amd64.msi
2023-06-06 21:06:52,637 5312 [INFO ] -
2023-06-06 21:06:52,652 5312 [INFO ] - Download of go1.20.5.windows-amd64.msi (95.43 MB) completed.
2023-06-06 21:06:55,809 5312 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-06-06 21:06:55,824 5312 [DEBUG] - Verifying package provided checksum of '58b422bc4c6e69229ec55c3ecfeb624a2ac542b87b4366ea4db291369a725912' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.5\go1.20.5.windows-amd64.msi'.
2023-06-06 21:06:55,856 5312 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.5\go1.20.5.windows-amd64.msi' -checksum '58b422bc4c6e69229ec55c3ecfeb624a2ac542b87b4366ea4db291369a725912' -checksumType 'SHA256' -originalUrl 'https://golang.org/dl/go1.20.5.windows-amd64.msi'
2023-06-06 21:06:55,887 5312 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-06-06 21:06:55,887 5312 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="58b422bc4c6e69229ec55c3ecfeb624a2ac542b87b4366ea4db291369a725912" -t="SHA256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.5\go1.20.5.windows-amd64.msi"]
2023-06-06 21:06:56,855 5312 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="58b422bc4c6e69229ec55c3ecfeb624a2ac542b87b4366ea4db291369a725912" -t="SHA256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.5\go1.20.5.windows-amd64.msi"] exited with '0'.
2023-06-06 21:06:56,950 5312 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'golang' -fileType 'msi' -silentArgs '/qn /norestart' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.5\go1.20.5.windows-amd64.msi' -validExitCodes '0 3010 1641' -useOnlyPackageSilentArguments 'False'
2023-06-06 21:06:56,965 5312 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-06 21:06:56,980 5312 [INFO ] - Installing golang...
2023-06-06 21:06:57,137 5312 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1641' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.5' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.5\go1.20.5.windows-amd64.msi" /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-06 21:06:57,199 5312 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-06 21:06:57,246 5312 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.5\go1.20.5.windows-amd64.msi" /qn /norestart ]. This may take a while, depending on the statements.
2023-06-06 21:08:47,410 5312 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.5\go1.20.5.windows-amd64.msi" /qn /norestart ] exited with '0'.
2023-06-06 21:08:47,472 5312 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-06 21:08:47,488 5312 [INFO ] - golang has been installed.
2023-06-06 21:08:47,504 5312 [DEBUG] - ----------------------------------------------------------------------
2023-06-06 21:08:47,519 5312 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-06 21:08:47,535 5312 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-06 21:08:47,707 5312 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-06 21:08:47,740 5312 [INFO ] - golang may be able to be automatically uninstalled.
2023-06-06 21:08:47,769 5312 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-06-06 21:08:47,769 5312 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-06-06 21:08:47,785 5312 [DEBUG] - * Path='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;C:\Users\vagrant\go\bin' (User)
2023-06-06 21:08:47,785 5312 [DEBUG] - * GOPATH='C:\Users\vagrant\go' (User)
2023-06-06 21:08:47,801 5312 [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)
2023-06-06 21:08:47,973 5312 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\golang'
2023-06-06 21:08:47,973 5312 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nupkg'
with checksum 'FC6C1703747F29A20E659A5C84412434'
2023-06-06 21:08:47,988 5312 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nuspec'
with checksum '8A133D98E64453B11584BD0CB93C2D9B'
2023-06-06 21:08:47,988 5312 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1'
with checksum 'B7E1CCFFA4B887D562C0C643A3F067A4'
2023-06-06 21:08:47,988 5312 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1'
with checksum '18C38D40EABEF8107F8AB009F7182064'
2023-06-06 21:08:48,253 5312 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\golang.1.20.5".
2023-06-06 21:08:48,316 5312 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\golang.1.20.5\.registry'
2023-06-06 21:08:48,379 5312 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\golang.1.20.5\.files'
2023-06-06 21:08:48,394 5312 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.20.5\.extra".
2023-06-06 21:08:48,410 5312 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.20.5\.version".
2023-06-06 21:08:48,410 5312 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.20.5\.sxs".
2023-06-06 21:08:48,410 5312 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.20.5\.pin".
2023-06-06 21:08:48,425 5312 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-06 21:08:48,441 5312 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\golang\.chocolateyPending".
2023-06-06 21:08:48,441 5312 [INFO ] - The install of golang was successful.
2023-06-06 21:08:48,457 5312 [INFO ] - Software installed as 'msi', install location is likely default.
2023-06-06 21:08:48,457 5312 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\golang.1.20.5.nupkg".
2023-06-06 21:08:48,504 5312 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-06 21:08:48,504 5312 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-06 21:08:48,550 5312 [DEBUG] - Exiting with 0
2023-06-06 21:09:02,785 5192 [DEBUG] - XmlConfiguration is now operational
2023-06-06 21:09:02,941 5192 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-06 21:09:02,956 5192 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-06 21:09:02,956 5192 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-06 21:09:02,956 5192 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-06 21:09:02,972 5192 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-06 21:09:02,972 5192 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-06 21:09:03,254 5192 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-06 21:09:03,254 5192 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-06 21:09:03,254 5192 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-06 21:09:03,269 5192 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-06 21:09:03,269 5192 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-06 21:09:03,269 5192 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-06 21:09:03,269 5192 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-06 21:09:03,285 5192 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-06 21:09:03,285 5192 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-06 21:09:03,285 5192 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-06 21:09:03,285 5192 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-06 21:09:03,300 5192 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-06 21:09:03,300 5192 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-06 21:09:03,300 5192 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-06 21:09:03,300 5192 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-06 21:09:03,315 5192 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-06 21:09:03,315 5192 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-06 21:09:03,315 5192 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-06 21:09:03,612 5192 [INFO ] - ============================================================
2023-06-06 21:09:03,973 5192 [INFO ] - Chocolatey v1.3.0
2023-06-06 21:09:04,003 5192 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-06 21:09:04,019 5192 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-06 21:09:04,034 5192 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-06 21:09:04,050 5192 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall golang --version 1.20.5 -dvy --execution-timeout=2700
2023-06-06 21:09:04,050 5192 [DEBUG] - Received arguments: uninstall golang --version 1.20.5 -dvy --execution-timeout=2700
2023-06-06 21:09:04,222 5192 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-06 21:09:04,238 5192 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-06 21:09:04,269 5192 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-06 21:09:04,410 5192 [DEBUG] - Performing validation checks.
2023-06-06 21:09:04,425 5192 [DEBUG] - Global Configuration Validation Checks:
2023-06-06 21:09:04,440 5192 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-06 21:09:04,456 5192 [DEBUG] - System State Validation Checks:
2023-06-06 21:09:04,472 5192 [DEBUG] - Reboot Requirement Checks:
2023-06-06 21:09:04,488 5192 [DEBUG] - - Pending Computer Rename = Checked
2023-06-06 21:09:04,488 5192 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-06 21:09:04,488 5192 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-06 21:09:04,504 5192 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-06 21:09:04,519 5192 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-06 21:09:04,519 5192 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-06 21:09:04,535 5192 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-06 21:09:04,582 5192 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-06 21:09:04,597 5192 [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.
2023-06-06 21:09:04,629 5192 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|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.20.5'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='golang'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-1PEM0D8D2K6'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='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'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-06-06 21:09:04,660 5192 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-06 21:09:04,676 5192 [INFO ] - Uninstalling the following packages:
2023-06-06 21:09:04,691 5192 [INFO ] - golang
2023-06-06 21:09:04,706 5192 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-06 21:09:04,706 5192 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;C:\Users\vagrant\go\bin' ('User')
2023-06-06 21:09:04,722 5192 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-06 21:09:04,722 5192 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-06 21:09:04,738 5192 [DEBUG] - * 'ChocolateyLastPathUpdate'='133305268811463383' ('User')
2023-06-06 21:09:04,738 5192 [DEBUG] - * 'GOPATH'='C:\Users\vagrant\go' ('User')
2023-06-06 21:09:04,753 5192 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-06 21:09:04,753 5192 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-06 21:09:04,769 5192 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-06 21:09:04,769 5192 [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')
2023-06-06 21:09:04,784 5192 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-06 21:09:04,784 5192 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-06 21:09:04,784 5192 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-06 21:09:04,800 5192 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-06 21:09:04,800 5192 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-06 21:09:04,816 5192 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-06 21:09:04,816 5192 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-06 21:09:04,816 5192 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-06 21:09:04,831 5192 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-06 21:09:04,831 5192 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-06 21:09:04,847 5192 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-06 21:09:04,847 5192 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-06 21:09:05,003 5192 [DEBUG] - Running list with the following filter = ''
2023-06-06 21:09:05,020 5192 [DEBUG] - --- Start of List ---
2023-06-06 21:09:05,472 5192 [DEBUG] - golang 1.20.5
2023-06-06 21:09:05,488 5192 [DEBUG] - --- End of List ---
2023-06-06 21:09:05,785 5192 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-06 21:09:05,785 5192 [DEBUG] - Backing up existing golang prior to operation.
2023-06-06 21:09:05,801 5192 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\golang'
to 'C:\ProgramData\chocolatey\lib-bkp\golang'
2023-06-06 21:09:07,831 5192 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\golang".
2023-06-06 21:09:07,831 5192 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\golang.nupkg"
to "C:\ProgramData\chocolatey\lib\golang\golang.nupkg".
2023-06-06 21:09:07,847 5192 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\golang.nuspec"
to "C:\ProgramData\chocolatey\lib\golang\golang.nuspec".
2023-06-06 21:09:07,847 5192 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\golang\tools".
2023-06-06 21:09:07,863 5192 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1".
2023-06-06 21:09:07,863 5192 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1".
2023-06-06 21:09:09,394 5192 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\golang'
2023-06-06 21:09:09,409 5192 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nupkg'
with checksum 'FC6C1703747F29A20E659A5C84412434'
2023-06-06 21:09:09,409 5192 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nuspec'
with checksum '8A133D98E64453B11584BD0CB93C2D9B'
2023-06-06 21:09:09,425 5192 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1'
with checksum 'B7E1CCFFA4B887D562C0C643A3F067A4'
2023-06-06 21:09:09,425 5192 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1'
with checksum '18C38D40EABEF8107F8AB009F7182064'
2023-06-06 21:09:09,801 5192 [INFO ] - [NuGet] Uninstalling 'golang 1.20.5'.
2023-06-06 21:09:09,816 5192 [INFO ] -
golang v1.20.5
2023-06-06 21:09:09,880 5192 [DEBUG] - Setting installer args for golang
2023-06-06 21:09:09,880 5192 [DEBUG] - Setting package parameters for golang
2023-06-06 21:09:09,894 5192 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1':
2023-06-06 21:09:09,910 5192 [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)"}
}
2023-06-06 21:09:09,973 5192 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-06 21:09:09,973 5192 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-06 21:09:10,676 5192 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-06 21:09:11,239 5192 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-06 21:09:11,239 5192 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-06 21:09:11,254 5192 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-06 21:09:11,269 5192 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-06 21:09:11,269 5192 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-06 21:09:11,284 5192 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-06 21:09:11,284 5192 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-06 21:09:11,300 5192 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-06 21:09:11,300 5192 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-06 21:09:11,316 5192 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-06 21:09:11,331 5192 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-06 21:09:11,331 5192 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-06 21:09:11,347 5192 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-06 21:09:11,347 5192 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-06 21:09:11,363 5192 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-06 21:09:11,363 5192 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-06 21:09:11,379 5192 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-06 21:09:11,379 5192 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-06 21:09:11,394 5192 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-06 21:09:11,409 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-06 21:09:11,409 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-06 21:09:11,425 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-06 21:09:11,425 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-06 21:09:11,441 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-06 21:09:11,441 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-06 21:09:11,456 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-06 21:09:11,456 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-06 21:09:11,456 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-06 21:09:11,472 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-06 21:09:11,472 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-06 21:09:11,488 5192 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-06 21:09:11,488 5192 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-06 21:09:11,503 5192 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-06 21:09:11,503 5192 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-06 21:09:11,519 5192 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-06 21:09:11,519 5192 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-06 21:09:11,537 5192 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-06 21:09:11,550 5192 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-06 21:09:11,550 5192 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-06 21:09:11,550 5192 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-06 21:09:11,565 5192 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-06 21:09:11,582 5192 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-06 21:09:11,598 5192 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-06 21:09:11,598 5192 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-06 21:09:11,613 5192 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-06 21:09:11,628 5192 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-06 21:09:11,628 5192 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-06 21:09:11,643 5192 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-06 21:09:11,643 5192 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-06 21:09:11,660 5192 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-06 21:09:11,692 5192 [DEBUG] - Loading community extensions
2023-06-06 21:09:11,722 5192 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-06 21:09:11,722 5192 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-06 21:09:11,863 5192 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-06 21:09:11,863 5192 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-06 21:09:11,878 5192 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-06 21:09:11,894 5192 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-06 21:09:11,894 5192 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-06 21:09:11,909 5192 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-06 21:09:11,909 5192 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-06 21:09:11,925 5192 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-06 21:09:11,925 5192 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-06 21:09:11,941 5192 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-06 21:09:11,941 5192 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-06 21:09:11,956 5192 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-06 21:09:11,956 5192 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-06 21:09:11,972 5192 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-06 21:09:11,972 5192 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-06 21:09:11,987 5192 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-06 21:09:11,987 5192 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-06 21:09:12,003 5192 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-06 21:09:12,003 5192 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-06 21:09:12,019 5192 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-06 21:09:12,019 5192 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-06 21:09:12,038 5192 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-06 21:09:12,050 5192 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-06 21:09:12,050 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-06 21:09:12,050 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-06 21:09:12,066 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-06 21:09:12,066 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-06 21:09:12,081 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-06 21:09:12,081 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-06 21:09:12,097 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-06 21:09:12,097 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-06 21:09:12,112 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-06 21:09:12,112 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-06 21:09:12,128 5192 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-06 21:09:12,128 5192 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-06 21:09:12,144 5192 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-06 21:09:12,144 5192 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-06 21:09:12,160 5192 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-06 21:09:12,160 5192 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-06 21:09:12,175 5192 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-06 21:09:12,175 5192 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-06 21:09:12,190 5192 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-06 21:09:12,206 5192 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-06 21:09:12,206 5192 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-06 21:09:12,222 5192 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-06 21:09:12,222 5192 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-06 21:09:12,237 5192 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-06 21:09:12,237 5192 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-06 21:09:12,254 5192 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-06 21:09:12,254 5192 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-06 21:09:12,269 5192 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-06 21:09:12,269 5192 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-06 21:09:12,285 5192 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-06 21:09:12,285 5192 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-06 21:09:12,300 5192 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-06 21:09:12,300 5192 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-06 21:09:12,316 5192 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-06 21:09:12,331 5192 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-06 21:09:12,331 5192 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-06 21:09:12,347 5192 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-06 21:09:12,347 5192 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-06 21:09:12,363 5192 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-06 21:09:12,363 5192 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-06 21:09:12,363 5192 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-06 21:09:12,378 5192 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-06 21:09:12,378 5192 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-06 21:09:12,394 5192 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-06 21:09:12,394 5192 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-06 21:09:12,410 5192 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-06 21:09:12,410 5192 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-06 21:09:12,425 5192 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-06 21:09:12,425 5192 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-06 21:09:12,440 5192 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-06 21:09:12,440 5192 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-06 21:09:12,456 5192 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-06 21:09:12,456 5192 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-06 21:09:12,471 5192 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-06 21:09:12,471 5192 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-06 21:09:12,471 5192 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-06 21:09:12,487 5192 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-06 21:09:12,504 5192 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-06 21:09:12,519 5192 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-06 21:09:12,519 5192 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-06 21:09:12,534 5192 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-06 21:09:12,534 5192 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-06 21:09:12,550 5192 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-06 21:09:12,550 5192 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-06 21:09:12,566 5192 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-06 21:09:12,566 5192 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-06 21:09:12,581 5192 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-06 21:09:12,581 5192 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-06 21:09:12,597 5192 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-06 21:09:12,597 5192 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-06 21:09:12,613 5192 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-06 21:09:12,613 5192 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-06 21:09:12,628 5192 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-06 21:09:12,628 5192 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-06 21:09:12,644 5192 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-06 21:09:12,644 5192 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-06 21:09:12,661 5192 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-06 21:09:12,675 5192 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-06 21:09:12,690 5192 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-06 21:09:12,690 5192 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-06 21:09:12,706 5192 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-06 21:09:12,706 5192 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-06 21:09:12,722 5192 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-06 21:09:12,722 5192 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-06 21:09:12,738 5192 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-06 21:09:12,832 5192 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-06 21:09:12,848 5192 [DEBUG] - Running 'ChocolateyScriptRunner' for golang v1.20.5 with packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\golang', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-06 21:09:12,925 5192 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1'
2023-06-06 21:09:13,066 5192 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'golang*'
2023-06-06 21:09:13,081 5192 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-06-06 21:09:13,207 5192 [DEBUG] - Registry uninstall keys on system: 28
2023-06-06 21:09:13,223 5192 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-06-06 21:09:13,300 5192 [WARN ] - WARNING: No registry key found based on 'golang*'
2023-06-06 21:09:13,300 5192 [DEBUG] - Found 0 uninstall registry key(s) with SoftwareName:'golang*'
2023-06-06 21:09:13,348 5192 [WARN ] - WARNING: golang has already been uninstalled by other means.
2023-06-06 21:09:13,363 5192 [DEBUG] - ----------------------------------------------------------------------
2023-06-06 21:09:13,378 5192 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-06 21:09:13,425 5192 [INFO ] - Running auto uninstaller...
2023-06-06 21:09:13,441 5192 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-06-06 21:09:15,629 5192 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{0560AA7F-FBA7-4FF6-A1EA-DF4F1DD19E6B}' for 'Go Programming Language amd64 go1.20.5'
2023-06-06 21:09:15,677 5192 [DEBUG] - Uninstaller path is 'MsiExec.exe'
2023-06-06 21:09:15,692 5192 [DEBUG] - Installer type is 'MsiInstaller'
2023-06-06 21:09:15,706 5192 [DEBUG] - Setting up uninstall logging directory at C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.5
2023-06-06 21:09:15,706 5192 [DEBUG] - Args are '/X{0560AA7F-FBA7-4FF6-A1EA-DF4F1DD19E6B} /qn /norestart'
2023-06-06 21:09:15,722 5192 [DEBUG] - Calling command ['"MsiExec.exe" /X{0560AA7F-FBA7-4FF6-A1EA-DF4F1DD19E6B} /qn /norestart']
2023-06-06 21:12:19,542 5192 [DEBUG] - Command ['"MsiExec.exe" /X{0560AA7F-FBA7-4FF6-A1EA-DF4F1DD19E6B} /qn /norestart'] exited with '0'
2023-06-06 21:12:19,542 5192 [INFO ] - Auto uninstaller has successfully uninstalled golang or detected previous uninstall.
2023-06-06 21:12:19,557 5192 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-06 21:12:19,666 5192 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-06 21:12:19,682 5192 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\golang".
2023-06-06 21:12:19,744 5192 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\golang\tools'.
2023-06-06 21:12:19,744 5192 [DEBUG] - [NuGet] Removed file 'chocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\golang\tools'.
2023-06-06 21:12:19,776 5192 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\golang\tools'.
2023-06-06 21:12:19,793 5192 [DEBUG] - [NuGet] Removed file 'golang.nuspec' to folder 'C:\ProgramData\chocolatey\lib\golang'.
2023-06-06 21:12:19,793 5192 [DEBUG] - [NuGet] Removed file 'golang.nupkg' to folder 'C:\ProgramData\chocolatey\lib\golang'.
2023-06-06 21:12:19,807 5192 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\golang'.
2023-06-06 21:12:19,807 5192 [INFO ] - [NuGet] Successfully uninstalled 'golang 1.20.5'.
2023-06-06 21:12:19,839 5192 [INFO ] - golang has been successfully uninstalled.
2023-06-06 21:12:19,854 5192 [DEBUG] - Removing nupkg if it still exists.
2023-06-06 21:12:19,854 5192 [DEBUG] - Ensuring removal of installation files.
2023-06-06 21:12:19,870 5192 [DEBUG] - Ensuring removal of package cache files.
2023-06-06 21:12:19,870 5192 [DEBUG] - Attempting to delete directory "C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.5".
2023-06-06 21:12:19,917 5192 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-06-06 21:12:19,917 5192 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-06-06 21:12:19,932 5192 [DEBUG] - * Path='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps' (User)
2023-06-06 21:12:19,932 5192 [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)
2023-06-06 21:12:19,947 5192 [DEBUG] - The following values have been removed:
2023-06-06 21:12:19,947 5192 [DEBUG] - * GOPATH='C:\Users\vagrant\go' (User)
2023-06-06 21:12:19,980 5192 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-06 21:12:19,994 5192 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-06 21:12:20,027 5192 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment