Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created September 6, 2023 17:27
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/20fdb6fda3cf1f21710a3c0b83ac3b50 to your computer and use it in GitHub Desktop.
Save choco-bot/20fdb6fda3cf1f21710a3c0b83ac3b50 to your computer and use it in GitHub Desktop.
golang v1.21.1 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-4061715889-468846848-1856386500-1000</user>
<keys>
<key installerType="Msi" displayName="Go Programming Language amd64 go1.21.1" displayVersion="1.21.1">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5FEA5B1C-3FA9-457F-A8E3-A3893A0A6A68}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{5FEA5B1C-3FA9-457F-A8E3-A3893A0A6A68}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[https://go.dev]]></Publisher>
<InstallDate>20230906</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.21.1\]]></InstallSource>
<Language>1033</Language>
<Version>18153473</Version>
<VersionMajor>1</VersionMajor>
<VersionMinor>21</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>true</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\46030.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

golang v1.21.1 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/golang/1.21.1
  • Tested 06 Sep 2023 17:27:11 +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="4D6E6EFDC8D272B43B643F8BA7E62DDF" />
<file path="C:\ProgramData\chocolatey\lib\golang\golang.nuspec" checksum="777EC7BEFB5AD2280C133A1B95E856D6" />
<file path="C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1" checksum="745B2DDFEBCBF75818DEBF6BE5641066" />
<file path="C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1" checksum="18C38D40EABEF8107F8AB009F7182064" />
</files>
</fileSnapshot>
2023-09-06 17:20:46,941 3672 [DEBUG] - XmlConfiguration is now operational
2023-09-06 17:20:47,097 3672 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-09-06 17:20:47,097 3672 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-09-06 17:20:47,113 3672 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-09-06 17:20:47,113 3672 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-09-06 17:20:47,113 3672 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-09-06 17:20:47,113 3672 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-09-06 17:20:47,128 3672 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-09-06 17:20:47,128 3672 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-09-06 17:20:47,128 3672 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-09-06 17:20:47,144 3672 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-09-06 17:20:47,144 3672 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-09-06 17:20:47,974 3672 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:20:47,974 3672 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:20:47,974 3672 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:20:47,989 3672 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:20:47,989 3672 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:20:47,989 3672 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:20:47,989 3672 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:20:48,004 3672 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:20:48,004 3672 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:20:48,004 3672 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:20:48,036 3672 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-09-06 17:20:48,051 3672 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-09-06 17:20:48,051 3672 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-09-06 17:20:48,051 3672 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-09-06 17:20:48,066 3672 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-09-06 17:20:48,066 3672 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-09-06 17:20:48,066 3672 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-09-06 17:20:48,066 3672 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-09-06 17:20:48,082 3672 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-09-06 17:20:48,082 3672 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-09-06 17:20:48,082 3672 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-09-06 17:20:48,082 3672 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-09-06 17:20:48,098 3672 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-09-06 17:20:48,098 3672 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-09-06 17:20:48,098 3672 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-09-06 17:20:48,113 3672 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-09-06 17:20:48,113 3672 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-09-06 17:20:48,113 3672 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-09-06 17:20:48,113 3672 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-09-06 17:20:48,129 3672 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-09-06 17:20:48,441 3672 [INFO ] - ============================================================
2023-09-06 17:20:48,848 3672 [INFO ] - Chocolatey v2.2.2
2023-09-06 17:20:48,879 3672 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-09-06 17:20:48,894 3672 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-09-06 17:20:48,894 3672 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-09-06 17:20:48,926 3672 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install golang --version 1.21.1 -fdvy --execution-timeout=2700 --allow-downgrade
2023-09-06 17:20:48,926 3672 [DEBUG] - Received arguments: install golang --version 1.21.1 -fdvy --execution-timeout=2700 --allow-downgrade
2023-09-06 17:20:49,097 3672 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-09-06 17:20:49,129 3672 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-09-06 17:20:49,160 3672 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-09-06 17:20:49,363 3672 [DEBUG] - Performing validation checks.
2023-09-06 17:20:49,379 3672 [DEBUG] - Global Configuration Validation Checks:
2023-09-06 17:20:49,395 3672 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-09-06 17:20:49,410 3672 [DEBUG] - System State Validation Checks:
2023-09-06 17:20:49,426 3672 [DEBUG] - Reboot Requirement Checks:
2023-09-06 17:20:49,441 3672 [DEBUG] - - Pending Computer Rename = Checked
2023-09-06 17:20:49,457 3672 [DEBUG] - - Pending Component Based Servicing = Checked
2023-09-06 17:20:49,457 3672 [DEBUG] - - Pending Windows Auto Update = Checked
2023-09-06 17:20:49,472 3672 [DEBUG] - - Pending File Rename Operations = Ignored
2023-09-06 17:20:49,472 3672 [DEBUG] - - Pending Windows Package Installer = Checked
2023-09-06 17:20:49,489 3672 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-09-06 17:20:49,504 3672 [DEBUG] - Cache Folder Lockdown Checks:
2023-09-06 17:20:49,504 3672 [DEBUG] - - Elevated State = Checked
2023-09-06 17:20:49,520 3672 [DEBUG] - - Folder Exists = Checked
2023-09-06 17:20:49,535 3672 [DEBUG] - - Folder lockdown = Checked
2023-09-06 17:20:49,551 3672 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-09-06 17:20:49,613 3672 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-09-06 17:20:49,629 3672 [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-09-06 17:20:49,676 3672 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|Verbose='True'|
Trace='False'|Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='golang'|
Version='1.21.1'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='golang'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-V81V59CDTI4'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2023-09-06 17:20:49,691 3672 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-09-06 17:20:49,723 3672 [INFO ] - Installing the following packages:
2023-09-06 17:20:49,723 3672 [INFO ] - golang
2023-09-06 17:20:49,738 3672 [INFO ] - By installing, you accept licenses for the packages.
2023-09-06 17:20:49,771 3672 [DEBUG] - Current environment values (may contain sensitive data):
2023-09-06 17:20:49,785 3672 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-09-06 17:20:49,785 3672 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-09-06 17:20:49,801 3672 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-09-06 17:20:49,801 3672 [DEBUG] - * 'ChocolateyLastPathUpdate'='133384781200135331' ('User')
2023-09-06 17:20:49,816 3672 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-09-06 17:20:49,832 3672 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-09-06 17:20:49,847 3672 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-09-06 17:20:49,847 3672 [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-09-06 17:20:49,863 3672 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-09-06 17:20:49,863 3672 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-09-06 17:20:49,879 3672 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-09-06 17:20:49,895 3672 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-09-06 17:20:49,910 3672 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-09-06 17:20:49,910 3672 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-09-06 17:20:49,925 3672 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-09-06 17:20:49,925 3672 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-09-06 17:20:49,941 3672 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-09-06 17:20:49,941 3672 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-09-06 17:20:49,957 3672 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-09-06 17:20:49,957 3672 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-09-06 17:20:50,536 3672 [DEBUG] - Running list with the following filter = ''
2023-09-06 17:20:50,536 3672 [DEBUG] - --- Start of List ---
2023-09-06 17:20:50,599 3672 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-09-06 17:20:51,129 3672 [DEBUG] - chocolatey 2.2.2
2023-09-06 17:20:51,145 3672 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-09-06 17:20:51,160 3672 [DEBUG] - KB2919355 1.0.20160915
2023-09-06 17:20:51,176 3672 [DEBUG] - KB2919442 1.0.20160915
2023-09-06 17:20:51,176 3672 [DEBUG] - KB2999226 1.0.20181019
2023-09-06 17:20:51,192 3672 [DEBUG] - KB3035131 1.0.3
2023-09-06 17:20:51,208 3672 [DEBUG] - KB3118401 1.0.5
2023-09-06 17:20:51,223 3672 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-09-06 17:20:51,223 3672 [DEBUG] - --- End of List ---
2023-09-06 17:20:51,254 3672 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2023-09-06 17:20:52,097 3672 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2023-09-06 17:20:52,755 3672 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='golang',Version='1.21.1')
2023-09-06 17:20:52,972 3672 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='golang',Version='1.21.1') 213ms
2023-09-06 17:20:53,129 3672 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2023-09-06 17:20:54,035 3672 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2023-09-06 17:20:54,051 3672 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='golang',Version='1.21.1')
2023-09-06 17:20:54,270 3672 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2023-09-06 17:20:54,301 3672 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2023-09-06 17:20:54,363 3672 [DEBUG] - Attempting to delete file "".
2023-09-06 17:20:54,410 3672 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/golang/1.21.1
2023-09-06 17:20:55,113 3672 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/golang/1.21.1 694ms
2023-09-06 17:20:55,160 3672 [INFO ] - [NuGet] Acquiring lock for the installation of golang 1.21.1
2023-09-06 17:20:55,238 3672 [INFO ] - [NuGet] Acquired lock for the installation of golang 1.21.1
2023-09-06 17:20:55,645 3672 [INFO ] - [NuGet] Installed golang 1.21.1 from https://community.chocolatey.org/api/v2/ with content hash YDhY0zgGwA81K3JPJAVM9XKtoLzIFtFGHplWPEM2OCaRea7xTXnt2s4SVXFdpPrWSnxT7F9W8KpakVjkbUj3WQ==.
2023-09-06 17:20:55,724 3672 [INFO ] - [NuGet] Adding package 'golang.1.21.1' to folder 'C:\ProgramData\chocolatey\lib'
2023-09-06 17:20:55,818 3672 [INFO ] - [NuGet] Added package 'golang.1.21.1' to folder 'C:\ProgramData\chocolatey\lib'
2023-09-06 17:20:55,832 3672 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\golang/1.21.1\golang.1.21.1.nupkg".
2023-09-06 17:20:55,832 3672 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\golang/1.21.1\.nupkg.metadata".
2023-09-06 17:20:55,847 3672 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\golang/1.21.1\golang.1.21.1.nupkg.sha512".
2023-09-06 17:20:55,847 3672 [INFO ] -
golang v1.21.1 (forced)
2023-09-06 17:20:55,957 3672 [INFO ] - golang package files install completed. Performing other installation steps.
2023-09-06 17:20:56,051 3672 [DEBUG] - Setting installer args for golang
2023-09-06 17:20:56,051 3672 [DEBUG] - Setting package parameters for golang
2023-09-06 17:20:56,066 3672 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1':
2023-09-06 17:20:56,099 3672 [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.21.1.windows-386.msi'
checksum = '1780a944a5a5c8aeb85406e8e5c1d1a43889028ad0b2481d7adfbbdf65a38a59'
checksumType = 'SHA256'
url64 = 'https://golang.org/dl/go1.21.1.windows-amd64.msi'
checksum64 = 'd5bdec8f6c8f453f1a2e3d58ef5c1dd371f1b38930ef323347e345db984fc807'
checksumType64= 'SHA256'
silentArgs = '/qn /norestart'
validExitCodes= @(0, 3010, 1641)
}
New-Item -ItemType Directory -Force -Path $root | Out-Null
Install-ChocolateyPackage @packageArgs
2023-09-06 17:20:56,146 3672 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-09-06 17:20:56,161 3672 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-09-06 17:20:56,879 3672 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-09-06 17:20:57,363 3672 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-09-06 17:20:57,363 3672 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-09-06 17:20:57,378 3672 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-09-06 17:20:57,378 3672 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-09-06 17:20:57,394 3672 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-09-06 17:20:57,410 3672 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-09-06 17:20:57,410 3672 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-09-06 17:20:57,410 3672 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-09-06 17:20:57,426 3672 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-09-06 17:20:57,441 3672 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-09-06 17:20:57,441 3672 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-09-06 17:20:57,457 3672 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-09-06 17:20:57,457 3672 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-09-06 17:20:57,472 3672 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-09-06 17:20:57,472 3672 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-09-06 17:20:57,488 3672 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-09-06 17:20:57,488 3672 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-09-06 17:20:57,503 3672 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-09-06 17:20:57,503 3672 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-09-06 17:20:57,519 3672 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-09-06 17:20:57,582 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-09-06 17:20:57,597 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-09-06 17:20:57,597 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-09-06 17:20:57,613 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-09-06 17:20:57,613 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-09-06 17:20:57,629 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-09-06 17:20:57,629 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-09-06 17:20:57,629 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-09-06 17:20:57,644 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-09-06 17:20:57,660 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-09-06 17:20:57,660 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-09-06 17:20:57,676 3672 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-09-06 17:20:57,676 3672 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-09-06 17:20:57,692 3672 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-09-06 17:20:57,692 3672 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-09-06 17:20:57,707 3672 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-09-06 17:20:57,707 3672 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-09-06 17:20:57,722 3672 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-09-06 17:20:57,722 3672 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-09-06 17:20:57,738 3672 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-09-06 17:20:57,738 3672 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-09-06 17:20:57,754 3672 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-09-06 17:20:57,769 3672 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-09-06 17:20:57,769 3672 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-09-06 17:20:57,785 3672 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-09-06 17:20:57,785 3672 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-09-06 17:20:57,800 3672 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-09-06 17:20:57,800 3672 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-09-06 17:20:57,816 3672 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-09-06 17:20:57,816 3672 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-09-06 17:20:57,832 3672 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-09-06 17:20:57,864 3672 [DEBUG] - Loading community extensions
2023-09-06 17:20:57,911 3672 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-09-06 17:20:57,911 3672 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-09-06 17:20:58,036 3672 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-09-06 17:20:58,036 3672 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-09-06 17:20:58,051 3672 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-09-06 17:20:58,051 3672 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-09-06 17:20:58,067 3672 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-09-06 17:20:58,082 3672 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-09-06 17:20:58,113 3672 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-09-06 17:20:58,128 3672 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-09-06 17:20:58,128 3672 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-09-06 17:20:58,144 3672 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-09-06 17:20:58,144 3672 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-09-06 17:20:58,160 3672 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-09-06 17:20:58,160 3672 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-09-06 17:20:58,176 3672 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-09-06 17:20:58,191 3672 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-09-06 17:20:58,191 3672 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-09-06 17:20:58,207 3672 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-09-06 17:20:58,207 3672 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-09-06 17:20:58,207 3672 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-09-06 17:20:58,223 3672 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-09-06 17:20:58,223 3672 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-09-06 17:20:58,238 3672 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-09-06 17:20:58,254 3672 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-09-06 17:20:58,269 3672 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-09-06 17:20:58,269 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-09-06 17:20:58,269 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-09-06 17:20:58,285 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-09-06 17:20:58,285 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-09-06 17:20:58,301 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-09-06 17:20:58,317 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-09-06 17:20:58,317 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-09-06 17:20:58,317 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-09-06 17:20:58,332 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-09-06 17:20:58,348 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-09-06 17:20:58,348 3672 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-09-06 17:20:58,363 3672 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-09-06 17:20:58,363 3672 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-09-06 17:20:58,378 3672 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-09-06 17:20:58,378 3672 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-09-06 17:20:58,394 3672 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-09-06 17:20:58,410 3672 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-09-06 17:20:58,410 3672 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-09-06 17:20:58,425 3672 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-09-06 17:20:58,425 3672 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-09-06 17:20:58,425 3672 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-09-06 17:20:58,441 3672 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-09-06 17:20:58,457 3672 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-09-06 17:20:58,457 3672 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-09-06 17:20:58,475 3672 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-09-06 17:20:58,490 3672 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-09-06 17:20:58,490 3672 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-09-06 17:20:58,504 3672 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-09-06 17:20:58,504 3672 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-09-06 17:20:58,519 3672 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-09-06 17:20:58,519 3672 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-09-06 17:20:58,535 3672 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-09-06 17:20:58,551 3672 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-09-06 17:20:58,551 3672 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-09-06 17:20:58,567 3672 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-09-06 17:20:58,567 3672 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-09-06 17:20:58,582 3672 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-09-06 17:20:58,597 3672 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-09-06 17:20:58,597 3672 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-09-06 17:20:58,613 3672 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-09-06 17:20:58,613 3672 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-09-06 17:20:58,629 3672 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-09-06 17:20:58,629 3672 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-09-06 17:20:58,645 3672 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-09-06 17:20:58,645 3672 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-09-06 17:20:58,660 3672 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-09-06 17:20:58,660 3672 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-09-06 17:20:58,676 3672 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-09-06 17:20:58,692 3672 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-09-06 17:20:58,692 3672 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-09-06 17:20:58,707 3672 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-09-06 17:20:58,723 3672 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-09-06 17:20:58,723 3672 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-09-06 17:20:58,738 3672 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-09-06 17:20:58,738 3672 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-09-06 17:20:58,754 3672 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-09-06 17:20:58,754 3672 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-09-06 17:20:58,769 3672 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-09-06 17:20:58,769 3672 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-09-06 17:20:58,833 3672 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-09-06 17:20:58,833 3672 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-09-06 17:20:58,847 3672 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-09-06 17:20:58,863 3672 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-09-06 17:20:58,863 3672 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-09-06 17:20:58,879 3672 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-09-06 17:20:58,895 3672 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-09-06 17:20:58,895 3672 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-09-06 17:20:58,910 3672 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-09-06 17:20:58,910 3672 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-09-06 17:20:58,926 3672 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-09-06 17:20:58,926 3672 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-09-06 17:20:58,941 3672 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-09-06 17:20:58,941 3672 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-09-06 17:20:58,957 3672 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-09-06 17:20:58,957 3672 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-09-06 17:20:58,973 3672 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-09-06 17:20:58,989 3672 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-09-06 17:20:58,989 3672 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-09-06 17:20:59,004 3672 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-09-06 17:20:59,004 3672 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-09-06 17:20:59,019 3672 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-09-06 17:20:59,019 3672 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-09-06 17:20:59,035 3672 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-09-06 17:20:59,035 3672 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-09-06 17:20:59,050 3672 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-09-06 17:20:59,050 3672 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-09-06 17:20:59,192 3672 [DEBUG] - ---------------------------Script Execution---------------------------
2023-09-06 17:20:59,223 3672 [DEBUG] - Running 'ChocolateyScriptRunner' for golang v1.21.1 with packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\golang', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-09-06 17:20:59,285 3672 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1'
2023-09-06 17:20:59,473 3672 [DEBUG] - Running Install-ChocolateyPackage -url 'https://golang.org/dl/go1.21.1.windows-386.msi' -checksum '1780a944a5a5c8aeb85406e8e5c1d1a43889028ad0b2481d7adfbbdf65a38a59' -checksum64 'd5bdec8f6c8f453f1a2e3d58ef5c1dd371f1b38930ef323347e345db984fc807' -silentArgs '/qn /norestart' -packageName 'golang' -checksumType 'SHA256' -fileType 'msi' -validExitCodes '0 3010 1641' -checksumType64 'SHA256' -url64bit 'https://golang.org/dl/go1.21.1.windows-amd64.msi'
2023-09-06 17:20:59,629 3672 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'golang' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.21.1\golangInstall.msi' -url 'https://golang.org/dl/go1.21.1.windows-386.msi' -url64bit 'https://golang.org/dl/go1.21.1.windows-amd64.msi' -checksum '1780a944a5a5c8aeb85406e8e5c1d1a43889028ad0b2481d7adfbbdf65a38a59' -checksumType 'SHA256' -checksum64 'd5bdec8f6c8f453f1a2e3d58ef5c1dd371f1b38930ef323347e345db984fc807' -checksumType64 'SHA256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2023-09-06 17:20:59,691 3672 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-09-06 17:20:59,816 3672 [DEBUG] - CPU is 64 bit
2023-09-06 17:20:59,848 3672 [DEBUG] - Setting url to 'https://golang.org/dl/go1.21.1.windows-amd64.msi' and bitPackage to 64
2023-09-06 17:21:00,007 3672 [DEBUG] - Running Get-WebFileName -url 'https://golang.org/dl/go1.21.1.windows-amd64.msi' -defaultName 'golangInstall.msi'
2023-09-06 17:21:00,910 3672 [DEBUG] - Using response url to determine file name. 'https://dl.google.com/go/go1.21.1.windows-amd64.msi'
2023-09-06 17:21:00,973 3672 [DEBUG] - File name determined from url is 'go1.21.1.windows-amd64.msi'
2023-09-06 17:21:01,067 3672 [DEBUG] - Running Get-WebHeaders -url 'https://golang.org/dl/go1.21.1.windows-amd64.msi' -ErrorAction 'Stop'
2023-09-06 17:21:01,082 3672 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-09-06 17:21:01,098 3672 [DEBUG] - Request Headers:
2023-09-06 17:21:01,113 3672 [DEBUG] - 'Accept':'*/*'
2023-09-06 17:21:01,129 3672 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-09-06 17:21:01,332 3672 [DEBUG] - Response Headers:
2023-09-06 17:21:01,349 3672 [DEBUG] - 'Content-Disposition':'attachment'
2023-09-06 17:21:01,349 3672 [DEBUG] - 'Content-Security-Policy':'default-src 'none''
2023-09-06 17:21:01,364 3672 [DEBUG] - 'X-Content-Type-Options':'nosniff'
2023-09-06 17:21:01,379 3672 [DEBUG] - 'X-Frame-Options':'SAMEORIGIN'
2023-09-06 17:21:01,395 3672 [DEBUG] - 'X-Xss-Protection':'0'
2023-09-06 17:21:01,410 3672 [DEBUG] - 'Age':'0'
2023-09-06 17:21:01,425 3672 [DEBUG] - 'Alt-Svc':'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'
2023-09-06 17:21:01,442 3672 [DEBUG] - 'Accept-Ranges':'bytes'
2023-09-06 17:21:01,457 3672 [DEBUG] - 'Content-Length':'61272064'
2023-09-06 17:21:01,473 3672 [DEBUG] - 'Cache-Control':'public,max-age=86400'
2023-09-06 17:21:01,489 3672 [DEBUG] - 'Content-Type':'application/octet-stream'
2023-09-06 17:21:01,504 3672 [DEBUG] - 'Date':'Wed, 06 Sep 2023 17:21:01 GMT'
2023-09-06 17:21:01,520 3672 [DEBUG] - 'ETag':'"1a42996"'
2023-09-06 17:21:01,520 3672 [DEBUG] - 'Last-Modified':'Wed, 06 Sep 2023 15:33:33 GMT'
2023-09-06 17:21:01,535 3672 [DEBUG] - 'Server':'downloads'
2023-09-06 17:21:01,582 3672 [INFO ] - Downloading golang 64 bit
from 'https://golang.org/dl/go1.21.1.windows-amd64.msi'
2023-09-06 17:21:01,645 3672 [DEBUG] - Running Get-WebFile -url 'https://golang.org/dl/go1.21.1.windows-amd64.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.21.1\go1.21.1.windows-amd64.msi' -options 'System.Collections.Hashtable'
2023-09-06 17:21:01,660 3672 [DEBUG] - Setting request timeout to 30000
2023-09-06 17:21:01,660 3672 [DEBUG] - Setting read/write timeout to 2700000
2023-09-06 17:21:01,676 3672 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-09-06 17:21:02,380 3672 [DEBUG] - Downloading https://golang.org/dl/go1.21.1.windows-amd64.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.21.1\go1.21.1.windows-amd64.msi
2023-09-06 17:21:09,129 3672 [INFO ] -
2023-09-06 17:21:09,129 3672 [INFO ] - Download of go1.21.1.windows-amd64.msi (58.43 MB) completed.
2023-09-06 17:21:12,191 3672 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-09-06 17:21:12,208 3672 [DEBUG] - Verifying package provided checksum of 'd5bdec8f6c8f453f1a2e3d58ef5c1dd371f1b38930ef323347e345db984fc807' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.21.1\go1.21.1.windows-amd64.msi'.
2023-09-06 17:21:12,255 3672 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.21.1\go1.21.1.windows-amd64.msi' -checksum 'd5bdec8f6c8f453f1a2e3d58ef5c1dd371f1b38930ef323347e345db984fc807' -checksumType 'SHA256' -originalUrl 'https://golang.org/dl/go1.21.1.windows-amd64.msi'
2023-09-06 17:21:12,271 3672 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-09-06 17:21:12,285 3672 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="d5bdec8f6c8f453f1a2e3d58ef5c1dd371f1b38930ef323347e345db984fc807" -t="SHA256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.21.1\go1.21.1.windows-amd64.msi"]
2023-09-06 17:21:13,678 3672 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="d5bdec8f6c8f453f1a2e3d58ef5c1dd371f1b38930ef323347e345db984fc807" -t="SHA256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.21.1\go1.21.1.windows-amd64.msi"] exited with '0'.
2023-09-06 17:21:13,756 3672 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'golang' -fileType 'msi' -silentArgs '/qn /norestart' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.21.1\go1.21.1.windows-amd64.msi' -validExitCodes '0 3010 1641' -useOnlyPackageSilentArguments 'False'
2023-09-06 17:21:13,785 3672 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-09-06 17:21:13,801 3672 [INFO ] - Installing golang...
2023-09-06 17:21:13,942 3672 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1641' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.21.1' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.21.1\go1.21.1.windows-amd64.msi" /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-09-06 17:21:14,021 3672 [DEBUG] - Test-ProcessAdminRights: returning True
2023-09-06 17:21:14,067 3672 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.21.1\go1.21.1.windows-amd64.msi" /qn /norestart ]. This may take a while, depending on the statements.
2023-09-06 17:23:26,693 3672 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.21.1\go1.21.1.windows-amd64.msi" /qn /norestart ] exited with '0'.
2023-09-06 17:23:26,723 3672 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-09-06 17:23:26,739 3672 [INFO ] - golang has been installed.
2023-09-06 17:23:26,755 3672 [DEBUG] - ----------------------------------------------------------------------
2023-09-06 17:23:26,770 3672 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-09-06 17:23:26,802 3672 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-09-06 17:23:26,911 3672 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-09-06 17:23:26,959 3672 [INFO ] - golang may be able to be automatically uninstalled.
2023-09-06 17:23:26,974 3672 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-09-06 17:23:26,989 3672 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-09-06 17:23:26,989 3672 [DEBUG] - * Path='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;C:\Users\vagrant\go\bin' (User)
2023-09-06 17:23:27,004 3672 [DEBUG] - * GOPATH='C:\Users\vagrant\go' (User)
2023-09-06 17:23:27,004 3672 [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-09-06 17:23:27,177 3672 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\golang'
2023-09-06 17:23:27,177 3672 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nupkg'
with checksum '4D6E6EFDC8D272B43B643F8BA7E62DDF'
2023-09-06 17:23:27,192 3672 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nuspec'
with checksum '777EC7BEFB5AD2280C133A1B95E856D6'
2023-09-06 17:23:27,208 3672 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1'
with checksum '745B2DDFEBCBF75818DEBF6BE5641066'
2023-09-06 17:23:27,208 3672 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1'
with checksum '18C38D40EABEF8107F8AB009F7182064'
2023-09-06 17:23:27,442 3672 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\golang.1.21.1".
2023-09-06 17:23:27,505 3672 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\golang.1.21.1\.registry'
2023-09-06 17:23:27,567 3672 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\golang.1.21.1\.files'
2023-09-06 17:23:27,599 3672 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.21.1\.extra".
2023-09-06 17:23:27,599 3672 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.21.1\.version".
2023-09-06 17:23:27,614 3672 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.21.1\.sxs".
2023-09-06 17:23:27,614 3672 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\golang.1.21.1\.pin".
2023-09-06 17:23:27,629 3672 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-09-06 17:23:27,645 3672 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\golang\.chocolateyPending".
2023-09-06 17:23:27,662 3672 [INFO ] - The install of golang was successful.
2023-09-06 17:23:27,662 3672 [INFO ] - Software installed as 'msi', install location is likely default.
2023-09-06 17:23:27,708 3672 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-09-06 17:23:27,723 3672 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-09-06 17:23:27,739 3672 [DEBUG] - Exiting with 0
2023-09-06 17:23:40,082 4996 [DEBUG] - XmlConfiguration is now operational
2023-09-06 17:23:40,239 4996 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-09-06 17:23:40,239 4996 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-09-06 17:23:40,239 4996 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-09-06 17:23:40,239 4996 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-09-06 17:23:40,254 4996 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-09-06 17:23:40,254 4996 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-09-06 17:23:40,254 4996 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-09-06 17:23:40,270 4996 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-09-06 17:23:40,270 4996 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-09-06 17:23:40,270 4996 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-09-06 17:23:40,270 4996 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-09-06 17:23:41,147 4996 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:23:41,162 4996 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:23:41,162 4996 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:23:41,162 4996 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:23:41,162 4996 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:23:41,177 4996 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:23:41,177 4996 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:23:41,177 4996 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:23:41,192 4996 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:23:41,192 4996 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-06 17:23:41,225 4996 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-09-06 17:23:41,225 4996 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-09-06 17:23:41,225 4996 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-09-06 17:23:41,239 4996 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-09-06 17:23:41,239 4996 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-09-06 17:23:41,239 4996 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-09-06 17:23:41,239 4996 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-09-06 17:23:41,255 4996 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-09-06 17:23:41,255 4996 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-09-06 17:23:41,255 4996 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-09-06 17:23:41,255 4996 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-09-06 17:23:41,270 4996 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-09-06 17:23:41,270 4996 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-09-06 17:23:41,270 4996 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-09-06 17:23:41,285 4996 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-09-06 17:23:41,285 4996 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-09-06 17:23:41,285 4996 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-09-06 17:23:41,285 4996 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-09-06 17:23:41,301 4996 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-09-06 17:23:41,301 4996 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-09-06 17:23:41,599 4996 [INFO ] - ============================================================
2023-09-06 17:23:42,052 4996 [INFO ] - Chocolatey v2.2.2
2023-09-06 17:23:42,098 4996 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-09-06 17:23:42,098 4996 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-09-06 17:23:42,114 4996 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-09-06 17:23:42,146 4996 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall golang --version 1.21.1 -dvy --execution-timeout=2700
2023-09-06 17:23:42,146 4996 [DEBUG] - Received arguments: uninstall golang --version 1.21.1 -dvy --execution-timeout=2700
2023-09-06 17:23:42,349 4996 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-09-06 17:23:42,379 4996 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-09-06 17:23:42,395 4996 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-09-06 17:23:42,646 4996 [DEBUG] - Performing validation checks.
2023-09-06 17:23:42,662 4996 [DEBUG] - Global Configuration Validation Checks:
2023-09-06 17:23:42,662 4996 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-09-06 17:23:42,692 4996 [DEBUG] - System State Validation Checks:
2023-09-06 17:23:42,692 4996 [DEBUG] - Reboot Requirement Checks:
2023-09-06 17:23:42,710 4996 [DEBUG] - - Pending Computer Rename = Checked
2023-09-06 17:23:42,723 4996 [DEBUG] - - Pending Component Based Servicing = Checked
2023-09-06 17:23:42,723 4996 [DEBUG] - - Pending Windows Auto Update = Checked
2023-09-06 17:23:42,739 4996 [DEBUG] - - Pending File Rename Operations = Ignored
2023-09-06 17:23:42,739 4996 [DEBUG] - - Pending Windows Package Installer = Checked
2023-09-06 17:23:42,754 4996 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-09-06 17:23:42,771 4996 [DEBUG] - Cache Folder Lockdown Checks:
2023-09-06 17:23:42,771 4996 [DEBUG] - - Elevated State = Checked
2023-09-06 17:23:42,785 4996 [DEBUG] - - Folder Exists = Checked
2023-09-06 17:23:42,802 4996 [DEBUG] - - Folder lockdown = Checked
2023-09-06 17:23:42,818 4996 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-09-06 17:23:42,864 4996 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-09-06 17:23:42,879 4996 [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-09-06 17:23:42,943 4996 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|Verbose='True'|
Trace='False'|Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='golang'|
Version='1.21.1'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='golang'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-V81V59CDTI4'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2023-09-06 17:23:42,974 4996 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-09-06 17:23:42,989 4996 [INFO ] - Uninstalling the following packages:
2023-09-06 17:23:42,989 4996 [INFO ] - golang
2023-09-06 17:23:43,020 4996 [DEBUG] - Current environment values (may contain sensitive data):
2023-09-06 17:23:43,020 4996 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;C:\Users\vagrant\go\bin' ('User')
2023-09-06 17:23:43,020 4996 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-09-06 17:23:43,036 4996 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-09-06 17:23:43,051 4996 [DEBUG] - * 'ChocolateyLastPathUpdate'='133384781200135331' ('User')
2023-09-06 17:23:43,051 4996 [DEBUG] - * 'GOPATH'='C:\Users\vagrant\go' ('User')
2023-09-06 17:23:43,051 4996 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-09-06 17:23:43,067 4996 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-09-06 17:23:43,067 4996 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-09-06 17:23:43,083 4996 [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-09-06 17:23:43,083 4996 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-09-06 17:23:43,099 4996 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-09-06 17:23:43,099 4996 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-09-06 17:23:43,114 4996 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-09-06 17:23:43,114 4996 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-09-06 17:23:43,130 4996 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-09-06 17:23:43,130 4996 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-09-06 17:23:43,130 4996 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-09-06 17:23:43,145 4996 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-09-06 17:23:43,145 4996 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-09-06 17:23:43,161 4996 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-09-06 17:23:43,161 4996 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-09-06 17:23:43,396 4996 [DEBUG] - Running list with the following filter = ''
2023-09-06 17:23:43,412 4996 [DEBUG] - --- Start of List ---
2023-09-06 17:23:43,676 4996 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-09-06 17:23:44,208 4996 [DEBUG] - chocolatey 2.2.2
2023-09-06 17:23:44,239 4996 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-09-06 17:23:44,363 4996 [DEBUG] - golang 1.21.1
2023-09-06 17:23:44,379 4996 [DEBUG] - KB2919355 1.0.20160915
2023-09-06 17:23:44,395 4996 [DEBUG] - KB2919442 1.0.20160915
2023-09-06 17:23:44,395 4996 [DEBUG] - KB2999226 1.0.20181019
2023-09-06 17:23:44,411 4996 [DEBUG] - KB3035131 1.0.3
2023-09-06 17:23:44,426 4996 [DEBUG] - KB3118401 1.0.5
2023-09-06 17:23:44,442 4996 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-09-06 17:23:44,459 4996 [DEBUG] - --- End of List ---
2023-09-06 17:23:44,474 4996 [DEBUG] - Running list with the following filter = ''
2023-09-06 17:23:44,474 4996 [DEBUG] - --- Start of List ---
2023-09-06 17:23:44,505 4996 [DEBUG] - chocolatey 2.2.2
2023-09-06 17:23:44,520 4996 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-09-06 17:23:44,567 4996 [DEBUG] - golang 1.21.1
2023-09-06 17:23:44,567 4996 [DEBUG] - KB2919355 1.0.20160915
2023-09-06 17:23:44,582 4996 [DEBUG] - KB2919442 1.0.20160915
2023-09-06 17:23:44,599 4996 [DEBUG] - KB2999226 1.0.20181019
2023-09-06 17:23:44,614 4996 [DEBUG] - KB3035131 1.0.3
2023-09-06 17:23:44,629 4996 [DEBUG] - KB3118401 1.0.5
2023-09-06 17:23:44,629 4996 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-09-06 17:23:44,645 4996 [DEBUG] - --- End of List ---
2023-09-06 17:23:44,707 4996 [DEBUG] - Running list with the following filter = ''
2023-09-06 17:23:44,707 4996 [DEBUG] - --- Start of List ---
2023-09-06 17:23:44,771 4996 [DEBUG] - chocolatey 2.2.2
2023-09-06 17:23:44,786 4996 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-09-06 17:23:44,817 4996 [DEBUG] - golang 1.21.1
2023-09-06 17:23:44,833 4996 [DEBUG] - KB2919355 1.0.20160915
2023-09-06 17:23:44,848 4996 [DEBUG] - KB2919442 1.0.20160915
2023-09-06 17:23:44,848 4996 [DEBUG] - KB2999226 1.0.20181019
2023-09-06 17:23:44,863 4996 [DEBUG] - KB3035131 1.0.3
2023-09-06 17:23:44,879 4996 [DEBUG] - KB3118401 1.0.5
2023-09-06 17:23:44,895 4996 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-09-06 17:23:44,895 4996 [DEBUG] - --- End of List ---
2023-09-06 17:23:44,974 4996 [INFO ] -
golang v1.21.1
2023-09-06 17:23:45,004 4996 [DEBUG] - Running beforeModify step for 'golang'
2023-09-06 17:23:45,037 4996 [DEBUG] - Backing up package files for 'golang'
2023-09-06 17:23:45,208 4996 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\golang".
2023-09-06 17:23:45,208 4996 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\golang to C:\ProgramData\chocolatey\lib-bkp\golang\1.21.1
2023-09-06 17:23:45,224 4996 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\golang'
to 'C:\ProgramData\chocolatey\lib-bkp\golang\1.21.1'
2023-09-06 17:23:47,254 4996 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\golang".
2023-09-06 17:23:47,254 4996 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\1.21.1\golang.nupkg"
to "C:\ProgramData\chocolatey\lib\golang\golang.nupkg".
2023-09-06 17:23:47,271 4996 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\1.21.1\golang.nuspec"
to "C:\ProgramData\chocolatey\lib\golang\golang.nuspec".
2023-09-06 17:23:47,286 4996 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\golang\tools".
2023-09-06 17:23:47,286 4996 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\1.21.1\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1".
2023-09-06 17:23:47,301 4996 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\golang\1.21.1\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1".
2023-09-06 17:23:48,833 4996 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\golang'
2023-09-06 17:23:48,833 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nupkg'
with checksum '4D6E6EFDC8D272B43B643F8BA7E62DDF'
2023-09-06 17:23:48,833 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nuspec'
with checksum '777EC7BEFB5AD2280C133A1B95E856D6'
2023-09-06 17:23:48,858 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1'
with checksum '745B2DDFEBCBF75818DEBF6BE5641066'
2023-09-06 17:23:48,864 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1'
with checksum '18C38D40EABEF8107F8AB009F7182064'
2023-09-06 17:23:48,912 4996 [DEBUG] - Setting installer args for golang
2023-09-06 17:23:48,912 4996 [DEBUG] - Setting package parameters for golang
2023-09-06 17:23:48,927 4996 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1':
2023-09-06 17:23:48,943 4996 [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-09-06 17:23:49,006 4996 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-09-06 17:23:49,020 4996 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-09-06 17:23:49,755 4996 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-09-06 17:23:50,318 4996 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-09-06 17:23:50,332 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-09-06 17:23:50,332 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-09-06 17:23:50,349 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-09-06 17:23:50,349 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-09-06 17:23:50,364 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-09-06 17:23:50,364 4996 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-09-06 17:23:50,380 4996 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-09-06 17:23:50,380 4996 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-09-06 17:23:50,395 4996 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-09-06 17:23:50,395 4996 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-09-06 17:23:50,411 4996 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-09-06 17:23:50,411 4996 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-09-06 17:23:50,427 4996 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-09-06 17:23:50,427 4996 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-09-06 17:23:50,442 4996 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-09-06 17:23:50,458 4996 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-09-06 17:23:50,458 4996 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-09-06 17:23:50,474 4996 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-09-06 17:23:50,474 4996 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-09-06 17:23:50,489 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-09-06 17:23:50,505 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-09-06 17:23:50,505 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-09-06 17:23:50,520 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-09-06 17:23:50,535 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-09-06 17:23:50,535 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-09-06 17:23:50,551 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-09-06 17:23:50,551 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-09-06 17:23:50,568 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-09-06 17:23:50,568 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-09-06 17:23:50,582 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-09-06 17:23:50,582 4996 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-09-06 17:23:50,598 4996 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-09-06 17:23:50,598 4996 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-09-06 17:23:50,614 4996 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-09-06 17:23:50,614 4996 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-09-06 17:23:50,630 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-09-06 17:23:50,646 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-09-06 17:23:50,646 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-09-06 17:23:50,661 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-09-06 17:23:50,676 4996 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-09-06 17:23:50,676 4996 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-09-06 17:23:50,692 4996 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-09-06 17:23:50,692 4996 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-09-06 17:23:50,708 4996 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-09-06 17:23:50,708 4996 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-09-06 17:23:50,723 4996 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-09-06 17:23:50,723 4996 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-09-06 17:23:50,739 4996 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-09-06 17:23:50,739 4996 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-09-06 17:23:50,754 4996 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-09-06 17:23:50,786 4996 [DEBUG] - Loading community extensions
2023-09-06 17:23:50,833 4996 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-09-06 17:23:50,833 4996 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-09-06 17:23:50,958 4996 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-09-06 17:23:50,974 4996 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-09-06 17:23:50,974 4996 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-09-06 17:23:50,989 4996 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-09-06 17:23:51,005 4996 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-09-06 17:23:51,005 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-09-06 17:23:51,021 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-09-06 17:23:51,021 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-09-06 17:23:51,021 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-09-06 17:23:51,036 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-09-06 17:23:51,036 4996 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-09-06 17:23:51,052 4996 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-09-06 17:23:51,067 4996 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-09-06 17:23:51,067 4996 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-09-06 17:23:51,067 4996 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-09-06 17:23:51,083 4996 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-09-06 17:23:51,098 4996 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-09-06 17:23:51,098 4996 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-09-06 17:23:51,114 4996 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-09-06 17:23:51,114 4996 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-09-06 17:23:51,129 4996 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-09-06 17:23:51,129 4996 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-09-06 17:23:51,146 4996 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-09-06 17:23:51,146 4996 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-09-06 17:23:51,161 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-09-06 17:23:51,161 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-09-06 17:23:51,177 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-09-06 17:23:51,177 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-09-06 17:23:51,192 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-09-06 17:23:51,192 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-09-06 17:23:51,208 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-09-06 17:23:51,208 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-09-06 17:23:51,223 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-09-06 17:23:51,223 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-09-06 17:23:51,239 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-09-06 17:23:51,239 4996 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-09-06 17:23:51,255 4996 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-09-06 17:23:51,255 4996 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-09-06 17:23:51,270 4996 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-09-06 17:23:51,270 4996 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-09-06 17:23:51,286 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-09-06 17:23:51,301 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-09-06 17:23:51,301 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-09-06 17:23:51,317 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-09-06 17:23:51,317 4996 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-09-06 17:23:51,317 4996 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-09-06 17:23:51,333 4996 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-09-06 17:23:51,333 4996 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-09-06 17:23:51,349 4996 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-09-06 17:23:51,349 4996 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-09-06 17:23:51,364 4996 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-09-06 17:23:51,364 4996 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-09-06 17:23:51,379 4996 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-09-06 17:23:51,395 4996 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-09-06 17:23:51,395 4996 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-09-06 17:23:51,410 4996 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-09-06 17:23:51,410 4996 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-09-06 17:23:51,426 4996 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-09-06 17:23:51,426 4996 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-09-06 17:23:51,442 4996 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-09-06 17:23:51,442 4996 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-09-06 17:23:51,457 4996 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-09-06 17:23:51,457 4996 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-09-06 17:23:51,473 4996 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-09-06 17:23:51,473 4996 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-09-06 17:23:51,489 4996 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-09-06 17:23:51,489 4996 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-09-06 17:23:51,505 4996 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-09-06 17:23:51,505 4996 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-09-06 17:23:51,520 4996 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-09-06 17:23:51,536 4996 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-09-06 17:23:51,553 4996 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-09-06 17:23:51,567 4996 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-09-06 17:23:51,567 4996 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-09-06 17:23:51,582 4996 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-09-06 17:23:51,582 4996 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-09-06 17:23:51,598 4996 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-09-06 17:23:51,598 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-09-06 17:23:51,614 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-09-06 17:23:51,630 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-09-06 17:23:51,645 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-09-06 17:23:51,645 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-09-06 17:23:51,661 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-09-06 17:23:51,661 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-09-06 17:23:51,676 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-09-06 17:23:51,676 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-09-06 17:23:51,692 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-09-06 17:23:51,692 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-09-06 17:23:51,707 4996 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-09-06 17:23:51,724 4996 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-09-06 17:23:51,724 4996 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-09-06 17:23:51,739 4996 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-09-06 17:23:51,739 4996 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-09-06 17:23:51,755 4996 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-09-06 17:23:51,755 4996 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-09-06 17:23:51,770 4996 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-09-06 17:23:51,770 4996 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-09-06 17:23:51,786 4996 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-09-06 17:23:51,786 4996 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-09-06 17:23:51,802 4996 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-09-06 17:23:51,802 4996 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-09-06 17:23:51,817 4996 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-09-06 17:23:51,817 4996 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-09-06 17:23:51,833 4996 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-09-06 17:23:51,833 4996 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-09-06 17:23:51,833 4996 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-09-06 17:23:51,849 4996 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-09-06 17:23:51,864 4996 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-09-06 17:23:51,864 4996 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-09-06 17:23:51,880 4996 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-09-06 17:23:51,974 4996 [DEBUG] - ---------------------------Script Execution---------------------------
2023-09-06 17:23:52,004 4996 [DEBUG] - Running 'ChocolateyScriptRunner' for golang v1.21.1 with packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\golang', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-09-06 17:23:52,051 4996 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1'
2023-09-06 17:23:52,207 4996 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'golang*'
2023-09-06 17:23:52,223 4996 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-09-06 17:23:52,349 4996 [DEBUG] - Registry uninstall keys on system: 28
2023-09-06 17:23:52,349 4996 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-09-06 17:23:52,442 4996 [WARN ] - WARNING: No registry key found based on 'golang*'
2023-09-06 17:23:52,459 4996 [DEBUG] - Found 0 uninstall registry key(s) with SoftwareName:'golang*'
2023-09-06 17:23:52,489 4996 [WARN ] - WARNING: golang has already been uninstalled by other means.
2023-09-06 17:23:52,536 4996 [DEBUG] - ----------------------------------------------------------------------
2023-09-06 17:23:52,552 4996 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-09-06 17:23:52,599 4996 [INFO ] - Running auto uninstaller...
2023-09-06 17:23:52,599 4996 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-09-06 17:23:54,630 4996 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{5FEA5B1C-3FA9-457F-A8E3-A3893A0A6A68}' for 'Go Programming Language amd64 go1.21.1'
2023-09-06 17:23:54,708 4996 [DEBUG] - Uninstaller path is 'MsiExec.exe'
2023-09-06 17:23:54,708 4996 [DEBUG] - Installer type is 'MsiInstaller'
2023-09-06 17:23:54,723 4996 [DEBUG] - Setting up uninstall logging directory at C:\Users\vagrant\AppData\Local\Temp\chocolatey\golang\1.21.1
2023-09-06 17:23:54,723 4996 [DEBUG] - Args are '/X{5FEA5B1C-3FA9-457F-A8E3-A3893A0A6A68} /qn /norestart'
2023-09-06 17:23:54,739 4996 [DEBUG] - Calling command ['"MsiExec.exe" /X{5FEA5B1C-3FA9-457F-A8E3-A3893A0A6A68} /qn /norestart']
2023-09-06 17:27:10,821 4996 [DEBUG] - Command ['"MsiExec.exe" /X{5FEA5B1C-3FA9-457F-A8E3-A3893A0A6A68} /qn /norestart'] exited with '0'
2023-09-06 17:27:10,836 4996 [INFO ] - Auto uninstaller has successfully uninstalled golang or detected previous uninstall.
2023-09-06 17:27:10,836 4996 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-09-06 17:27:10,947 4996 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-09-06 17:27:10,961 4996 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\golang".
2023-09-06 17:27:10,993 4996 [DEBUG] - Ensuring removal of installation files.
2023-09-06 17:27:10,993 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nupkg'
with checksum '4D6E6EFDC8D272B43B643F8BA7E62DDF'
2023-09-06 17:27:11,008 4996 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\golang\golang.nupkg".
2023-09-06 17:27:11,008 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\golang.nuspec'
with checksum '777EC7BEFB5AD2280C133A1B95E856D6'
2023-09-06 17:27:11,023 4996 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\golang\golang.nuspec".
2023-09-06 17:27:11,023 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1'
with checksum '745B2DDFEBCBF75818DEBF6BE5641066'
2023-09-06 17:27:11,039 4996 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\golang\tools\chocolateyInstall.ps1".
2023-09-06 17:27:11,055 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1'
with checksum '18C38D40EABEF8107F8AB009F7182064'
2023-09-06 17:27:11,055 4996 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\golang\tools\chocolateyUninstall.ps1".
2023-09-06 17:27:11,055 4996 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\golang".
2023-09-06 17:27:11,071 4996 [INFO ] - golang has been successfully uninstalled.
2023-09-06 17:27:11,086 4996 [DEBUG] - Removing nupkg if it still exists.
2023-09-06 17:27:11,086 4996 [DEBUG] - Ensuring removal of installation files.
2023-09-06 17:27:11,118 4996 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-09-06 17:27:11,118 4996 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-09-06 17:27:11,133 4996 [DEBUG] - * Path='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps' (User)
2023-09-06 17:27:11,133 4996 [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-09-06 17:27:11,133 4996 [DEBUG] - The following values have been removed:
2023-09-06 17:27:11,149 4996 [DEBUG] - * GOPATH='C:\Users\vagrant\go' (User)
2023-09-06 17:27:11,196 4996 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-09-06 17:27:11,196 4996 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-09-06 17:27:11,211 4996 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment