|
2023-12-18 14:47:52,229 4052 [DEBUG] - XmlConfiguration is now operational
|
|
2023-12-18 14:47:52,511 4052 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-12-18 14:47:52,511 4052 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-12-18 14:47:52,528 4052 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-12-18 14:47:52,528 4052 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-12-18 14:47:52,542 4052 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-12-18 14:47:52,542 4052 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2023-12-18 14:47:52,558 4052 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-12-18 14:47:52,589 4052 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-12-18 14:47:52,604 4052 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-12-18 14:47:52,604 4052 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-12-18 14:47:52,621 4052 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-12-18 14:47:53,920 4052 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-18 14:47:53,948 4052 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-18 14:47:53,964 4052 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-18 14:47:53,964 4052 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-18 14:47:53,981 4052 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-18 14:47:53,996 4052 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-18 14:47:54,011 4052 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-18 14:47:54,011 4052 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-18 14:47:54,011 4052 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-18 14:47:54,027 4052 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-18 14:47:54,057 4052 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2023-12-18 14:47:54,075 4052 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-12-18 14:47:54,090 4052 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2023-12-18 14:47:54,105 4052 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-12-18 14:47:54,105 4052 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-12-18 14:47:54,121 4052 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-12-18 14:47:54,121 4052 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-12-18 14:47:54,121 4052 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-12-18 14:47:54,137 4052 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-12-18 14:47:54,137 4052 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-12-18 14:47:54,152 4052 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-12-18 14:47:54,152 4052 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-12-18 14:47:54,152 4052 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-12-18 14:47:54,168 4052 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-12-18 14:47:54,168 4052 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2023-12-18 14:47:54,184 4052 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-12-18 14:47:54,184 4052 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-12-18 14:47:54,198 4052 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2023-12-18 14:47:54,198 4052 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-12-18 14:47:54,216 4052 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-12-18 14:47:54,746 4052 [INFO ] - ============================================================
|
|
2023-12-18 14:47:55,293 4052 [INFO ] - Chocolatey v2.2.2
|
|
2023-12-18 14:47:55,355 4052 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-12-18 14:47:55,387 4052 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-12-18 14:47:55,402 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-12-18 14:47:55,433 4052 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall gsudo --version 2.4.2 -dvy --execution-timeout=2700
|
|
2023-12-18 14:47:55,448 4052 [DEBUG] - Received arguments: uninstall gsudo --version 2.4.2 -dvy --execution-timeout=2700
|
|
2023-12-18 14:47:55,698 4052 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-12-18 14:47:55,760 4052 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-12-18 14:47:55,791 4052 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-12-18 14:47:56,031 4052 [DEBUG] - Performing validation checks.
|
|
2023-12-18 14:47:56,058 4052 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-12-18 14:47:56,077 4052 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-12-18 14:47:56,090 4052 [DEBUG] - System State Validation Checks:
|
|
2023-12-18 14:47:56,106 4052 [DEBUG] - Reboot Requirement Checks:
|
|
2023-12-18 14:47:56,120 4052 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-12-18 14:47:56,136 4052 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-12-18 14:47:56,136 4052 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-12-18 14:47:56,152 4052 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-12-18 14:47:56,168 4052 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-12-18 14:47:56,168 4052 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-12-18 14:47:56,183 4052 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2023-12-18 14:47:56,200 4052 [DEBUG] - - Elevated State = Checked
|
|
2023-12-18 14:47:56,214 4052 [DEBUG] - - Folder Exists = Checked
|
|
2023-12-18 14:47:56,246 4052 [DEBUG] - - Folder lockdown = Checked
|
|
2023-12-18 14:47:56,278 4052 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2023-12-18 14:47:56,341 4052 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-12-18 14:47:56,355 4052 [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-12-18 14:47:56,450 4052 [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.2'|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-O1LKL0AUSLD'|
|
|
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-12-18 14:47:56,486 4052 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
|
|
2023-12-18 14:47:56,511 4052 [INFO ] - Uninstalling the following packages:
|
|
2023-12-18 14:47:56,527 4052 [INFO ] - gsudo
|
|
2023-12-18 14:47:56,574 4052 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-12-18 14:47:56,574 4052 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-12-18 14:47:56,589 4052 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-12-18 14:47:56,604 4052 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-12-18 14:47:56,604 4052 [DEBUG] - * 'ChocolateyLastPathUpdate'='133473844472816776' ('User')
|
|
2023-12-18 14:47:56,621 4052 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
|
|
2023-12-18 14:47:56,621 4052 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-12-18 14:47:56,637 4052 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-12-18 14:47:56,652 4052 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-12-18 14:47:56,652 4052 [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')
|
|
2023-12-18 14:47:56,667 4052 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-12-18 14:47:56,682 4052 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-12-18 14:47:56,682 4052 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-12-18 14:47:56,699 4052 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-12-18 14:47:56,699 4052 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-12-18 14:47:56,714 4052 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-12-18 14:47:56,730 4052 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-12-18 14:47:56,730 4052 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
|
|
2023-12-18 14:47:56,745 4052 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-12-18 14:47:56,760 4052 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2023-12-18 14:47:56,760 4052 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2023-12-18 14:47:56,776 4052 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-12-18 14:47:57,089 4052 [DEBUG] - Running list with the following filter = ''
|
|
2023-12-18 14:47:57,111 4052 [DEBUG] - --- Start of List ---
|
|
2023-12-18 14:47:57,495 4052 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2023-12-18 14:47:58,263 4052 [DEBUG] - chocolatey 2.2.2
|
|
2023-12-18 14:47:58,293 4052 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2023-12-18 14:47:58,402 4052 [DEBUG] - gsudo 2.4.2
|
|
2023-12-18 14:47:58,419 4052 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-12-18 14:47:58,436 4052 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-12-18 14:47:58,451 4052 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-12-18 14:47:58,464 4052 [DEBUG] - KB3035131 1.0.3
|
|
2023-12-18 14:47:58,481 4052 [DEBUG] - KB3118401 1.0.5
|
|
2023-12-18 14:47:58,481 4052 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
|
|
2023-12-18 14:47:58,495 4052 [DEBUG] - --- End of List ---
|
|
2023-12-18 14:47:58,510 4052 [DEBUG] - Running list with the following filter = ''
|
|
2023-12-18 14:47:58,525 4052 [DEBUG] - --- Start of List ---
|
|
2023-12-18 14:47:58,575 4052 [DEBUG] - chocolatey 2.2.2
|
|
2023-12-18 14:47:58,590 4052 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2023-12-18 14:47:58,636 4052 [DEBUG] - gsudo 2.4.2
|
|
2023-12-18 14:47:58,636 4052 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-12-18 14:47:58,652 4052 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-12-18 14:47:58,667 4052 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-12-18 14:47:58,714 4052 [DEBUG] - KB3035131 1.0.3
|
|
2023-12-18 14:47:58,731 4052 [DEBUG] - KB3118401 1.0.5
|
|
2023-12-18 14:47:58,747 4052 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
|
|
2023-12-18 14:47:58,760 4052 [DEBUG] - --- End of List ---
|
|
2023-12-18 14:47:58,877 4052 [DEBUG] - Running list with the following filter = ''
|
|
2023-12-18 14:47:58,888 4052 [DEBUG] - --- Start of List ---
|
|
2023-12-18 14:47:58,932 4052 [DEBUG] - chocolatey 2.2.2
|
|
2023-12-18 14:47:58,949 4052 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2023-12-18 14:47:58,996 4052 [DEBUG] - gsudo 2.4.2
|
|
2023-12-18 14:47:59,011 4052 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-12-18 14:47:59,027 4052 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-12-18 14:47:59,043 4052 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-12-18 14:47:59,060 4052 [DEBUG] - KB3035131 1.0.3
|
|
2023-12-18 14:47:59,073 4052 [DEBUG] - KB3118401 1.0.5
|
|
2023-12-18 14:47:59,090 4052 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
|
|
2023-12-18 14:47:59,090 4052 [DEBUG] - --- End of List ---
|
|
2023-12-18 14:47:59,184 4052 [INFO ] -
|
|
gsudo v2.4.2
|
|
2023-12-18 14:47:59,293 4052 [DEBUG] - Running beforeModify step for 'gsudo'
|
|
2023-12-18 14:47:59,404 4052 [DEBUG] - Setting installer args for gsudo
|
|
2023-12-18 14:47:59,404 4052 [DEBUG] - Setting package parameters for gsudo
|
|
2023-12-18 14:47:59,422 4052 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1':
|
|
2023-12-18 14:47:59,464 4052 [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' |
|
|
|
2023-12-18 14:47:59,558 4052 [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']
|
|
2023-12-18 14:47:59,589 4052 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-12-18 14:48:00,887 4052 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-12-18 14:48:01,761 4052 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-12-18 14:48:01,776 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-12-18 14:48:01,776 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-12-18 14:48:01,793 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-12-18 14:48:01,793 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-12-18 14:48:01,809 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-12-18 14:48:01,809 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-12-18 14:48:01,824 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-12-18 14:48:01,839 4052 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-12-18 14:48:01,839 4052 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-12-18 14:48:01,855 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-12-18 14:48:01,871 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-18 14:48:01,871 4052 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-12-18 14:48:01,886 4052 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-12-18 14:48:01,886 4052 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-12-18 14:48:01,941 4052 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-12-18 14:48:01,967 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-12-18 14:48:01,967 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-12-18 14:48:01,980 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-12-18 14:48:01,996 4052 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-12-18 14:48:01,996 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-18 14:48:02,011 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-18 14:48:02,026 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-18 14:48:02,043 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-18 14:48:02,043 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-12-18 14:48:02,058 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-12-18 14:48:02,073 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-18 14:48:02,073 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-18 14:48:02,089 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-12-18 14:48:02,104 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-18 14:48:02,104 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-12-18 14:48:02,120 4052 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-12-18 14:48:02,136 4052 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-12-18 14:48:02,136 4052 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-12-18 14:48:02,152 4052 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-18 14:48:02,167 4052 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-12-18 14:48:02,167 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-12-18 14:48:02,183 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-18 14:48:02,183 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-18 14:48:02,199 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-18 14:48:02,213 4052 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-12-18 14:48:02,213 4052 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-12-18 14:48:02,229 4052 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-12-18 14:48:02,245 4052 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-12-18 14:48:02,245 4052 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-12-18 14:48:02,261 4052 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-12-18 14:48:02,277 4052 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-12-18 14:48:02,277 4052 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-12-18 14:48:02,292 4052 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-18 14:48:02,292 4052 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-12-18 14:48:02,309 4052 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-12-18 14:48:02,372 4052 [DEBUG] - Loading community extensions
|
|
2023-12-18 14:48:02,433 4052 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-12-18 14:48:02,433 4052 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-12-18 14:48:02,635 4052 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-12-18 14:48:02,651 4052 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-12-18 14:48:02,698 4052 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-12-18 14:48:02,714 4052 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-12-18 14:48:02,736 4052 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-12-18 14:48:02,745 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-12-18 14:48:02,745 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-12-18 14:48:02,762 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-12-18 14:48:02,778 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-12-18 14:48:02,794 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-12-18 14:48:02,794 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-12-18 14:48:02,808 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-12-18 14:48:02,808 4052 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-12-18 14:48:02,826 4052 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-12-18 14:48:02,840 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-12-18 14:48:02,840 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-18 14:48:02,855 4052 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-12-18 14:48:02,872 4052 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-12-18 14:48:02,888 4052 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-12-18 14:48:02,888 4052 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-12-18 14:48:02,902 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-12-18 14:48:02,902 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-12-18 14:48:02,917 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-12-18 14:48:02,950 4052 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-12-18 14:48:02,950 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-18 14:48:02,964 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-18 14:48:02,964 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-18 14:48:02,980 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-18 14:48:02,996 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-12-18 14:48:03,012 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-12-18 14:48:03,028 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-18 14:48:03,044 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-18 14:48:03,058 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-12-18 14:48:03,058 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-18 14:48:03,074 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-12-18 14:48:03,088 4052 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-12-18 14:48:03,088 4052 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-12-18 14:48:03,121 4052 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-12-18 14:48:03,142 4052 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-18 14:48:03,151 4052 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-12-18 14:48:03,167 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-12-18 14:48:03,167 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-18 14:48:03,184 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-18 14:48:03,198 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-18 14:48:03,198 4052 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-12-18 14:48:03,229 4052 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-12-18 14:48:03,245 4052 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-12-18 14:48:03,323 4052 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-12-18 14:48:03,341 4052 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-12-18 14:48:03,341 4052 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-12-18 14:48:03,355 4052 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-12-18 14:48:03,370 4052 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-12-18 14:48:03,370 4052 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-12-18 14:48:03,387 4052 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-12-18 14:48:03,387 4052 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-18 14:48:03,419 4052 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-12-18 14:48:03,432 4052 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-12-18 14:48:03,450 4052 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-12-18 14:48:03,450 4052 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-12-18 14:48:03,464 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-12-18 14:48:03,481 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-12-18 14:48:03,481 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-12-18 14:48:03,496 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-12-18 14:48:03,512 4052 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-12-18 14:48:03,527 4052 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-12-18 14:48:03,527 4052 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-12-18 14:48:03,544 4052 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-12-18 14:48:03,544 4052 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-12-18 14:48:03,557 4052 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-18 14:48:03,573 4052 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-12-18 14:48:03,589 4052 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-12-18 14:48:03,605 4052 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-12-18 14:48:03,605 4052 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-12-18 14:48:03,621 4052 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-12-18 14:48:03,637 4052 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-12-18 14:48:03,652 4052 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-12-18 14:48:03,652 4052 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-12-18 14:48:03,668 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-18 14:48:03,683 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-18 14:48:03,683 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-18 14:48:03,699 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-18 14:48:03,714 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-12-18 14:48:03,714 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-12-18 14:48:03,730 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-18 14:48:03,747 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-18 14:48:03,761 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-12-18 14:48:03,761 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-18 14:48:03,777 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-12-18 14:48:03,777 4052 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-12-18 14:48:03,793 4052 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-12-18 14:48:03,808 4052 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-12-18 14:48:03,808 4052 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-12-18 14:48:03,823 4052 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-18 14:48:03,838 4052 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-12-18 14:48:03,838 4052 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-12-18 14:48:03,855 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-12-18 14:48:03,855 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-18 14:48:03,871 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-18 14:48:03,886 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-18 14:48:03,886 4052 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-12-18 14:48:03,902 4052 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-12-18 14:48:03,902 4052 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-12-18 14:48:03,920 4052 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-12-18 14:48:03,933 4052 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-12-18 14:48:03,950 4052 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-12-18 14:48:03,950 4052 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-12-18 14:48:03,964 4052 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-18 14:48:03,980 4052 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-12-18 14:48:03,980 4052 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-12-18 14:48:03,996 4052 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-12-18 14:48:04,199 4052 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-12-18 14:48:04,261 4052 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.2 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-12-18 14:48:04,370 4052 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
|
|
2023-12-18 14:48:04,592 4052 [DEBUG] - Running Get-ToolsLocation
|
|
2023-12-18 14:48:04,714 4052 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-12-18 14:48:04,761 4052 [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'.
|
|
2023-12-18 14:48:04,792 4052 [DEBUG] - Backing up package files for 'gsudo'
|
|
2023-12-18 14:48:05,027 4052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
|
|
2023-12-18 14:48:05,058 4052 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\gsudo to C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2
|
|
2023-12-18 14:48:05,094 4052 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\gsudo'
|
|
to 'C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2'
|
|
2023-12-18 14:48:07,121 4052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo".
|
|
2023-12-18 14:48:07,153 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\gsudo.nupkg"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
|
|
2023-12-18 14:48:07,182 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\gsudo.nuspec"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
|
|
2023-12-18 14:48:07,214 4052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\bin".
|
|
2023-12-18 14:48:07,230 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\bin\gsudo.exe.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
|
|
2023-12-18 14:48:07,261 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\bin\sudo.exe.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
|
|
2023-12-18 14:48:07,293 4052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools".
|
|
2023-12-18 14:48:07,323 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\chocolateybeforemodify.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
|
|
2023-12-18 14:48:07,354 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\chocolateyinstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
|
|
2023-12-18 14:48:07,386 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\chocolateyuninstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
|
|
2023-12-18 14:48:07,465 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\LICENSE.txt"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
|
|
2023-12-18 14:48:07,495 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\Uninstall-ChocolateyPath.psm1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
|
|
2023-12-18 14:48:07,511 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\VERIFICATION.txt"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
|
|
2023-12-18 14:48:07,527 4052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x64".
|
|
2023-12-18 14:48:07,527 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x64\gsudo"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
|
|
2023-12-18 14:48:07,543 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x64\gsudo.exe"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
|
|
2023-12-18 14:48:07,573 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x64\gsudo.exe.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
|
|
2023-12-18 14:48:07,589 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x64\gsudoModule.psd1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
|
|
2023-12-18 14:48:07,607 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x64\gsudoModule.psm1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
|
|
2023-12-18 14:48:07,624 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x64\Invoke-ElevatedCommand.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1".
|
|
2023-12-18 14:48:07,636 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x64\Invoke-gsudo.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
|
|
2023-12-18 14:48:07,652 4052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x86".
|
|
2023-12-18 14:48:07,667 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x86\gsudo"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
|
|
2023-12-18 14:48:07,683 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x86\gsudo.exe"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
|
|
2023-12-18 14:48:07,714 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x86\gsudo.exe.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
|
|
2023-12-18 14:48:07,732 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x86\gsudoModule.psd1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
|
|
2023-12-18 14:48:07,747 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x86\gsudoModule.psm1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
|
|
2023-12-18 14:48:07,761 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x86\Invoke-ElevatedCommand.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1".
|
|
2023-12-18 14:48:07,777 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x86\Invoke-gsudo.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
|
|
2023-12-18 14:48:09,343 4052 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
|
|
2023-12-18 14:48:09,423 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
|
|
with checksum 'E8020ADE89128D1AC3E9D8DF59A3ED54'
|
|
2023-12-18 14:48:09,436 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
|
|
with checksum '72A5B59D68D67B96F591ED7DF0ECC1D8'
|
|
2023-12-18 14:48:09,449 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2023-12-18 14:48:09,466 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2023-12-18 14:48:09,466 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
|
|
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
|
|
2023-12-18 14:48:09,480 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
|
|
with checksum 'A0247D5C52C7C707343E023100E25CFC'
|
|
2023-12-18 14:48:09,495 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
|
|
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
|
|
2023-12-18 14:48:09,512 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
|
|
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
|
|
2023-12-18 14:48:09,526 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
|
|
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
|
|
2023-12-18 14:48:09,526 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
|
|
with checksum 'D1FC2CF6D1485AD81AC7F3CC035F2C03'
|
|
2023-12-18 14:48:09,547 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
|
|
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
|
|
2023-12-18 14:48:09,589 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
|
|
with checksum '25EACE05BEA041C0A08E4B670BE40313'
|
|
2023-12-18 14:48:09,605 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2023-12-18 14:48:09,620 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
|
|
with checksum 'DB8AD54FFD7DCEBA74490C05BD606FAB'
|
|
2023-12-18 14:48:09,636 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
|
|
with checksum '266EDF702869CA834000393E31F2ECC1'
|
|
2023-12-18 14:48:09,651 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
|
|
with checksum '86CDDD5F95CB85B03911892E906F7CB0'
|
|
2023-12-18 14:48:09,667 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
|
|
with checksum 'F015CDFA0FBBE60402C7BB7104EE0F55'
|
|
2023-12-18 14:48:09,682 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
|
|
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
|
|
2023-12-18 14:48:09,792 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
|
|
with checksum '13ABA3C359B01DAD6E8C23CB56A5E975'
|
|
2023-12-18 14:48:09,808 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2023-12-18 14:48:09,825 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
|
|
with checksum 'DB8AD54FFD7DCEBA74490C05BD606FAB'
|
|
2023-12-18 14:48:09,842 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
|
|
with checksum '266EDF702869CA834000393E31F2ECC1'
|
|
2023-12-18 14:48:09,855 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
|
|
with checksum '86CDDD5F95CB85B03911892E906F7CB0'
|
|
2023-12-18 14:48:09,871 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
|
|
with checksum 'F015CDFA0FBBE60402C7BB7104EE0F55'
|
|
2023-12-18 14:48:09,902 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
|
|
2023-12-18 14:48:09,923 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
|
|
2023-12-18 14:48:09,936 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
|
|
2023-12-18 14:48:09,949 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
|
|
2023-12-18 14:48:09,980 4052 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
|
|
2023-12-18 14:48:09,999 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
|
|
2023-12-18 14:48:10,011 4052 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
|
|
2023-12-18 14:48:10,043 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
|
|
2023-12-18 14:48:10,074 4052 [DEBUG] - Setting installer args for gsudo
|
|
2023-12-18 14:48:10,074 4052 [DEBUG] - Setting package parameters for gsudo
|
|
2023-12-18 14:48:10,090 4052 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1':
|
|
2023-12-18 14:48:10,090 4052 [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' |
|
|
|
2023-12-18 14:48:10,183 4052 [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']
|
|
2023-12-18 14:48:10,277 4052 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-12-18 14:48:10,479 4052 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-12-18 14:48:10,998 4052 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-12-18 14:48:11,010 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-12-18 14:48:11,073 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-12-18 14:48:11,073 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-12-18 14:48:11,105 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-12-18 14:48:11,137 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-12-18 14:48:11,167 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-12-18 14:48:11,184 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-12-18 14:48:11,198 4052 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-12-18 14:48:11,214 4052 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-12-18 14:48:11,230 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-12-18 14:48:11,261 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-18 14:48:11,261 4052 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-12-18 14:48:11,277 4052 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-12-18 14:48:11,292 4052 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-12-18 14:48:11,309 4052 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-12-18 14:48:11,323 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-12-18 14:48:11,341 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-12-18 14:48:11,354 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-12-18 14:48:11,371 4052 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-12-18 14:48:11,385 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-18 14:48:11,402 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-18 14:48:11,402 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-18 14:48:11,418 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-18 14:48:11,433 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-12-18 14:48:11,450 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-12-18 14:48:11,464 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-18 14:48:11,464 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-18 14:48:11,580 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-12-18 14:48:11,589 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-18 14:48:11,605 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-12-18 14:48:11,621 4052 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-12-18 14:48:11,636 4052 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-12-18 14:48:11,652 4052 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-12-18 14:48:11,668 4052 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-18 14:48:11,668 4052 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-12-18 14:48:11,683 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-12-18 14:48:11,699 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-18 14:48:11,715 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-18 14:48:11,730 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-18 14:48:11,745 4052 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-12-18 14:48:11,762 4052 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-12-18 14:48:11,777 4052 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-12-18 14:48:11,777 4052 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-12-18 14:48:11,793 4052 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-12-18 14:48:11,810 4052 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-12-18 14:48:11,825 4052 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-12-18 14:48:11,856 4052 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-12-18 14:48:11,870 4052 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-18 14:48:11,886 4052 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-12-18 14:48:11,901 4052 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-12-18 14:48:11,918 4052 [DEBUG] - Loading community extensions
|
|
2023-12-18 14:48:11,980 4052 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-12-18 14:48:12,012 4052 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-12-18 14:48:12,151 4052 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-12-18 14:48:12,168 4052 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-12-18 14:48:12,182 4052 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-12-18 14:48:12,198 4052 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-12-18 14:48:12,214 4052 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-12-18 14:48:12,231 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-12-18 14:48:12,248 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-12-18 14:48:12,248 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-12-18 14:48:12,262 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-12-18 14:48:12,277 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-12-18 14:48:12,277 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-12-18 14:48:12,293 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-12-18 14:48:12,307 4052 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-12-18 14:48:12,307 4052 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-12-18 14:48:12,324 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-12-18 14:48:12,340 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-18 14:48:12,340 4052 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-12-18 14:48:12,356 4052 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-12-18 14:48:12,370 4052 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-12-18 14:48:12,386 4052 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-12-18 14:48:12,386 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-12-18 14:48:12,402 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-12-18 14:48:12,417 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-12-18 14:48:12,417 4052 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-12-18 14:48:12,433 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-18 14:48:12,449 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-18 14:48:12,464 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-18 14:48:12,480 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-18 14:48:12,480 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-12-18 14:48:12,495 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-12-18 14:48:12,511 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-18 14:48:12,511 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-18 14:48:12,527 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-12-18 14:48:12,527 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-18 14:48:12,542 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-12-18 14:48:12,559 4052 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-12-18 14:48:12,559 4052 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-12-18 14:48:12,574 4052 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-12-18 14:48:12,589 4052 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-18 14:48:12,589 4052 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-12-18 14:48:12,605 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-12-18 14:48:12,620 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-18 14:48:12,620 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-18 14:48:12,637 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-18 14:48:12,653 4052 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-12-18 14:48:12,668 4052 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-12-18 14:48:12,668 4052 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-12-18 14:48:12,683 4052 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-12-18 14:48:12,699 4052 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-12-18 14:48:12,699 4052 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-12-18 14:48:12,715 4052 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-12-18 14:48:12,730 4052 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-12-18 14:48:12,730 4052 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-12-18 14:48:12,746 4052 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-12-18 14:48:12,746 4052 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-18 14:48:12,761 4052 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-12-18 14:48:12,777 4052 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-12-18 14:48:12,792 4052 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-12-18 14:48:12,792 4052 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-12-18 14:48:12,808 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-12-18 14:48:12,823 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-12-18 14:48:12,823 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-12-18 14:48:12,922 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-12-18 14:48:12,935 4052 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-12-18 14:48:12,951 4052 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-12-18 14:48:12,963 4052 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-12-18 14:48:12,980 4052 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-12-18 14:48:12,980 4052 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-12-18 14:48:12,995 4052 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-18 14:48:12,995 4052 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-12-18 14:48:13,011 4052 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-12-18 14:48:13,011 4052 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-12-18 14:48:13,029 4052 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-12-18 14:48:13,042 4052 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-12-18 14:48:13,058 4052 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-12-18 14:48:13,058 4052 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-12-18 14:48:13,089 4052 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-12-18 14:48:13,089 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-18 14:48:13,105 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-18 14:48:13,105 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-18 14:48:13,122 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-18 14:48:13,122 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-12-18 14:48:13,136 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-12-18 14:48:13,152 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-18 14:48:13,152 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-18 14:48:13,166 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-12-18 14:48:13,182 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-18 14:48:13,198 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-12-18 14:48:13,214 4052 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-12-18 14:48:13,229 4052 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-12-18 14:48:13,246 4052 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-12-18 14:48:13,246 4052 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-12-18 14:48:13,261 4052 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-18 14:48:13,277 4052 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-12-18 14:48:13,292 4052 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-12-18 14:48:13,292 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-12-18 14:48:13,309 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-18 14:48:13,323 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-18 14:48:13,323 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-18 14:48:13,338 4052 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-12-18 14:48:13,354 4052 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-12-18 14:48:13,354 4052 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-12-18 14:48:13,373 4052 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-12-18 14:48:13,373 4052 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-12-18 14:48:13,387 4052 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-12-18 14:48:13,403 4052 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-12-18 14:48:13,417 4052 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-18 14:48:13,417 4052 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-12-18 14:48:13,433 4052 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-12-18 14:48:13,449 4052 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-12-18 14:48:13,480 4052 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-12-18 14:48:13,497 4052 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.2 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-12-18 14:48:13,542 4052 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
|
|
2023-12-18 14:48:13,574 4052 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
|
|
2023-12-18 14:48:13,636 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
|
|
2023-12-18 14:48:13,653 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
|
|
2023-12-18 14:48:13,669 4052 [DEBUG] - Running Get-ToolsLocation
|
|
2023-12-18 14:48:13,822 4052 [DEBUG] - Running Uninstall-ChocolateyPath -pathToUninstall 'C:\tools\gsudo\Current' -pathType 'Machine'
|
|
2023-12-18 14:48:13,901 4052 [DEBUG] - Running Update-SessionEnvironment
|
|
2023-12-18 14:48:13,918 4052 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
|
|
2023-12-18 14:48:14,823 4052 [INFO ] - PATH environment variable has C:\tools\gsudo\Current in it. Removing...
|
|
2023-12-18 14:48:14,839 4052 [INFO ] - VERBOSE: Choosing not to expand environment names
|
|
2023-12-18 14:48:15,168 4052 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-12-18 14:48:15,292 4052 [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'
|
|
2023-12-18 14:48:15,385 4052 [DEBUG] - Registry type for Path is/will be ExpandString
|
|
2023-12-18 14:48:15,463 4052 [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); |
|
|
|
} |
|
|
|
} |
|
|
|
2023-12-18 14:48:16,230 4052 [DEBUG] - Running Update-SessionEnvironment
|
|
2023-12-18 14:48:16,246 4052 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
|
|
2023-12-18 14:48:17,026 4052 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-12-18 14:48:17,058 4052 [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'.
|
|
2023-12-18 14:48:17,104 4052 [INFO ] - Skipping auto uninstaller - No registry snapshot.
|
|
2023-12-18 14:48:17,119 4052 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-12-18 14:48:17,323 4052 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-12-18 14:48:17,356 4052 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
|
|
2023-12-18 14:48:17,401 4052 [DEBUG] - Ensuring removal of installation files.
|
|
2023-12-18 14:48:17,464 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
|
|
with checksum 'E8020ADE89128D1AC3E9D8DF59A3ED54'
|
|
2023-12-18 14:48:17,481 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
|
|
2023-12-18 14:48:17,496 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
|
|
with checksum '72A5B59D68D67B96F591ED7DF0ECC1D8'
|
|
2023-12-18 14:48:17,496 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
|
|
2023-12-18 14:48:17,512 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
|
|
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
|
|
2023-12-18 14:48:17,529 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
|
|
2023-12-18 14:48:17,559 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
|
|
with checksum 'A0247D5C52C7C707343E023100E25CFC'
|
|
2023-12-18 14:48:17,575 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
|
|
2023-12-18 14:48:17,605 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
|
|
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
|
|
2023-12-18 14:48:17,636 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
|
|
2023-12-18 14:48:17,656 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
|
|
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
|
|
2023-12-18 14:48:17,668 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
|
|
2023-12-18 14:48:17,683 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
|
|
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
|
|
2023-12-18 14:48:17,683 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
|
|
2023-12-18 14:48:17,698 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
|
|
with checksum 'D1FC2CF6D1485AD81AC7F3CC035F2C03'
|
|
2023-12-18 14:48:17,761 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
|
|
2023-12-18 14:48:17,777 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
|
|
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
|
|
2023-12-18 14:48:17,807 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
|
|
2023-12-18 14:48:17,855 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
|
|
with checksum '25EACE05BEA041C0A08E4B670BE40313'
|
|
2023-12-18 14:48:17,873 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
|
|
2023-12-18 14:48:17,918 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
|
|
with checksum 'DB8AD54FFD7DCEBA74490C05BD606FAB'
|
|
2023-12-18 14:48:17,935 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
|
|
2023-12-18 14:48:17,964 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
|
|
with checksum '266EDF702869CA834000393E31F2ECC1'
|
|
2023-12-18 14:48:17,964 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
|
|
2023-12-18 14:48:17,981 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
|
|
with checksum '86CDDD5F95CB85B03911892E906F7CB0'
|
|
2023-12-18 14:48:17,996 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1".
|
|
2023-12-18 14:48:17,996 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
|
|
with checksum 'F015CDFA0FBBE60402C7BB7104EE0F55'
|
|
2023-12-18 14:48:18,012 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
|
|
2023-12-18 14:48:18,044 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
|
|
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
|
|
2023-12-18 14:48:18,074 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
|
|
2023-12-18 14:48:18,309 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
|
|
with checksum '13ABA3C359B01DAD6E8C23CB56A5E975'
|
|
2023-12-18 14:48:18,371 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
|
|
2023-12-18 14:48:18,402 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
|
|
with checksum 'DB8AD54FFD7DCEBA74490C05BD606FAB'
|
|
2023-12-18 14:48:18,433 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
|
|
2023-12-18 14:48:18,464 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
|
|
with checksum '266EDF702869CA834000393E31F2ECC1'
|
|
2023-12-18 14:48:18,496 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
|
|
2023-12-18 14:48:18,529 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
|
|
with checksum '86CDDD5F95CB85B03911892E906F7CB0'
|
|
2023-12-18 14:48:18,559 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1".
|
|
2023-12-18 14:48:18,579 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
|
|
with checksum 'F015CDFA0FBBE60402C7BB7104EE0F55'
|
|
2023-12-18 14:48:18,610 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
|
|
2023-12-18 14:48:18,621 4052 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\gsudo".
|
|
2023-12-18 14:48:18,636 4052 [INFO ] - gsudo has been successfully uninstalled.
|
|
2023-12-18 14:48:18,652 4052 [DEBUG] - Removing nupkg if it still exists.
|
|
2023-12-18 14:48:18,699 4052 [DEBUG] - Ensuring removal of installation files.
|
|
2023-12-18 14:48:18,745 4052 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
|
|
see the changes (or in powershell/cmd.exe just type `refreshenv`).
|
|
2023-12-18 14:48:18,745 4052 [DEBUG] - The following values have been added/changed (may contain sensitive data):
|
|
2023-12-18 14:48:18,794 4052 [DEBUG] - * ChocolateyLastPathUpdate='133473844959798500' (User)
|
|
2023-12-18 14:48:18,841 4052 [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-12-18 14:48:19,057 4052 [WARN ] -
|
|
Chocolatey uninstalled 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-12-18 14:48:19,075 4052 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-12-18 14:48:19,088 4052 [DEBUG] - Exiting with 0
|