Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created July 11, 2023 17:28
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/dc45300943b39ba51fbdfc41b26e5042 to your computer and use it in GitHub Desktop.
Save choco-bot/dc45300943b39ba51fbdfc41b26e5042 to your computer and use it in GitHub Desktop.
golang v1.20.6 - 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-2862040124-4079485462-896008920-1000</user>
<keys>
<key installerType="Msi" displayName="Go Programming Language amd64 go1.20.6" displayVersion="1.20.6">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8655A964-8B8B-4681-B82E-111C3B006185}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{8655A964-8B8B-4681-B82E-111C3B006185}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[https://go.dev]]></Publisher>
<InstallDate>20230711</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.6\]]></InstallSource>
<Language>1033</Language>
<Version>18087942</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\4251b.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

golang v1.20.6 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/golang/1.20.6
  • Tested 11 Jul 2023 17:28:18 +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="FC030C585C4AA347A608540CF54BB0EC" />
<file path="C:\ProgramData\chocolatey\lib\golang\golang.nuspec" checksum="FBEFAB9403E12773965E913C39BA595B" />
<file path="C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1" checksum="A4C531B3A34D2EAA3753CA7FD43F9113" />
<file path="C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1" checksum="18C38D40EABEF8107F8AB009F7182064" />
</files>
</fileSnapshot>
2023-07-11 17:22:49,060 2492 [DEBUG] - XmlConfiguration is now operational
2023-07-11 17:22:49,170 2492 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-11 17:22:49,183 2492 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-11 17:22:49,183 2492 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-11 17:22:49,183 2492 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-11 17:22:49,199 2492 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-11 17:22:49,199 2492 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-11 17:22:49,451 2492 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-11 17:22:49,469 2492 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-11 17:22:49,469 2492 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-11 17:22:49,480 2492 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-11 17:22:49,480 2492 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-11 17:22:49,480 2492 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-11 17:22:49,499 2492 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-11 17:22:49,499 2492 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-11 17:22:49,512 2492 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-11 17:22:49,512 2492 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-11 17:22:49,512 2492 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-11 17:22:49,527 2492 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-11 17:22:49,527 2492 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-11 17:22:49,543 2492 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-11 17:22:49,543 2492 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-11 17:22:49,543 2492 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-11 17:22:49,543 2492 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-11 17:22:49,559 2492 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-11 17:22:49,824 2492 [INFO ] - ============================================================
2023-07-11 17:22:50,200 2492 [INFO ] - Chocolatey v1.3.0
2023-07-11 17:22:50,231 2492 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-11 17:22:50,246 2492 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-11 17:22:50,246 2492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-11 17:22:50,262 2492 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install golang --version 1.20.6 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-11 17:22:50,277 2492 [DEBUG] - Received arguments: install golang --version 1.20.6 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-11 17:22:50,449 2492 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-11 17:22:50,480 2492 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-11 17:22:50,497 2492 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-11 17:22:50,639 2492 [DEBUG] - Performing validation checks.
2023-07-11 17:22:50,653 2492 [DEBUG] - Global Configuration Validation Checks:
2023-07-11 17:22:50,669 2492 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-11 17:22:50,684 2492 [DEBUG] - System State Validation Checks:
2023-07-11 17:22:50,699 2492 [DEBUG] - Reboot Requirement Checks:
2023-07-11 17:22:50,699 2492 [DEBUG] - - Pending Computer Rename = Checked
2023-07-11 17:22:50,715 2492 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-11 17:22:50,715 2492 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-11 17:22:50,731 2492 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-11 17:22:50,746 2492 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-11 17:22:50,746 2492 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-11 17:22:50,762 2492 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-11 17:22:50,824 2492 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-11 17:22:50,824 2492 [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-07-11 17:22:50,856 2492 [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.6'|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-LJRJES7NN28'|
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-07-11 17:22:50,887 2492 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-07-11 17:22:50,902 2492 [INFO ] - Installing the following packages:
2023-07-11 17:22:50,918 2492 [INFO ] - golang
2023-07-11 17:22:50,934 2492 [INFO ] - By installing, you accept licenses for the packages.
2023-07-11 17:22:50,965 2492 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-11 17:22:50,965 2492 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-11 17:22:50,980 2492 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-11 17:22:50,980 2492 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-11 17:22:50,996 2492 [DEBUG] - * 'ChocolateyLastPathUpdate'='133335508939819883' ('User')
2023-07-11 17:22:50,996 2492 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-11 17:22:50,996 2492 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-11 17:22:51,011 2492 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-11 17:22:51,011 2492 [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-07-11 17:22:51,027 2492 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-11 17:22:51,027 2492 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-11 17:22:51,043 2492 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-11 17:22:51,043 2492 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-11 17:22:51,043 2492 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-11 17:22:51,059 2492 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-11 17:22:51,059 2492 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-11 17:22:51,074 2492 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-11 17:22:51,074 2492 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-11 17:22:51,090 2492 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-11 17:22:51,090 2492 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-11 17:22:51,106 2492 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-11 17:22:53,200 2492 [INFO ] - [NuGet] Installing 'golang 1.20.6'.
2023-07-11 17:22:53,230 2492 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'golang\tools'.
2023-07-11 17:22:53,230 2492 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'golang\tools'.
2023-07-11 17:22:53,246 2492 [DEBUG] - [NuGet] Added file 'golang.nupkg' to folder 'golang'.
2023-07-11 17:22:53,653 2492 [DEBUG] - [NuGet] Added file 'golang.nuspec' to folder 'golang'.
2023-07-11 17:22:53,653 2492 [INFO ] - [NuGet] Successfully installed 'golang 1.20.6'.
2023-07-11 17:22:53,668 2492 [INFO ] -
golang v1.20.6 (forced)
2023-07-11 17:22:53,700 2492 [INFO ] - golang package files install completed. Performing other installation steps.
2023-07-11 17:22:53,762 2492 [DEBUG] - Setting installer args for golang
2023-07-11 17:22:53,778 2492 [DEBUG] - Setting package parameters for golang
2023-07-11 17:22:53,778 2492 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1':
2023-07-11 17:22:53,793 2492 [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.6.windows-386.msi'
checksum = 'feb70409cac708d1138df68b266dc9a9a00c2a4571cd21e6c705a25bf822efe8'
checksumType = 'SHA256'
url64 = 'https://golang.org/dl/go1.20.6.windows-amd64.msi'
checksum64 = '9e4c5c73b6790a28f12ca3abf84f0c08d0c59406e14dd631f50ccf12467d8eeb'
checksumType64= 'SHA256'
silentArgs = '/qn /norestart'
validExitCodes= @(0, 3010, 1641)
}
New-Item -ItemType Directory -Force -Path $root | Out-Null
Install-ChocolateyPackage @packageArgs
2023-07-11 17:22:53,856 2492 [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-07-11 17:22:53,871 2492 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-11 17:22:54,498 2492 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-11 17:22:54,950 2492 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-11 17:22:54,965 2492 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-11 17:22:54,965 2492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-11 17:22:54,965 2492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-11 17:22:54,980 2492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-11 17:22:54,980 2492 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-11 17:22:54,996 2492 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-11 17:22:55,011 2492 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-11 17:22:55,011 2492 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-11 17:22:55,027 2492 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-11 17:22:55,027 2492 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-11 17:22:55,043 2492 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-11 17:22:55,043 2492 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-11 17:22:55,043 2492 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-11 17:22:55,059 2492 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-11 17:22:55,074 2492 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-11 17:22:55,074 2492 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-11 17:22:55,074 2492 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-11 17:22:55,090 2492 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-11 17:22:55,090 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-11 17:22:55,105 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-11 17:22:55,121 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-11 17:22:55,121 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-11 17:22:55,137 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-11 17:22:55,137 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-11 17:22:55,137 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-11 17:22:55,153 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-11 17:22:55,168 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-11 17:22:55,168 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-11 17:22:55,168 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-11 17:22:55,183 2492 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-11 17:22:55,183 2492 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-11 17:22:55,199 2492 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-11 17:22:55,199 2492 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-11 17:22:55,215 2492 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-11 17:22:55,215 2492 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-11 17:22:55,230 2492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-11 17:22:55,246 2492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-11 17:22:55,246 2492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-11 17:22:55,246 2492 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-11 17:22:55,262 2492 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-11 17:22:55,262 2492 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-11 17:22:55,293 2492 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-11 17:22:55,309 2492 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-11 17:22:55,309 2492 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-11 17:22:55,309 2492 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-11 17:22:55,324 2492 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-11 17:22:55,324 2492 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-11 17:22:55,340 2492 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-11 17:22:55,340 2492 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-11 17:22:55,387 2492 [DEBUG] - Loading community extensions
2023-07-11 17:22:55,451 2492 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-11 17:22:55,451 2492 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-11 17:22:55,575 2492 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-11 17:22:55,575 2492 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-11 17:22:55,590 2492 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-11 17:22:55,590 2492 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-11 17:22:55,606 2492 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-11 17:22:55,621 2492 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-11 17:22:55,621 2492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-11 17:22:55,637 2492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-11 17:22:55,653 2492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-11 17:22:55,653 2492 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-11 17:22:55,668 2492 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-11 17:22:55,668 2492 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-11 17:22:55,684 2492 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-11 17:22:55,684 2492 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-11 17:22:55,700 2492 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-11 17:22:55,700 2492 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-11 17:22:55,700 2492 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-11 17:22:55,715 2492 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-11 17:22:55,715 2492 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-11 17:22:55,730 2492 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-11 17:22:55,730 2492 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-11 17:22:55,746 2492 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-11 17:22:55,746 2492 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-11 17:22:55,761 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-11 17:22:55,761 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-11 17:22:55,777 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-11 17:22:55,777 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-11 17:22:55,793 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-11 17:22:55,793 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-11 17:22:55,809 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-11 17:22:55,809 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-11 17:22:55,824 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-11 17:22:55,824 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-11 17:22:55,840 2492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-11 17:22:55,840 2492 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-11 17:22:55,855 2492 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-11 17:22:55,855 2492 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-11 17:22:55,871 2492 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-11 17:22:55,871 2492 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-11 17:22:55,871 2492 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-11 17:22:55,887 2492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-11 17:22:55,887 2492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-11 17:22:55,902 2492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-11 17:22:55,902 2492 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-11 17:22:55,918 2492 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-11 17:22:55,918 2492 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-11 17:22:55,934 2492 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-11 17:22:55,934 2492 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-11 17:22:55,934 2492 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-11 17:22:55,949 2492 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-11 17:22:55,964 2492 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-11 17:22:55,964 2492 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-11 17:22:55,980 2492 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-11 17:22:55,980 2492 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-11 17:22:55,997 2492 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-11 17:22:55,997 2492 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-11 17:22:56,012 2492 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-11 17:22:56,012 2492 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-11 17:22:56,027 2492 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-11 17:22:56,027 2492 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-11 17:22:56,043 2492 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-11 17:22:56,043 2492 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-11 17:22:56,059 2492 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-11 17:22:56,059 2492 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-11 17:22:56,074 2492 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-11 17:22:56,074 2492 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-11 17:22:56,090 2492 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-11 17:22:56,090 2492 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-11 17:22:56,105 2492 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-11 17:22:56,105 2492 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-11 17:22:56,121 2492 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-11 17:22:56,136 2492 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-11 17:22:56,136 2492 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-11 17:22:56,152 2492 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-11 17:22:56,152 2492 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-11 17:22:56,168 2492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-11 17:22:56,185 2492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-11 17:22:56,199 2492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-11 17:22:56,199 2492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-11 17:22:56,214 2492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-11 17:22:56,214 2492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-11 17:22:56,230 2492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-11 17:22:56,230 2492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-11 17:22:56,246 2492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-11 17:22:56,246 2492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-11 17:22:56,261 2492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-11 17:22:56,261 2492 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-11 17:22:56,277 2492 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-11 17:22:56,277 2492 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-11 17:22:56,293 2492 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-11 17:22:56,293 2492 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-11 17:22:56,309 2492 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-11 17:22:56,309 2492 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-11 17:22:56,324 2492 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-11 17:22:56,324 2492 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-11 17:22:56,324 2492 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-11 17:22:56,340 2492 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-11 17:22:56,340 2492 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-11 17:22:56,355 2492 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-11 17:22:56,371 2492 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-11 17:22:56,371 2492 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-11 17:22:56,386 2492 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-11 17:22:56,386 2492 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-11 17:22:56,402 2492 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-11 17:22:56,402 2492 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-11 17:22:56,418 2492 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-11 17:22:56,418 2492 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-11 17:22:56,418 2492 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-11 17:22:56,513 2492 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-11 17:22:56,542 2492 [DEBUG] - Running 'ChocolateyScriptRunner' for golang v1.20.6 with packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\golang', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-11 17:22:56,606 2492 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1'
2023-07-11 17:22:56,777 2492 [DEBUG] - Running Install-ChocolateyPackage -url 'https://golang.org/dl/go1.20.6.windows-386.msi' -checksum 'feb70409cac708d1138df68b266dc9a9a00c2a4571cd21e6c705a25bf822efe8' -checksum64 '9e4c5c73b6790a28f12ca3abf84f0c08d0c59406e14dd631f50ccf12467d8eeb' -silentArgs '/qn /norestart' -packageName 'golang' -checksumType 'SHA256' -fileType 'msi' -validExitCodes '0 3010 1641' -checksumType64 'SHA256' -url64bit 'https://golang.org/dl/go1.20.6.windows-amd64.msi'
2023-07-11 17:22:56,935 2492 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'golang' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.6\golangInstall.msi' -url 'https://golang.org/dl/go1.20.6.windows-386.msi' -url64bit 'https://golang.org/dl/go1.20.6.windows-amd64.msi' -checksum 'feb70409cac708d1138df68b266dc9a9a00c2a4571cd21e6c705a25bf822efe8' -checksumType 'SHA256' -checksum64 '9e4c5c73b6790a28f12ca3abf84f0c08d0c59406e14dd631f50ccf12467d8eeb' -checksumType64 'SHA256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2023-07-11 17:22:57,074 2492 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-07-11 17:22:57,121 2492 [DEBUG] - CPU is 64 bit
2023-07-11 17:22:57,137 2492 [DEBUG] - Setting url to 'https://golang.org/dl/go1.20.6.windows-amd64.msi' and bitPackage to 64
2023-07-11 17:22:57,230 2492 [DEBUG] - Running Get-WebFileName -url 'https://golang.org/dl/go1.20.6.windows-amd64.msi' -defaultName 'golangInstall.msi'
2023-07-11 17:22:58,106 2492 [DEBUG] - Using response url to determine file name. 'https://dl.google.com/go/go1.20.6.windows-amd64.msi'
2023-07-11 17:22:58,121 2492 [DEBUG] - File name determined from url is 'go1.20.6.windows-amd64.msi'
2023-07-11 17:22:58,184 2492 [DEBUG] - Running Get-WebHeaders -url 'https://golang.org/dl/go1.20.6.windows-amd64.msi' -ErrorAction 'Stop'
2023-07-11 17:22:58,200 2492 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-07-11 17:22:58,200 2492 [DEBUG] - Request Headers:
2023-07-11 17:22:58,215 2492 [DEBUG] - 'Accept':'*/*'
2023-07-11 17:22:58,231 2492 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-07-11 17:22:58,433 2492 [DEBUG] - Response Headers:
2023-07-11 17:22:58,450 2492 [DEBUG] - 'Content-Disposition':'attachment'
2023-07-11 17:22:58,450 2492 [DEBUG] - 'Content-Security-Policy':'default-src 'none''
2023-07-11 17:22:58,465 2492 [DEBUG] - 'X-Content-Type-Options':'nosniff'
2023-07-11 17:22:58,480 2492 [DEBUG] - 'X-Frame-Options':'SAMEORIGIN'
2023-07-11 17:22:58,480 2492 [DEBUG] - 'X-Xss-Protection':'0'
2023-07-11 17:22:58,496 2492 [DEBUG] - 'Age':'0'
2023-07-11 17:22:58,512 2492 [DEBUG] - 'Alt-Svc':'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'
2023-07-11 17:22:58,512 2492 [DEBUG] - 'Accept-Ranges':'bytes'
2023-07-11 17:22:58,527 2492 [DEBUG] - 'Content-Length':'100077568'
2023-07-11 17:22:58,543 2492 [DEBUG] - 'Cache-Control':'public,max-age=86400'
2023-07-11 17:22:58,543 2492 [DEBUG] - 'Content-Type':'application/octet-stream'
2023-07-11 17:22:58,559 2492 [DEBUG] - 'Date':'Tue, 11 Jul 2023 17:22:58 GMT'
2023-07-11 17:22:58,574 2492 [DEBUG] - 'ETag':'"1810eb1"'
2023-07-11 17:22:58,574 2492 [DEBUG] - 'Last-Modified':'Tue, 11 Jul 2023 15:59:01 GMT'
2023-07-11 17:22:58,590 2492 [DEBUG] - 'Server':'downloads'
2023-07-11 17:22:58,621 2492 [INFO ] - Downloading golang 64 bit
from 'https://golang.org/dl/go1.20.6.windows-amd64.msi'
2023-07-11 17:22:58,684 2492 [DEBUG] - Running Get-WebFile -url 'https://golang.org/dl/go1.20.6.windows-amd64.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.6\go1.20.6.windows-amd64.msi' -options 'System.Collections.Hashtable'
2023-07-11 17:22:58,684 2492 [DEBUG] - Setting request timeout to 30000
2023-07-11 17:22:58,699 2492 [DEBUG] - Setting read/write timeout to 2700000
2023-07-11 17:22:58,699 2492 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-07-11 17:22:59,280 2492 [DEBUG] - Downloading https://golang.org/dl/go1.20.6.windows-amd64.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.6\go1.20.6.windows-amd64.msi
2023-07-11 17:23:08,246 2492 [INFO ] -
2023-07-11 17:23:08,261 2492 [INFO ] - Download of go1.20.6.windows-amd64.msi (95.44 MB) completed.
2023-07-11 17:23:11,463 2492 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-07-11 17:23:11,480 2492 [DEBUG] - Verifying package provided checksum of '9e4c5c73b6790a28f12ca3abf84f0c08d0c59406e14dd631f50ccf12467d8eeb' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.6\go1.20.6.windows-amd64.msi'.
2023-07-11 17:23:11,512 2492 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.6\go1.20.6.windows-amd64.msi' -checksum '9e4c5c73b6790a28f12ca3abf84f0c08d0c59406e14dd631f50ccf12467d8eeb' -checksumType 'SHA256' -originalUrl 'https://golang.org/dl/go1.20.6.windows-amd64.msi'
2023-07-11 17:23:11,542 2492 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-07-11 17:23:11,557 2492 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="9e4c5c73b6790a28f12ca3abf84f0c08d0c59406e14dd631f50ccf12467d8eeb" -t="SHA256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.6\go1.20.6.windows-amd64.msi"]
2023-07-11 17:23:12,572 2492 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="9e4c5c73b6790a28f12ca3abf84f0c08d0c59406e14dd631f50ccf12467d8eeb" -t="SHA256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.6\go1.20.6.windows-amd64.msi"] exited with '0'.
2023-07-11 17:23:12,652 2492 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'golang' -fileType 'msi' -silentArgs '/qn /norestart' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.6\go1.20.6.windows-amd64.msi' -validExitCodes '0 3010 1641' -useOnlyPackageSilentArguments 'False'
2023-07-11 17:23:12,667 2492 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-07-11 17:23:12,682 2492 [INFO ] - Installing golang...
2023-07-11 17:23:12,793 2492 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1641' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.6' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.6\go1.20.6.windows-amd64.msi" /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-07-11 17:23:12,885 2492 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-11 17:23:12,978 2492 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.6\go1.20.6.windows-amd64.msi" /qn /norestart ]. This may take a while, depending on the statements.
2023-07-11 17:25:06,099 2492 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.6\go1.20.6.windows-amd64.msi" /qn /norestart ] exited with '0'.
2023-07-11 17:25:06,145 2492 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-07-11 17:25:06,161 2492 [INFO ] - golang has been installed.
2023-07-11 17:25:06,176 2492 [DEBUG] - ----------------------------------------------------------------------
2023-07-11 17:25:06,192 2492 [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-07-11 17:25:06,208 2492 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-11 17:25:06,318 2492 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-11 17:25:06,349 2492 [INFO ] - golang may be able to be automatically uninstalled.
2023-07-11 17:25:06,380 2492 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-07-11 17:25:06,395 2492 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-07-11 17:25:06,395 2492 [DEBUG] - * Path='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;C:\Users\vagrant\go\bin' (User)
2023-07-11 17:25:06,410 2492 [DEBUG] - * GOPATH='C:\Users\vagrant\go' (User)
2023-07-11 17:25:06,410 2492 [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-07-11 17:25:06,583 2492 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\golang'
2023-07-11 17:25:06,583 2492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nupkg'
with checksum 'FC030C585C4AA347A608540CF54BB0EC'
2023-07-11 17:25:06,598 2492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nuspec'
with checksum 'FBEFAB9403E12773965E913C39BA595B'
2023-07-11 17:25:06,598 2492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1'
with checksum 'A4C531B3A34D2EAA3753CA7FD43F9113'
2023-07-11 17:25:06,614 2492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1'
with checksum '18C38D40EABEF8107F8AB009F7182064'
2023-07-11 17:25:06,879 2492 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\golang.1.20.6".
2023-07-11 17:25:06,942 2492 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\golang.1.20.6\.registry'
2023-07-11 17:25:06,989 2492 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\golang.1.20.6\.files'
2023-07-11 17:25:07,004 2492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.20.6\.extra".
2023-07-11 17:25:07,004 2492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.20.6\.version".
2023-07-11 17:25:07,020 2492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.20.6\.sxs".
2023-07-11 17:25:07,020 2492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.20.6\.pin".
2023-07-11 17:25:07,036 2492 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-07-11 17:25:07,051 2492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\golang\.chocolateyPending".
2023-07-11 17:25:07,051 2492 [INFO ] - The install of golang was successful.
2023-07-11 17:25:07,066 2492 [INFO ] - Software installed as 'msi', install location is likely default.
2023-07-11 17:25:07,066 2492 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\golang.1.20.6.nupkg".
2023-07-11 17:25:07,099 2492 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-11 17:25:07,113 2492 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-11 17:25:07,160 2492 [DEBUG] - Exiting with 0
2023-07-11 17:25:19,676 2732 [DEBUG] - XmlConfiguration is now operational
2023-07-11 17:25:19,817 2732 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-11 17:25:19,817 2732 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-11 17:25:19,817 2732 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-11 17:25:19,832 2732 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-11 17:25:19,833 2732 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-11 17:25:19,833 2732 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-11 17:25:20,115 2732 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-11 17:25:20,130 2732 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-11 17:25:20,130 2732 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-11 17:25:20,130 2732 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-11 17:25:20,145 2732 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-11 17:25:20,145 2732 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-11 17:25:20,145 2732 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-11 17:25:20,145 2732 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-11 17:25:20,161 2732 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-11 17:25:20,161 2732 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-11 17:25:20,161 2732 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-11 17:25:20,161 2732 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-11 17:25:20,176 2732 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-11 17:25:20,176 2732 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-11 17:25:20,176 2732 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-11 17:25:20,192 2732 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-11 17:25:20,192 2732 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-11 17:25:20,192 2732 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-11 17:25:20,504 2732 [INFO ] - ============================================================
2023-07-11 17:25:20,879 2732 [INFO ] - Chocolatey v1.3.0
2023-07-11 17:25:20,911 2732 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-11 17:25:20,927 2732 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-11 17:25:20,927 2732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-11 17:25:20,959 2732 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall golang --version 1.20.6 -dvy --execution-timeout=2700
2023-07-11 17:25:20,973 2732 [DEBUG] - Received arguments: uninstall golang --version 1.20.6 -dvy --execution-timeout=2700
2023-07-11 17:25:21,176 2732 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-11 17:25:21,209 2732 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-11 17:25:21,240 2732 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-11 17:25:21,428 2732 [DEBUG] - Performing validation checks.
2023-07-11 17:25:21,442 2732 [DEBUG] - Global Configuration Validation Checks:
2023-07-11 17:25:21,442 2732 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-11 17:25:21,457 2732 [DEBUG] - System State Validation Checks:
2023-07-11 17:25:21,475 2732 [DEBUG] - Reboot Requirement Checks:
2023-07-11 17:25:21,491 2732 [DEBUG] - - Pending Computer Rename = Checked
2023-07-11 17:25:21,504 2732 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-11 17:25:21,504 2732 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-11 17:25:21,520 2732 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-11 17:25:21,536 2732 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-11 17:25:21,536 2732 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-11 17:25:21,570 2732 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-11 17:25:21,646 2732 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-11 17:25:21,661 2732 [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-07-11 17:25:21,694 2732 [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.6'|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-LJRJES7NN28'|
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-07-11 17:25:21,723 2732 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-07-11 17:25:21,754 2732 [INFO ] - Uninstalling the following packages:
2023-07-11 17:25:21,754 2732 [INFO ] - golang
2023-07-11 17:25:21,787 2732 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-11 17:25:21,787 2732 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;C:\Users\vagrant\go\bin' ('User')
2023-07-11 17:25:21,801 2732 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-11 17:25:21,817 2732 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-11 17:25:21,817 2732 [DEBUG] - * 'ChocolateyLastPathUpdate'='133335508939819883' ('User')
2023-07-11 17:25:21,832 2732 [DEBUG] - * 'GOPATH'='C:\Users\vagrant\go' ('User')
2023-07-11 17:25:21,848 2732 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-11 17:25:21,848 2732 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-11 17:25:21,865 2732 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-11 17:25:21,880 2732 [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-07-11 17:25:21,880 2732 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-11 17:25:21,895 2732 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-11 17:25:21,895 2732 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-11 17:25:21,910 2732 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-11 17:25:21,910 2732 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-11 17:25:21,926 2732 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-11 17:25:21,926 2732 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-11 17:25:21,941 2732 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-11 17:25:21,941 2732 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-11 17:25:21,958 2732 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-11 17:25:21,958 2732 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-11 17:25:21,973 2732 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-11 17:25:22,114 2732 [DEBUG] - Running list with the following filter = ''
2023-07-11 17:25:22,114 2732 [DEBUG] - --- Start of List ---
2023-07-11 17:25:22,567 2732 [DEBUG] - golang 1.20.6
2023-07-11 17:25:22,567 2732 [DEBUG] - --- End of List ---
2023-07-11 17:25:22,863 2732 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-07-11 17:25:22,879 2732 [DEBUG] - Backing up existing golang prior to operation.
2023-07-11 17:25:22,896 2732 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\golang'
to 'C:\ProgramData\chocolatey\lib-bkp\golang'
2023-07-11 17:25:24,911 2732 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\golang".
2023-07-11 17:25:24,926 2732 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\golang.nupkg"
to "C:\ProgramData\chocolatey\lib\golang\golang.nupkg".
2023-07-11 17:25:24,926 2732 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\golang.nuspec"
to "C:\ProgramData\chocolatey\lib\golang\golang.nuspec".
2023-07-11 17:25:24,942 2732 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\golang\tools".
2023-07-11 17:25:24,942 2732 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1".
2023-07-11 17:25:24,958 2732 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1".
2023-07-11 17:25:26,505 2732 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\golang'
2023-07-11 17:25:26,505 2732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nupkg'
with checksum 'FC030C585C4AA347A608540CF54BB0EC'
2023-07-11 17:25:26,520 2732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nuspec'
with checksum 'FBEFAB9403E12773965E913C39BA595B'
2023-07-11 17:25:26,536 2732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1'
with checksum 'A4C531B3A34D2EAA3753CA7FD43F9113'
2023-07-11 17:25:26,536 2732 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1'
with checksum '18C38D40EABEF8107F8AB009F7182064'
2023-07-11 17:25:26,911 2732 [INFO ] - [NuGet] Uninstalling 'golang 1.20.6'.
2023-07-11 17:25:26,926 2732 [INFO ] -
golang v1.20.6
2023-07-11 17:25:27,005 2732 [DEBUG] - Setting installer args for golang
2023-07-11 17:25:27,005 2732 [DEBUG] - Setting package parameters for golang
2023-07-11 17:25:27,005 2732 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1':
2023-07-11 17:25:27,036 2732 [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-07-11 17:25:27,129 2732 [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-07-11 17:25:27,161 2732 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-11 17:25:27,926 2732 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-11 17:25:28,520 2732 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-11 17:25:28,520 2732 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-11 17:25:28,535 2732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-11 17:25:28,535 2732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-11 17:25:28,551 2732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-11 17:25:28,551 2732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-11 17:25:28,567 2732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-11 17:25:28,583 2732 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-11 17:25:28,599 2732 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-11 17:25:28,599 2732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-11 17:25:28,614 2732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-11 17:25:28,614 2732 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-11 17:25:28,629 2732 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-11 17:25:28,629 2732 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-11 17:25:28,645 2732 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-11 17:25:28,645 2732 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-11 17:25:28,661 2732 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-11 17:25:28,675 2732 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-11 17:25:28,677 2732 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-11 17:25:28,692 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-11 17:25:28,707 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-11 17:25:28,707 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-11 17:25:28,707 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-11 17:25:28,723 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-11 17:25:28,723 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-11 17:25:28,739 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-11 17:25:28,754 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-11 17:25:28,754 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-11 17:25:28,770 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-11 17:25:28,770 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-11 17:25:28,786 2732 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-11 17:25:28,786 2732 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-11 17:25:28,801 2732 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-11 17:25:28,817 2732 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-11 17:25:28,817 2732 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-11 17:25:28,832 2732 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-11 17:25:28,832 2732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-11 17:25:28,848 2732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-11 17:25:28,848 2732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-11 17:25:28,864 2732 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-11 17:25:28,864 2732 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-11 17:25:28,882 2732 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-11 17:25:28,895 2732 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-11 17:25:28,895 2732 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-11 17:25:28,895 2732 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-11 17:25:28,911 2732 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-11 17:25:28,926 2732 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-11 17:25:28,926 2732 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-11 17:25:28,942 2732 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-11 17:25:28,942 2732 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-11 17:25:28,973 2732 [DEBUG] - Loading community extensions
2023-07-11 17:25:29,020 2732 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-11 17:25:29,036 2732 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-11 17:25:29,177 2732 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-11 17:25:29,192 2732 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-11 17:25:29,192 2732 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-11 17:25:29,208 2732 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-11 17:25:29,208 2732 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-11 17:25:29,223 2732 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-11 17:25:29,239 2732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-11 17:25:29,254 2732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-11 17:25:29,254 2732 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-11 17:25:29,270 2732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-11 17:25:29,270 2732 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-11 17:25:29,286 2732 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-11 17:25:29,286 2732 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-11 17:25:29,301 2732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-11 17:25:29,301 2732 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-11 17:25:29,317 2732 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-11 17:25:29,317 2732 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-11 17:25:29,332 2732 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-11 17:25:29,332 2732 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-11 17:25:29,348 2732 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-11 17:25:29,363 2732 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-11 17:25:29,379 2732 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-11 17:25:29,379 2732 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-11 17:25:29,395 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-11 17:25:29,395 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-11 17:25:29,410 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-11 17:25:29,410 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-11 17:25:29,426 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-11 17:25:29,426 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-11 17:25:29,442 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-11 17:25:29,457 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-11 17:25:29,457 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-11 17:25:29,457 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-11 17:25:29,473 2732 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-11 17:25:29,473 2732 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-11 17:25:29,488 2732 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-11 17:25:29,504 2732 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-11 17:25:29,520 2732 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-11 17:25:29,520 2732 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-11 17:25:29,535 2732 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-11 17:25:29,535 2732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-11 17:25:29,551 2732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-11 17:25:29,551 2732 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-11 17:25:29,567 2732 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-11 17:25:29,567 2732 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-11 17:25:29,582 2732 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-11 17:25:29,582 2732 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-11 17:25:29,598 2732 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-11 17:25:29,598 2732 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-11 17:25:29,614 2732 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-11 17:25:29,614 2732 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-11 17:25:29,629 2732 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-11 17:25:29,629 2732 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-11 17:25:29,645 2732 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-11 17:25:29,661 2732 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-11 17:25:29,661 2732 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-11 17:25:29,691 2732 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-11 17:25:29,691 2732 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-11 17:25:29,707 2732 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-11 17:25:29,707 2732 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-11 17:25:29,723 2732 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-11 17:25:29,723 2732 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-11 17:25:29,739 2732 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-11 17:25:29,739 2732 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-11 17:25:29,755 2732 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-11 17:25:29,755 2732 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-11 17:25:29,770 2732 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-11 17:25:29,770 2732 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-11 17:25:29,786 2732 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-11 17:25:29,786 2732 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-11 17:25:29,801 2732 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-11 17:25:29,801 2732 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-11 17:25:29,817 2732 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-11 17:25:29,817 2732 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-11 17:25:29,833 2732 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-11 17:25:29,833 2732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-11 17:25:29,848 2732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-11 17:25:29,864 2732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-11 17:25:29,879 2732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-11 17:25:29,879 2732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-11 17:25:29,895 2732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-11 17:25:29,895 2732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-11 17:25:29,911 2732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-11 17:25:29,911 2732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-11 17:25:29,926 2732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-11 17:25:29,926 2732 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-11 17:25:29,942 2732 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-11 17:25:29,942 2732 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-11 17:25:29,958 2732 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-11 17:25:29,958 2732 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-11 17:25:29,973 2732 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-11 17:25:29,973 2732 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-11 17:25:29,989 2732 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-11 17:25:29,989 2732 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-11 17:25:30,004 2732 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-11 17:25:30,020 2732 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-11 17:25:30,020 2732 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-11 17:25:30,036 2732 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-11 17:25:30,051 2732 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-11 17:25:30,067 2732 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-11 17:25:30,067 2732 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-11 17:25:30,083 2732 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-11 17:25:30,083 2732 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-11 17:25:30,099 2732 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-11 17:25:30,099 2732 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-11 17:25:30,118 2732 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-11 17:25:30,129 2732 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-11 17:25:30,129 2732 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-11 17:25:30,239 2732 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-11 17:25:30,254 2732 [DEBUG] - Running 'ChocolateyScriptRunner' for golang v1.20.6 with packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\golang', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-11 17:25:30,332 2732 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1'
2023-07-11 17:25:30,473 2732 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'golang*'
2023-07-11 17:25:30,489 2732 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-07-11 17:25:30,629 2732 [DEBUG] - Registry uninstall keys on system: 28
2023-07-11 17:25:30,629 2732 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-07-11 17:25:30,708 2732 [WARN ] - WARNING: No registry key found based on 'golang*'
2023-07-11 17:25:30,724 2732 [DEBUG] - Found 0 uninstall registry key(s) with SoftwareName:'golang*'
2023-07-11 17:25:30,755 2732 [WARN ] - WARNING: golang has already been uninstalled by other means.
2023-07-11 17:25:30,785 2732 [DEBUG] - ----------------------------------------------------------------------
2023-07-11 17:25:30,802 2732 [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-07-11 17:25:30,848 2732 [INFO ] - Running auto uninstaller...
2023-07-11 17:25:30,864 2732 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-07-11 17:25:32,896 2732 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{8655A964-8B8B-4681-B82E-111C3B006185}' for 'Go Programming Language amd64 go1.20.6'
2023-07-11 17:25:32,944 2732 [DEBUG] - Uninstaller path is 'MsiExec.exe'
2023-07-11 17:25:32,957 2732 [DEBUG] - Installer type is 'MsiInstaller'
2023-07-11 17:25:32,957 2732 [DEBUG] - Setting up uninstall logging directory at C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.6
2023-07-11 17:25:32,973 2732 [DEBUG] - Args are '/X{8655A964-8B8B-4681-B82E-111C3B006185} /qn /norestart'
2023-07-11 17:25:32,989 2732 [DEBUG] - Calling command ['"MsiExec.exe" /X{8655A964-8B8B-4681-B82E-111C3B006185} /qn /norestart']
2023-07-11 17:28:17,323 2732 [DEBUG] - Command ['"MsiExec.exe" /X{8655A964-8B8B-4681-B82E-111C3B006185} /qn /norestart'] exited with '0'
2023-07-11 17:28:17,338 2732 [INFO ] - Auto uninstaller has successfully uninstalled golang or detected previous uninstall.
2023-07-11 17:28:17,338 2732 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-11 17:28:17,479 2732 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-11 17:28:17,510 2732 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\golang".
2023-07-11 17:28:17,572 2732 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\golang\tools'.
2023-07-11 17:28:17,588 2732 [DEBUG] - [NuGet] Removed file 'chocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\golang\tools'.
2023-07-11 17:28:17,604 2732 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\golang\tools'.
2023-07-11 17:28:17,604 2732 [DEBUG] - [NuGet] Removed file 'golang.nuspec' to folder 'C:\ProgramData\chocolatey\lib\golang'.
2023-07-11 17:28:17,619 2732 [DEBUG] - [NuGet] Removed file 'golang.nupkg' to folder 'C:\ProgramData\chocolatey\lib\golang'.
2023-07-11 17:28:17,619 2732 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\golang'.
2023-07-11 17:28:17,634 2732 [INFO ] - [NuGet] Successfully uninstalled 'golang 1.20.6'.
2023-07-11 17:28:17,667 2732 [INFO ] - golang has been successfully uninstalled.
2023-07-11 17:28:17,682 2732 [DEBUG] - Removing nupkg if it still exists.
2023-07-11 17:28:17,697 2732 [DEBUG] - Ensuring removal of installation files.
2023-07-11 17:28:17,713 2732 [DEBUG] - Ensuring removal of package cache files.
2023-07-11 17:28:17,713 2732 [DEBUG] - Attempting to delete directory "C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.20.6".
2023-07-11 17:28:17,744 2732 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-07-11 17:28:17,760 2732 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-07-11 17:28:17,760 2732 [DEBUG] - * Path='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps' (User)
2023-07-11 17:28:17,776 2732 [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-07-11 17:28:17,776 2732 [DEBUG] - The following values have been removed:
2023-07-11 17:28:17,791 2732 [DEBUG] - * GOPATH='C:\Users\vagrant\go' (User)
2023-07-11 17:28:17,822 2732 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-11 17:28:17,838 2732 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-11 17:28:17,871 2732 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment