|
2024-02-20 01:07:43,152 5176 [DEBUG] - XmlConfiguration is now operational
|
|
2024-02-20 01:07:43,497 5176 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-02-20 01:07:43,512 5176 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-02-20 01:07:43,528 5176 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-02-20 01:07:43,639 5176 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-02-20 01:07:43,654 5176 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-02-20 01:07:43,763 5176 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2024-02-20 01:07:43,779 5176 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-02-20 01:07:43,779 5176 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-02-20 01:07:43,795 5176 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-02-20 01:07:43,795 5176 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-02-20 01:07:43,811 5176 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-02-20 01:07:45,715 5176 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-20 01:07:45,715 5176 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-20 01:07:45,731 5176 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-20 01:07:45,731 5176 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-20 01:07:45,746 5176 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-20 01:07:45,746 5176 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-20 01:07:45,763 5176 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-20 01:07:45,763 5176 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-20 01:07:45,778 5176 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-20 01:07:45,778 5176 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-20 01:07:45,825 5176 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2024-02-20 01:07:45,825 5176 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2024-02-20 01:07:45,844 5176 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2024-02-20 01:07:45,855 5176 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2024-02-20 01:07:45,855 5176 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2024-02-20 01:07:45,872 5176 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2024-02-20 01:07:45,872 5176 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2024-02-20 01:07:45,888 5176 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2024-02-20 01:07:45,903 5176 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2024-02-20 01:07:45,903 5176 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2024-02-20 01:07:45,918 5176 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2024-02-20 01:07:45,918 5176 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2024-02-20 01:07:45,934 5176 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2024-02-20 01:07:45,934 5176 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2024-02-20 01:07:45,950 5176 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2024-02-20 01:07:45,950 5176 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2024-02-20 01:07:45,966 5176 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2024-02-20 01:07:45,981 5176 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2024-02-20 01:07:45,981 5176 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2024-02-20 01:07:45,997 5176 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2024-02-20 01:07:46,548 5176 [INFO ] - ============================================================
|
|
2024-02-20 01:07:47,278 5176 [INFO ] - Chocolatey v2.2.2
|
|
2024-02-20 01:07:47,310 5176 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2024-02-20 01:07:47,324 5176 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2024-02-20 01:07:47,324 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2024-02-20 01:07:47,358 5176 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall gsudo --version 2.4.3 -dvy --execution-timeout=2700
|
|
2024-02-20 01:07:47,358 5176 [DEBUG] - Received arguments: uninstall gsudo --version 2.4.3 -dvy --execution-timeout=2700
|
|
2024-02-20 01:07:47,528 5176 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2024-02-20 01:07:47,562 5176 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2024-02-20 01:07:47,593 5176 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2024-02-20 01:07:47,763 5176 [DEBUG] - Performing validation checks.
|
|
2024-02-20 01:07:47,780 5176 [DEBUG] - Global Configuration Validation Checks:
|
|
2024-02-20 01:07:47,780 5176 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2024-02-20 01:07:47,795 5176 [DEBUG] - System State Validation Checks:
|
|
2024-02-20 01:07:47,795 5176 [DEBUG] - Reboot Requirement Checks:
|
|
2024-02-20 01:07:47,812 5176 [DEBUG] - - Pending Computer Rename = Checked
|
|
2024-02-20 01:07:47,826 5176 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2024-02-20 01:07:47,826 5176 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2024-02-20 01:07:47,841 5176 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2024-02-20 01:07:47,857 5176 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2024-02-20 01:07:47,857 5176 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2024-02-20 01:07:47,874 5176 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2024-02-20 01:07:47,888 5176 [DEBUG] - - Elevated State = Checked
|
|
2024-02-20 01:07:47,888 5176 [DEBUG] - - Folder Exists = Checked
|
|
2024-02-20 01:07:47,903 5176 [DEBUG] - - Folder lockdown = Checked
|
|
2024-02-20 01:07:47,920 5176 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2024-02-20 01:07:47,967 5176 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2024-02-20 01:07:47,982 5176 [DEBUG] -
|
|
NOTE: Hiding sensitive configuration data! Please double and triple
|
|
check to be sure no sensitive data is shown, especially if copying
|
|
output to a gist for review.
|
|
2024-02-20 01:07:48,042 5176 [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='gsudo'|
|
|
Version='2.4.3'|AllVersions='False'|SkipPackageInstallProvider='False'|
|
|
SkipHookScripts='False'|PackageNames='gsudo'|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-JT7O8N8D1FJ'|
|
|
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'|
|
|
2024-02-20 01:07:48,042 5176 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
|
|
2024-02-20 01:07:48,059 5176 [INFO ] - Uninstalling the following packages:
|
|
2024-02-20 01:07:48,074 5176 [INFO ] - gsudo
|
|
2024-02-20 01:07:48,090 5176 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2024-02-20 01:07:48,108 5176 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2024-02-20 01:07:48,108 5176 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-02-20 01:07:48,123 5176 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-02-20 01:07:48,123 5176 [DEBUG] - * 'ChocolateyLastPathUpdate'='133528648413408842' ('User')
|
|
2024-02-20 01:07:48,137 5176 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
|
|
2024-02-20 01:07:48,153 5176 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2024-02-20 01:07:48,153 5176 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2024-02-20 01:07:48,153 5176 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2024-02-20 01:07:48,168 5176 [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:\tools\gsudo\Current;' ('Machine')
|
|
2024-02-20 01:07:48,168 5176 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2024-02-20 01:07:48,184 5176 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2024-02-20 01:07:48,184 5176 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2024-02-20 01:07:48,199 5176 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-02-20 01:07:48,199 5176 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-02-20 01:07:48,216 5176 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2024-02-20 01:07:48,216 5176 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2024-02-20 01:07:48,230 5176 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
|
|
2024-02-20 01:07:48,230 5176 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2024-02-20 01:07:48,248 5176 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2024-02-20 01:07:48,248 5176 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2024-02-20 01:07:48,263 5176 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2024-02-20 01:07:48,497 5176 [DEBUG] - Running list with the following filter = ''
|
|
2024-02-20 01:07:48,513 5176 [DEBUG] - --- Start of List ---
|
|
2024-02-20 01:07:48,782 5176 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2024-02-20 01:07:49,356 5176 [DEBUG] - chocolatey 2.2.2
|
|
2024-02-20 01:07:49,370 5176 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2024-02-20 01:07:49,434 5176 [DEBUG] - gsudo 2.4.3
|
|
2024-02-20 01:07:49,450 5176 [DEBUG] - KB2919355 1.0.20160915
|
|
2024-02-20 01:07:49,468 5176 [DEBUG] - KB2919442 1.0.20160915
|
|
2024-02-20 01:07:49,479 5176 [DEBUG] - KB2999226 1.0.20181019
|
|
2024-02-20 01:07:49,479 5176 [DEBUG] - KB3035131 1.0.3
|
|
2024-02-20 01:07:49,496 5176 [DEBUG] - KB3118401 1.0.5
|
|
2024-02-20 01:07:49,512 5176 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
|
|
2024-02-20 01:07:49,527 5176 [DEBUG] - --- End of List ---
|
|
2024-02-20 01:07:49,542 5176 [DEBUG] - Running list with the following filter = ''
|
|
2024-02-20 01:07:49,542 5176 [DEBUG] - --- Start of List ---
|
|
2024-02-20 01:07:49,574 5176 [DEBUG] - chocolatey 2.2.2
|
|
2024-02-20 01:07:49,574 5176 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2024-02-20 01:07:49,621 5176 [DEBUG] - gsudo 2.4.3
|
|
2024-02-20 01:07:49,639 5176 [DEBUG] - KB2919355 1.0.20160915
|
|
2024-02-20 01:07:49,652 5176 [DEBUG] - KB2919442 1.0.20160915
|
|
2024-02-20 01:07:49,683 5176 [DEBUG] - KB2999226 1.0.20181019
|
|
2024-02-20 01:07:49,700 5176 [DEBUG] - KB3035131 1.0.3
|
|
2024-02-20 01:07:49,700 5176 [DEBUG] - KB3118401 1.0.5
|
|
2024-02-20 01:07:49,716 5176 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
|
|
2024-02-20 01:07:49,716 5176 [DEBUG] - --- End of List ---
|
|
2024-02-20 01:07:49,792 5176 [DEBUG] - Running list with the following filter = ''
|
|
2024-02-20 01:07:49,792 5176 [DEBUG] - --- Start of List ---
|
|
2024-02-20 01:07:49,824 5176 [DEBUG] - chocolatey 2.2.2
|
|
2024-02-20 01:07:49,841 5176 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2024-02-20 01:07:49,870 5176 [DEBUG] - gsudo 2.4.3
|
|
2024-02-20 01:07:49,887 5176 [DEBUG] - KB2919355 1.0.20160915
|
|
2024-02-20 01:07:49,887 5176 [DEBUG] - KB2919442 1.0.20160915
|
|
2024-02-20 01:07:49,902 5176 [DEBUG] - KB2999226 1.0.20181019
|
|
2024-02-20 01:07:49,918 5176 [DEBUG] - KB3035131 1.0.3
|
|
2024-02-20 01:07:49,934 5176 [DEBUG] - KB3118401 1.0.5
|
|
2024-02-20 01:07:49,934 5176 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
|
|
2024-02-20 01:07:49,949 5176 [DEBUG] - --- End of List ---
|
|
2024-02-20 01:07:50,011 5176 [INFO ] -
|
|
gsudo v2.4.3
|
|
2024-02-20 01:07:50,058 5176 [DEBUG] - Running beforeModify step for 'gsudo'
|
|
2024-02-20 01:07:50,106 5176 [DEBUG] - Setting installer args for gsudo
|
|
2024-02-20 01:07:50,120 5176 [DEBUG] - Setting package parameters for gsudo
|
|
2024-02-20 01:07:50,120 5176 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1':
|
|
2024-02-20 01:07:50,138 5176 [DEBUG] - $ErrorActionPreference = 'Ignore' |
|
|
|
if (Get-Process gsudo 2> $null) { |
|
if (Get-Command gsudo.exe 2> $null) { |
|
# Stop any gsudo open cache sessions, if any. |
|
gsudo.exe -k 2> $null |
|
Start-Sleep -Milliseconds 500 |
|
} |
|
} |
|
|
|
$ToolsLocation = Get-ToolsLocation |
|
if ([System.Environment]::CurrentDirectory -like "$ToolsLocation*") { |
|
Write-Output -Verbose "Changing directory to $ToolsLocation to ensure successfull install/upgrade." |
|
Set-Location $ToolsLocation |
|
} |
|
|
|
$ErrorActionPreference = 'Continue' |
|
|
|
2024-02-20 01:07:50,200 5176 [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\gsudo\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2024-02-20 01:07:50,215 5176 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-02-20 01:07:51,246 5176 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2024-02-20 01:07:51,870 5176 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-02-20 01:07:51,888 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-02-20 01:07:51,903 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-02-20 01:07:51,903 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-02-20 01:07:51,920 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-02-20 01:07:51,920 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-02-20 01:07:51,937 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-02-20 01:07:51,951 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-02-20 01:07:51,951 5176 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-02-20 01:07:51,964 5176 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-02-20 01:07:51,964 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-02-20 01:07:51,964 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-20 01:07:51,982 5176 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-02-20 01:07:51,982 5176 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-02-20 01:07:52,000 5176 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-02-20 01:07:52,000 5176 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-02-20 01:07:52,011 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-02-20 01:07:52,011 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-02-20 01:07:52,030 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-02-20 01:07:52,046 5176 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-02-20 01:07:52,046 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-20 01:07:52,060 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-20 01:07:52,060 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-20 01:07:52,075 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-20 01:07:52,075 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-02-20 01:07:52,090 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-02-20 01:07:52,090 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-20 01:07:52,106 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-20 01:07:52,106 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-02-20 01:07:52,106 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-20 01:07:52,122 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-02-20 01:07:52,122 5176 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-02-20 01:07:52,137 5176 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-02-20 01:07:52,137 5176 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-02-20 01:07:52,153 5176 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-20 01:07:52,153 5176 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-02-20 01:07:52,167 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-02-20 01:07:52,167 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-20 01:07:52,184 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-20 01:07:52,184 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-20 01:07:52,201 5176 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-02-20 01:07:52,201 5176 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-02-20 01:07:52,216 5176 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-02-20 01:07:52,216 5176 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-02-20 01:07:52,231 5176 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-02-20 01:07:52,231 5176 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-02-20 01:07:52,247 5176 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-02-20 01:07:52,247 5176 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-02-20 01:07:52,262 5176 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-20 01:07:52,262 5176 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-02-20 01:07:52,262 5176 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-02-20 01:07:52,311 5176 [DEBUG] - Loading community extensions
|
|
2024-02-20 01:07:52,357 5176 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-02-20 01:07:52,357 5176 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-02-20 01:07:52,482 5176 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-02-20 01:07:52,497 5176 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-02-20 01:07:52,497 5176 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-02-20 01:07:52,511 5176 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-02-20 01:07:52,511 5176 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-02-20 01:07:52,529 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-02-20 01:07:52,545 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-02-20 01:07:52,545 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-02-20 01:07:52,559 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-02-20 01:07:52,559 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-02-20 01:07:52,574 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-02-20 01:07:52,574 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-02-20 01:07:52,574 5176 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-02-20 01:07:52,593 5176 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-02-20 01:07:52,604 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-02-20 01:07:52,604 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-20 01:07:52,604 5176 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-02-20 01:07:52,621 5176 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-02-20 01:07:52,621 5176 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-02-20 01:07:52,637 5176 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-02-20 01:07:52,637 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-02-20 01:07:52,653 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-02-20 01:07:52,653 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-02-20 01:07:52,668 5176 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-02-20 01:07:52,668 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-20 01:07:52,684 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-20 01:07:52,684 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-20 01:07:52,699 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-20 01:07:52,699 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-02-20 01:07:52,699 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-02-20 01:07:52,715 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-20 01:07:52,715 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-20 01:07:52,729 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-02-20 01:07:52,729 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-20 01:07:52,729 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-02-20 01:07:52,747 5176 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-02-20 01:07:52,747 5176 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-02-20 01:07:52,761 5176 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-02-20 01:07:52,761 5176 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-20 01:07:52,778 5176 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-02-20 01:07:52,778 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-02-20 01:07:52,792 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-20 01:07:52,792 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-20 01:07:52,809 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-20 01:07:52,809 5176 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-02-20 01:07:52,824 5176 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-02-20 01:07:52,824 5176 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-02-20 01:07:52,843 5176 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-02-20 01:07:52,843 5176 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-02-20 01:07:52,856 5176 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-02-20 01:07:52,856 5176 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-02-20 01:07:52,871 5176 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-02-20 01:07:52,871 5176 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-02-20 01:07:52,888 5176 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-02-20 01:07:52,888 5176 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-20 01:07:52,902 5176 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-02-20 01:07:52,902 5176 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-02-20 01:07:52,918 5176 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-02-20 01:07:52,918 5176 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-02-20 01:07:52,934 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-02-20 01:07:52,934 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-02-20 01:07:52,949 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-02-20 01:07:52,949 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-02-20 01:07:52,949 5176 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2024-02-20 01:07:52,965 5176 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2024-02-20 01:07:52,965 5176 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-02-20 01:07:52,980 5176 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-02-20 01:07:52,980 5176 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-02-20 01:07:52,995 5176 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-20 01:07:52,995 5176 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-02-20 01:07:53,011 5176 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-02-20 01:07:53,011 5176 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-02-20 01:07:53,027 5176 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-02-20 01:07:53,027 5176 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-02-20 01:07:53,042 5176 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-02-20 01:07:53,042 5176 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-02-20 01:07:53,042 5176 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-02-20 01:07:53,059 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-20 01:07:53,059 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-20 01:07:53,074 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-20 01:07:53,074 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-20 01:07:53,089 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-02-20 01:07:53,089 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2024-02-20 01:07:53,106 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-20 01:07:53,121 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-20 01:07:53,121 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-02-20 01:07:53,136 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-20 01:07:53,136 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-02-20 01:07:53,153 5176 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-02-20 01:07:53,153 5176 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-02-20 01:07:53,167 5176 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2024-02-20 01:07:53,167 5176 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-02-20 01:07:53,184 5176 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-20 01:07:53,184 5176 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2024-02-20 01:07:53,199 5176 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-02-20 01:07:53,199 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-02-20 01:07:53,250 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-20 01:07:53,265 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-20 01:07:53,278 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-20 01:07:53,278 5176 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2024-02-20 01:07:53,292 5176 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-02-20 01:07:53,292 5176 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-02-20 01:07:53,309 5176 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-02-20 01:07:53,309 5176 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-02-20 01:07:53,326 5176 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-02-20 01:07:53,326 5176 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-02-20 01:07:53,340 5176 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-20 01:07:53,340 5176 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-02-20 01:07:53,340 5176 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-02-20 01:07:53,359 5176 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-02-20 01:07:53,481 5176 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-02-20 01:07:53,544 5176 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.3 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2024-02-20 01:07:53,636 5176 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
|
|
2024-02-20 01:07:53,871 5176 [DEBUG] - Running Get-ToolsLocation
|
|
2024-02-20 01:07:53,949 5176 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-02-20 01:07:53,965 5176 [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\gsudo\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2024-02-20 01:07:53,981 5176 [DEBUG] - Backing up package files for 'gsudo'
|
|
2024-02-20 01:07:54,154 5176 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
|
|
2024-02-20 01:07:54,170 5176 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\gsudo to C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3
|
|
2024-02-20 01:07:54,182 5176 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\gsudo'
|
|
to 'C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3'
|
|
2024-02-20 01:07:56,204 5176 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo".
|
|
2024-02-20 01:07:56,216 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\gsudo.nupkg"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
|
|
2024-02-20 01:07:56,233 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\gsudo.nuspec"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
|
|
2024-02-20 01:07:56,249 5176 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\bin".
|
|
2024-02-20 01:07:56,249 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\bin\gsudo.exe.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
|
|
2024-02-20 01:07:56,263 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\bin\sudo.exe.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
|
|
2024-02-20 01:07:56,278 5176 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools".
|
|
2024-02-20 01:07:56,278 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\chocolateybeforemodify.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
|
|
2024-02-20 01:07:56,296 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\chocolateyinstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
|
|
2024-02-20 01:07:56,296 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\chocolateyuninstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
|
|
2024-02-20 01:07:56,308 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\LICENSE.txt"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
|
|
2024-02-20 01:07:56,308 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\Uninstall-ChocolateyPath.psm1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
|
|
2024-02-20 01:07:56,325 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\VERIFICATION.txt"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
|
|
2024-02-20 01:07:56,341 5176 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x64".
|
|
2024-02-20 01:07:56,356 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x64\gsudo"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
|
|
2024-02-20 01:07:56,356 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x64\gsudo.exe"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
|
|
2024-02-20 01:07:56,374 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x64\gsudo.exe.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
|
|
2024-02-20 01:07:56,390 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x64\gsudoModule.psd1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
|
|
2024-02-20 01:07:56,390 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x64\gsudoModule.psm1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
|
|
2024-02-20 01:07:56,404 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x64\Invoke-ElevatedCommand.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1".
|
|
2024-02-20 01:07:56,419 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x64\Invoke-gsudo.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
|
|
2024-02-20 01:07:56,419 5176 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x86".
|
|
2024-02-20 01:07:56,435 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x86\gsudo"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
|
|
2024-02-20 01:07:56,448 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x86\gsudo.exe"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
|
|
2024-02-20 01:07:56,484 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x86\gsudo.exe.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
|
|
2024-02-20 01:07:56,497 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x86\gsudoModule.psd1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
|
|
2024-02-20 01:07:56,497 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x86\gsudoModule.psm1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
|
|
2024-02-20 01:07:56,514 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x86\Invoke-ElevatedCommand.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1".
|
|
2024-02-20 01:07:56,528 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x86\Invoke-gsudo.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
|
|
2024-02-20 01:07:58,075 5176 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
|
|
2024-02-20 01:07:58,123 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
|
|
with checksum 'CE47D19C488F08D3C2B968C4C6194BE3'
|
|
2024-02-20 01:07:58,137 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
|
|
with checksum '1E8674DD9271C43592CD5D766FA799A2'
|
|
2024-02-20 01:07:58,137 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2024-02-20 01:07:58,155 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2024-02-20 01:07:58,168 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
|
|
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
|
|
2024-02-20 01:07:58,168 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
|
|
with checksum 'A0247D5C52C7C707343E023100E25CFC'
|
|
2024-02-20 01:07:58,168 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
|
|
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
|
|
2024-02-20 01:07:58,185 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
|
|
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
|
|
2024-02-20 01:07:58,185 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
|
|
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
|
|
2024-02-20 01:07:58,201 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
|
|
with checksum '04D11426E91F34B1B11263C49C54FA4E'
|
|
2024-02-20 01:07:58,201 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
|
|
with checksum '0754E14E80EB6F116392824FA6CBE54E'
|
|
2024-02-20 01:07:58,252 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
|
|
with checksum 'DFA87E2548F8F44BE0A2E8659F1628C2'
|
|
2024-02-20 01:07:58,262 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2024-02-20 01:07:58,262 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
|
|
with checksum '5516F3A6BF1023ADF9649483F750AE82'
|
|
2024-02-20 01:07:58,280 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
|
|
with checksum 'CB1D81C4BF792D0F60130341C430D205'
|
|
2024-02-20 01:07:58,280 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
|
|
with checksum '753B4121CCD4DAD6485988B4BAC74F63'
|
|
2024-02-20 01:07:58,292 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
|
|
with checksum '65CA93B676900DF8CE7C51A9F1580F8A'
|
|
2024-02-20 01:07:58,292 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
|
|
with checksum '0754E14E80EB6F116392824FA6CBE54E'
|
|
2024-02-20 01:07:58,372 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
|
|
with checksum '8ED27D4A4B34F572D430084FB3107CD8'
|
|
2024-02-20 01:07:58,391 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2024-02-20 01:07:58,403 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
|
|
with checksum '5516F3A6BF1023ADF9649483F750AE82'
|
|
2024-02-20 01:07:58,403 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
|
|
with checksum 'CB1D81C4BF792D0F60130341C430D205'
|
|
2024-02-20 01:07:58,420 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
|
|
with checksum '753B4121CCD4DAD6485988B4BAC74F63'
|
|
2024-02-20 01:07:58,420 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
|
|
with checksum '65CA93B676900DF8CE7C51A9F1580F8A'
|
|
2024-02-20 01:07:58,449 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
|
|
2024-02-20 01:07:58,449 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
|
|
2024-02-20 01:07:58,468 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
|
|
2024-02-20 01:07:58,480 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
|
|
2024-02-20 01:07:58,496 5176 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
|
|
2024-02-20 01:07:58,496 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
|
|
2024-02-20 01:07:58,512 5176 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
|
|
2024-02-20 01:07:58,512 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
|
|
2024-02-20 01:07:58,528 5176 [DEBUG] - Setting installer args for gsudo
|
|
2024-02-20 01:07:58,545 5176 [DEBUG] - Setting package parameters for gsudo
|
|
2024-02-20 01:07:58,545 5176 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1':
|
|
2024-02-20 01:07:58,560 5176 [DEBUG] - Import-Module (Join-Path (Split-Path -parent $MyInvocation.MyCommand.Definition) "Uninstall-ChocolateyPath.psm1") |
|
|
|
function MarkFileDelete { |
|
param( |
|
[parameter(Mandatory=$true)] |
|
[string] $path |
|
) |
|
|
|
# the code below has been used from |
|
# https://blogs.technet.com/b/heyscriptingguy/archive/2013/10/19/weekend-scripter-use-powershell-and-pinvoke-to-remove-stubborn-files.aspx |
|
# with inspiration from |
|
# http://www.leeholmes.com/blog/2009/02/17/moving-and-deleting-really-locked-files-in-powershell/ |
|
# and error handling from |
|
# https://blogs.technet.com/b/heyscriptingguy/archive/2013/06/25/use-powershell-to-interact-with-the-windows-api-part-1.aspx |
|
|
|
Add-Type @' |
|
using System; |
|
using System.Text; |
|
using System.Runtime.InteropServices; |
|
|
|
public class Posh |
|
{ |
|
public enum MoveFileFlags |
|
{ |
|
MOVEFILE_DELAY_UNTIL_REBOOT = 0x00000004 |
|
} |
|
|
|
[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)] |
|
static extern bool MoveFileEx(string lpExistingFileName, string lpNewFileName, MoveFileFlags dwFlags); |
|
|
|
public static bool MarkFileDelete (string sourcefile) |
|
{ |
|
return MoveFileEx(sourcefile, null, MoveFileFlags.MOVEFILE_DELAY_UNTIL_REBOOT); |
|
} |
|
} |
|
'@ |
|
$deleteResult = [Posh]::MarkFileDelete($path) |
|
|
|
if ($deleteResult) { |
|
write-Warning "(Delete of $path failed: Will be deleted at next boot.)" |
|
} else { |
|
write-Warning "(Error marking $path for deletion at next boot.)" |
|
} |
|
} |
|
|
|
|
|
$installPath = "$(Get-ToolsLocation)\gsudo" |
|
Uninstall-ChocolateyPath "$installPath\Current" 'Machine' |
|
|
|
$ErrorActionPreference="Ignore" |
|
|
|
# Delete symlinks in Pwsh 5. |
|
Get-ChildItem $installPath -Recurse |? LinkType -eq 'SymbolicLink'|%{$_.Delete()} |
|
# Delete the rest. |
|
Remove-Item $installPath -Recurse -Force -ErrorAction Ignore |
|
Remove-Item $installPath -Recurse -Force -ErrorAction Ignore |
|
|
|
if (Test-Path $installPath) { |
|
# Files are in use so delete failed. |
|
# Rename used files and directories. |
|
|
|
Get-ChildItem $installPath -Recurse -Exclude "*.deleteMe" | Sort-Object -Descending {(++$script:i)} | % { Rename-Item -Path $_.FullName -NewName ($_.Name + ".deleteMe") ; } *> $NULL |
|
# Mark remaining for delete after restart. |
|
Get-ChildItem $installPath -Recurse | % { MarkFileDelete ( $_.FullName) } |
|
MarkFileDelete ( $installPath ); |
|
} |
|
|
|
$ErrorActionPreference = 'Continue' |
|
|
|
2024-02-20 01:07:58,560 5176 [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\gsudo\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2024-02-20 01:07:58,625 5176 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-02-20 01:07:58,682 5176 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2024-02-20 01:07:58,887 5176 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-02-20 01:07:58,948 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-02-20 01:07:58,948 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-02-20 01:07:58,948 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-02-20 01:07:58,965 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-02-20 01:07:58,965 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-02-20 01:07:58,979 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-02-20 01:07:58,979 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-02-20 01:07:58,994 5176 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-02-20 01:07:59,010 5176 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-02-20 01:07:59,010 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-02-20 01:07:59,026 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-20 01:07:59,026 5176 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-02-20 01:07:59,042 5176 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-02-20 01:07:59,042 5176 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-02-20 01:07:59,058 5176 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-02-20 01:07:59,058 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-02-20 01:07:59,073 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-02-20 01:07:59,073 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-02-20 01:07:59,089 5176 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-02-20 01:07:59,089 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-20 01:07:59,105 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-20 01:07:59,120 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-20 01:07:59,120 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-20 01:07:59,135 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-02-20 01:07:59,153 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-02-20 01:07:59,153 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-20 01:07:59,167 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-20 01:07:59,167 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-02-20 01:07:59,182 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-20 01:07:59,198 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-02-20 01:07:59,198 5176 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-02-20 01:07:59,215 5176 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-02-20 01:07:59,215 5176 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-02-20 01:07:59,230 5176 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-20 01:07:59,230 5176 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-02-20 01:07:59,246 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-02-20 01:07:59,246 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-20 01:07:59,262 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-20 01:07:59,262 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-20 01:07:59,277 5176 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-02-20 01:07:59,277 5176 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-02-20 01:07:59,277 5176 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-02-20 01:07:59,294 5176 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-02-20 01:07:59,309 5176 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-02-20 01:07:59,309 5176 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-02-20 01:07:59,309 5176 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-02-20 01:07:59,325 5176 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-02-20 01:07:59,342 5176 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-20 01:07:59,342 5176 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-02-20 01:07:59,355 5176 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-02-20 01:07:59,355 5176 [DEBUG] - Loading community extensions
|
|
2024-02-20 01:07:59,373 5176 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-02-20 01:07:59,387 5176 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-02-20 01:07:59,437 5176 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-02-20 01:07:59,437 5176 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-02-20 01:07:59,449 5176 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-02-20 01:07:59,449 5176 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-02-20 01:07:59,465 5176 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-02-20 01:07:59,465 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-02-20 01:07:59,480 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-02-20 01:07:59,480 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-02-20 01:07:59,495 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-02-20 01:07:59,495 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-02-20 01:07:59,495 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-02-20 01:07:59,512 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-02-20 01:07:59,512 5176 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-02-20 01:07:59,528 5176 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-02-20 01:07:59,528 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-02-20 01:07:59,545 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-20 01:07:59,545 5176 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-02-20 01:07:59,559 5176 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-02-20 01:07:59,559 5176 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-02-20 01:07:59,574 5176 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-02-20 01:07:59,574 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-02-20 01:07:59,590 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-02-20 01:07:59,590 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-02-20 01:07:59,590 5176 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-02-20 01:07:59,606 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-20 01:07:59,606 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-20 01:07:59,621 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-20 01:07:59,621 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-20 01:07:59,636 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-02-20 01:07:59,636 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-02-20 01:07:59,636 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-20 01:07:59,653 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-20 01:07:59,653 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-02-20 01:07:59,668 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-20 01:07:59,668 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-02-20 01:07:59,685 5176 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-02-20 01:07:59,685 5176 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-02-20 01:07:59,699 5176 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-02-20 01:07:59,699 5176 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-20 01:07:59,716 5176 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-02-20 01:07:59,716 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-02-20 01:07:59,731 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-20 01:07:59,731 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-20 01:07:59,747 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-20 01:07:59,747 5176 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-02-20 01:07:59,761 5176 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-02-20 01:07:59,761 5176 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-02-20 01:07:59,778 5176 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-02-20 01:07:59,778 5176 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-02-20 01:07:59,793 5176 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-02-20 01:07:59,793 5176 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-02-20 01:07:59,874 5176 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-02-20 01:07:59,887 5176 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-02-20 01:07:59,902 5176 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-02-20 01:07:59,902 5176 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-20 01:07:59,902 5176 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-02-20 01:07:59,918 5176 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-02-20 01:07:59,918 5176 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-02-20 01:07:59,933 5176 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-02-20 01:07:59,933 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-02-20 01:07:59,948 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-02-20 01:07:59,948 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-02-20 01:07:59,965 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-02-20 01:07:59,965 5176 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2024-02-20 01:07:59,980 5176 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2024-02-20 01:07:59,980 5176 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-02-20 01:07:59,996 5176 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-02-20 01:07:59,996 5176 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-02-20 01:08:00,014 5176 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-20 01:08:00,028 5176 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-02-20 01:08:00,046 5176 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-02-20 01:08:00,057 5176 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-02-20 01:08:00,057 5176 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-02-20 01:08:00,073 5176 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-02-20 01:08:00,073 5176 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-02-20 01:08:00,090 5176 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-02-20 01:08:00,090 5176 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-02-20 01:08:00,104 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-20 01:08:00,104 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-20 01:08:00,104 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-20 01:08:00,120 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-20 01:08:00,120 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-02-20 01:08:00,136 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2024-02-20 01:08:00,136 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-20 01:08:00,136 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-20 01:08:00,152 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-02-20 01:08:00,152 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-20 01:08:00,166 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-02-20 01:08:00,166 5176 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-02-20 01:08:00,166 5176 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-02-20 01:08:00,323 5176 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2024-02-20 01:08:00,323 5176 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-02-20 01:08:00,340 5176 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-20 01:08:00,359 5176 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2024-02-20 01:08:00,370 5176 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-02-20 01:08:00,370 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-02-20 01:08:00,370 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-20 01:08:00,386 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-20 01:08:00,409 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-20 01:08:00,417 5176 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2024-02-20 01:08:00,417 5176 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-02-20 01:08:00,432 5176 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-02-20 01:08:00,432 5176 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-02-20 01:08:00,449 5176 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-02-20 01:08:00,464 5176 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-02-20 01:08:00,464 5176 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-02-20 01:08:00,480 5176 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-20 01:08:00,480 5176 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-02-20 01:08:00,496 5176 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-02-20 01:08:00,496 5176 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-02-20 01:08:00,510 5176 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-02-20 01:08:00,525 5176 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.3 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2024-02-20 01:08:00,542 5176 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
|
|
2024-02-20 01:08:00,574 5176 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
|
|
2024-02-20 01:08:00,590 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
|
|
2024-02-20 01:08:00,604 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
|
|
2024-02-20 01:08:00,604 5176 [DEBUG] - Running Get-ToolsLocation
|
|
2024-02-20 01:08:00,762 5176 [DEBUG] - Running Uninstall-ChocolateyPath -pathToUninstall 'C:\tools\gsudo\Current' -pathType 'Machine'
|
|
2024-02-20 01:08:00,885 5176 [DEBUG] - Running Update-SessionEnvironment
|
|
2024-02-20 01:08:00,902 5176 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
|
|
2024-02-20 01:08:02,229 5176 [INFO ] - PATH environment variable has C:\tools\gsudo\Current in it. Removing...
|
|
2024-02-20 01:08:02,251 5176 [INFO ] - VERBOSE: Choosing not to expand environment names
|
|
2024-02-20 01:08:02,463 5176 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2024-02-20 01:08:02,573 5176 [DEBUG] - Running Set-EnvironmentVariable -Name 'Path' -Value '%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' -Scope 'Machine'
|
|
2024-02-20 01:08:02,666 5176 [DEBUG] - Registry type for Path is/will be ExpandString
|
|
2024-02-20 01:08:02,746 5176 [DEBUG] - |
|
using System; |
|
using System.Runtime.InteropServices; |
|
|
|
namespace Win32 |
|
{ |
|
public class NativeMethods |
|
{ |
|
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
|
|
public static extern IntPtr SendMessageTimeout(
|
|
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
|
|
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult); |
|
|
|
} |
|
|
|
} |
|
|
|
2024-02-20 01:08:03,653 5176 [DEBUG] - Running Update-SessionEnvironment
|
|
2024-02-20 01:08:03,653 5176 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
|
|
2024-02-20 01:08:04,262 5176 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-02-20 01:08:04,279 5176 [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\gsudo\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2024-02-20 01:08:04,324 5176 [INFO ] - Skipping auto uninstaller - No registry snapshot.
|
|
2024-02-20 01:08:04,340 5176 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2024-02-20 01:08:04,510 5176 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2024-02-20 01:08:04,526 5176 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
|
|
2024-02-20 01:08:04,560 5176 [DEBUG] - Ensuring removal of installation files.
|
|
2024-02-20 01:08:04,623 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
|
|
with checksum 'CE47D19C488F08D3C2B968C4C6194BE3'
|
|
2024-02-20 01:08:04,623 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
|
|
2024-02-20 01:08:04,638 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
|
|
with checksum '1E8674DD9271C43592CD5D766FA799A2'
|
|
2024-02-20 01:08:04,652 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
|
|
2024-02-20 01:08:04,652 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
|
|
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
|
|
2024-02-20 01:08:04,667 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
|
|
2024-02-20 01:08:04,667 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
|
|
with checksum 'A0247D5C52C7C707343E023100E25CFC'
|
|
2024-02-20 01:08:04,683 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
|
|
2024-02-20 01:08:04,683 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
|
|
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
|
|
2024-02-20 01:08:04,698 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
|
|
2024-02-20 01:08:04,698 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
|
|
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
|
|
2024-02-20 01:08:04,698 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
|
|
2024-02-20 01:08:04,716 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
|
|
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
|
|
2024-02-20 01:08:04,716 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
|
|
2024-02-20 01:08:04,730 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
|
|
with checksum '04D11426E91F34B1B11263C49C54FA4E'
|
|
2024-02-20 01:08:04,730 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
|
|
2024-02-20 01:08:04,746 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
|
|
with checksum '0754E14E80EB6F116392824FA6CBE54E'
|
|
2024-02-20 01:08:04,746 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
|
|
2024-02-20 01:08:04,793 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
|
|
with checksum 'DFA87E2548F8F44BE0A2E8659F1628C2'
|
|
2024-02-20 01:08:04,793 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
|
|
2024-02-20 01:08:04,808 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
|
|
with checksum '5516F3A6BF1023ADF9649483F750AE82'
|
|
2024-02-20 01:08:04,808 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
|
|
2024-02-20 01:08:04,824 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
|
|
with checksum 'CB1D81C4BF792D0F60130341C430D205'
|
|
2024-02-20 01:08:04,824 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
|
|
2024-02-20 01:08:04,840 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
|
|
with checksum '753B4121CCD4DAD6485988B4BAC74F63'
|
|
2024-02-20 01:08:04,856 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1".
|
|
2024-02-20 01:08:04,856 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
|
|
with checksum '65CA93B676900DF8CE7C51A9F1580F8A'
|
|
2024-02-20 01:08:04,871 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
|
|
2024-02-20 01:08:04,871 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
|
|
with checksum '0754E14E80EB6F116392824FA6CBE54E'
|
|
2024-02-20 01:08:04,886 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
|
|
2024-02-20 01:08:04,968 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
|
|
with checksum '8ED27D4A4B34F572D430084FB3107CD8'
|
|
2024-02-20 01:08:04,980 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
|
|
2024-02-20 01:08:04,980 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
|
|
with checksum '5516F3A6BF1023ADF9649483F750AE82'
|
|
2024-02-20 01:08:04,996 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
|
|
2024-02-20 01:08:04,996 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
|
|
with checksum 'CB1D81C4BF792D0F60130341C430D205'
|
|
2024-02-20 01:08:05,009 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
|
|
2024-02-20 01:08:05,009 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
|
|
with checksum '753B4121CCD4DAD6485988B4BAC74F63'
|
|
2024-02-20 01:08:05,026 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1".
|
|
2024-02-20 01:08:05,026 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
|
|
with checksum '65CA93B676900DF8CE7C51A9F1580F8A'
|
|
2024-02-20 01:08:05,043 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
|
|
2024-02-20 01:08:05,043 5176 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\gsudo".
|
|
2024-02-20 01:08:05,056 5176 [INFO ] - gsudo has been successfully uninstalled.
|
|
2024-02-20 01:08:05,056 5176 [DEBUG] - Removing nupkg if it still exists.
|
|
2024-02-20 01:08:05,075 5176 [DEBUG] - Ensuring removal of installation files.
|
|
2024-02-20 01:08:05,104 5176 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
|
|
see the changes (or in powershell/cmd.exe just type `refreshenv`).
|
|
2024-02-20 01:08:05,120 5176 [DEBUG] - The following values have been added/changed (may contain sensitive data):
|
|
2024-02-20 01:08:05,153 5176 [DEBUG] - * ChocolateyLastPathUpdate='133528648834325849' (User)
|
|
2024-02-20 01:08:05,182 5176 [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)
|
|
2024-02-20 01:08:05,261 5176 [WARN ] -
|
|
Chocolatey uninstalled 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2024-02-20 01:08:05,277 5176 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2024-02-20 01:08:05,292 5176 [DEBUG] - Exiting with 0
|