|
2023-08-27 22:21:27,328 5324 [DEBUG] - XmlConfiguration is now operational
|
|
2023-08-27 22:21:27,485 5324 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-08-27 22:21:27,485 5324 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-08-27 22:21:27,485 5324 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-08-27 22:21:27,500 5324 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-08-27 22:21:27,500 5324 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-08-27 22:21:27,500 5324 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2023-08-27 22:21:27,500 5324 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-08-27 22:21:27,516 5324 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-08-27 22:21:27,516 5324 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-08-27 22:21:27,516 5324 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-08-27 22:21:27,516 5324 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-08-27 22:21:28,361 5324 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-08-27 22:21:28,361 5324 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-08-27 22:21:28,361 5324 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-08-27 22:21:28,375 5324 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-08-27 22:21:28,375 5324 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-08-27 22:21:28,375 5324 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-08-27 22:21:28,390 5324 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-08-27 22:21:28,390 5324 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-08-27 22:21:28,390 5324 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-08-27 22:21:28,406 5324 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-08-27 22:21:28,438 5324 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2023-08-27 22:21:28,438 5324 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-08-27 22:21:28,438 5324 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2023-08-27 22:21:28,453 5324 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-08-27 22:21:28,454 5324 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-08-27 22:21:28,454 5324 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-08-27 22:21:28,454 5324 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-08-27 22:21:28,454 5324 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-08-27 22:21:28,469 5324 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-08-27 22:21:28,469 5324 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-08-27 22:21:28,469 5324 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-08-27 22:21:28,484 5324 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-08-27 22:21:28,484 5324 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-08-27 22:21:28,484 5324 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-08-27 22:21:28,484 5324 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2023-08-27 22:21:28,500 5324 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-08-27 22:21:28,500 5324 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-08-27 22:21:28,500 5324 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2023-08-27 22:21:28,500 5324 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-08-27 22:21:28,516 5324 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-08-27 22:21:28,797 5324 [INFO ] - ============================================================
|
|
2023-08-27 22:21:29,172 5324 [INFO ] - Chocolatey v2.2.2
|
|
2023-08-27 22:21:29,203 5324 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-08-27 22:21:29,220 5324 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-08-27 22:21:29,220 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-08-27 22:21:29,251 5324 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall gsudo --version 2.4.0 -dvy --execution-timeout=2700
|
|
2023-08-27 22:21:29,251 5324 [DEBUG] - Received arguments: uninstall gsudo --version 2.4.0 -dvy --execution-timeout=2700
|
|
2023-08-27 22:21:29,438 5324 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-08-27 22:21:29,469 5324 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-08-27 22:21:29,484 5324 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-08-27 22:21:29,703 5324 [DEBUG] - Performing validation checks.
|
|
2023-08-27 22:21:29,719 5324 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-08-27 22:21:29,719 5324 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-08-27 22:21:29,735 5324 [DEBUG] - System State Validation Checks:
|
|
2023-08-27 22:21:29,751 5324 [DEBUG] - Reboot Requirement Checks:
|
|
2023-08-27 22:21:29,766 5324 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-08-27 22:21:29,766 5324 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-08-27 22:21:29,781 5324 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-08-27 22:21:29,781 5324 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-08-27 22:21:29,797 5324 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-08-27 22:21:29,812 5324 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-08-27 22:21:29,812 5324 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2023-08-27 22:21:29,829 5324 [DEBUG] - - Elevated State = Checked
|
|
2023-08-27 22:21:29,829 5324 [DEBUG] - - Folder Exists = Checked
|
|
2023-08-27 22:21:29,844 5324 [DEBUG] - - Folder lockdown = Checked
|
|
2023-08-27 22:21:29,860 5324 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2023-08-27 22:21:29,906 5324 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-08-27 22:21:29,906 5324 [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-08-27 22:21:29,984 5324 [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.0'|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-5B15ORLOIDF'|
|
|
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-08-27 22:21:30,000 5324 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
|
|
2023-08-27 22:21:30,016 5324 [INFO ] - Uninstalling the following packages:
|
|
2023-08-27 22:21:30,031 5324 [INFO ] - gsudo
|
|
2023-08-27 22:21:30,047 5324 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-08-27 22:21:30,047 5324 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-08-27 22:21:30,062 5324 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-08-27 22:21:30,062 5324 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-08-27 22:21:30,062 5324 [DEBUG] - * 'ChocolateyLastPathUpdate'='133376484715787403' ('User')
|
|
2023-08-27 22:21:30,078 5324 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
|
|
2023-08-27 22:21:30,078 5324 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-08-27 22:21:30,094 5324 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-08-27 22:21:30,094 5324 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-08-27 22:21:30,109 5324 [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-08-27 22:21:30,109 5324 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-08-27 22:21:30,125 5324 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-08-27 22:21:30,125 5324 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-08-27 22:21:30,141 5324 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-08-27 22:21:30,141 5324 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-08-27 22:21:30,157 5324 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-08-27 22:21:30,157 5324 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-08-27 22:21:30,172 5324 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
|
|
2023-08-27 22:21:30,172 5324 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-08-27 22:21:30,187 5324 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
|
|
2023-08-27 22:21:30,187 5324 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
|
|
2023-08-27 22:21:30,203 5324 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-08-27 22:21:30,438 5324 [DEBUG] - Running list with the following filter = ''
|
|
2023-08-27 22:21:30,438 5324 [DEBUG] - --- Start of List ---
|
|
2023-08-27 22:21:30,703 5324 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2023-08-27 22:21:31,172 5324 [DEBUG] - chocolatey 2.2.2
|
|
2023-08-27 22:21:31,187 5324 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-08-27 22:21:31,250 5324 [DEBUG] - gsudo 2.4.0
|
|
2023-08-27 22:21:31,265 5324 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-08-27 22:21:31,265 5324 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-08-27 22:21:31,281 5324 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-08-27 22:21:31,297 5324 [DEBUG] - KB3035131 1.0.3
|
|
2023-08-27 22:21:31,312 5324 [DEBUG] - KB3118401 1.0.5
|
|
2023-08-27 22:21:31,312 5324 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-08-27 22:21:31,329 5324 [DEBUG] - --- End of List ---
|
|
2023-08-27 22:21:31,329 5324 [DEBUG] - Running list with the following filter = ''
|
|
2023-08-27 22:21:31,344 5324 [DEBUG] - --- Start of List ---
|
|
2023-08-27 22:21:31,375 5324 [DEBUG] - chocolatey 2.2.2
|
|
2023-08-27 22:21:31,375 5324 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-08-27 22:21:31,422 5324 [DEBUG] - gsudo 2.4.0
|
|
2023-08-27 22:21:31,422 5324 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-08-27 22:21:31,437 5324 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-08-27 22:21:31,437 5324 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-08-27 22:21:31,453 5324 [DEBUG] - KB3035131 1.0.3
|
|
2023-08-27 22:21:31,468 5324 [DEBUG] - KB3118401 1.0.5
|
|
2023-08-27 22:21:31,484 5324 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-08-27 22:21:31,484 5324 [DEBUG] - --- End of List ---
|
|
2023-08-27 22:21:31,546 5324 [DEBUG] - Running list with the following filter = ''
|
|
2023-08-27 22:21:31,563 5324 [DEBUG] - --- Start of List ---
|
|
2023-08-27 22:21:31,594 5324 [DEBUG] - chocolatey 2.2.2
|
|
2023-08-27 22:21:31,609 5324 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-08-27 22:21:31,640 5324 [DEBUG] - gsudo 2.4.0
|
|
2023-08-27 22:21:31,672 5324 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-08-27 22:21:31,687 5324 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-08-27 22:21:31,687 5324 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-08-27 22:21:31,703 5324 [DEBUG] - KB3035131 1.0.3
|
|
2023-08-27 22:21:31,719 5324 [DEBUG] - KB3118401 1.0.5
|
|
2023-08-27 22:21:31,734 5324 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-08-27 22:21:31,734 5324 [DEBUG] - --- End of List ---
|
|
2023-08-27 22:21:31,798 5324 [INFO ] -
|
|
gsudo v2.4.0
|
|
2023-08-27 22:21:31,844 5324 [DEBUG] - Running beforeModify step for 'gsudo'
|
|
2023-08-27 22:21:31,876 5324 [DEBUG] - Setting installer args for gsudo
|
|
2023-08-27 22:21:31,891 5324 [DEBUG] - Setting package parameters for gsudo
|
|
2023-08-27 22:21:31,891 5324 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1':
|
|
2023-08-27 22:21:31,922 5324 [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-08-27 22:21:31,969 5324 [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-08-27 22:21:31,985 5324 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-08-27 22:21:32,625 5324 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-08-27 22:21:33,172 5324 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-08-27 22:21:33,172 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-08-27 22:21:33,187 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-08-27 22:21:33,203 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-08-27 22:21:33,203 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-08-27 22:21:33,219 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-08-27 22:21:33,219 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-08-27 22:21:33,234 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-08-27 22:21:33,234 5324 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-08-27 22:21:33,250 5324 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-08-27 22:21:33,250 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-08-27 22:21:33,265 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-08-27 22:21:33,265 5324 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-08-27 22:21:33,281 5324 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-08-27 22:21:33,281 5324 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-08-27 22:21:33,281 5324 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-08-27 22:21:33,297 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-08-27 22:21:33,297 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-08-27 22:21:33,312 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-08-27 22:21:33,312 5324 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-08-27 22:21:33,328 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-08-27 22:21:33,360 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-08-27 22:21:33,360 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-08-27 22:21:33,376 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-08-27 22:21:33,376 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-08-27 22:21:33,390 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-08-27 22:21:33,407 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-08-27 22:21:33,421 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-08-27 22:21:33,421 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-08-27 22:21:33,437 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-08-27 22:21:33,437 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-08-27 22:21:33,437 5324 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-08-27 22:21:33,453 5324 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-08-27 22:21:33,453 5324 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-08-27 22:21:33,469 5324 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-08-27 22:21:33,469 5324 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-08-27 22:21:33,484 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-08-27 22:21:33,484 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-08-27 22:21:33,500 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-08-27 22:21:33,500 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-08-27 22:21:33,515 5324 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-08-27 22:21:33,515 5324 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-08-27 22:21:33,532 5324 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-08-27 22:21:33,547 5324 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-08-27 22:21:33,547 5324 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-08-27 22:21:33,563 5324 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-08-27 22:21:33,563 5324 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-08-27 22:21:33,578 5324 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-08-27 22:21:33,578 5324 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-08-27 22:21:33,578 5324 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-08-27 22:21:33,593 5324 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-08-27 22:21:33,657 5324 [DEBUG] - Loading community extensions
|
|
2023-08-27 22:21:33,734 5324 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-08-27 22:21:33,751 5324 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-08-27 22:21:33,844 5324 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-08-27 22:21:33,859 5324 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-08-27 22:21:33,859 5324 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-08-27 22:21:33,875 5324 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-08-27 22:21:33,875 5324 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-08-27 22:21:33,891 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-08-27 22:21:33,891 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-08-27 22:21:33,907 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-08-27 22:21:33,922 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-08-27 22:21:33,922 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-08-27 22:21:33,938 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-08-27 22:21:33,938 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-08-27 22:21:33,938 5324 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-08-27 22:21:33,953 5324 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-08-27 22:21:33,969 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-08-27 22:21:33,969 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-08-27 22:21:33,984 5324 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-08-27 22:21:33,984 5324 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-08-27 22:21:34,000 5324 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-08-27 22:21:34,000 5324 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-08-27 22:21:34,016 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-08-27 22:21:34,016 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-08-27 22:21:34,031 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-08-27 22:21:34,031 5324 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-08-27 22:21:34,047 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-08-27 22:21:34,063 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-08-27 22:21:34,063 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-08-27 22:21:34,079 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-08-27 22:21:34,079 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-08-27 22:21:34,094 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-08-27 22:21:34,094 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-08-27 22:21:34,109 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-08-27 22:21:34,109 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-08-27 22:21:34,125 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-08-27 22:21:34,125 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-08-27 22:21:34,140 5324 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-08-27 22:21:34,140 5324 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-08-27 22:21:34,156 5324 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-08-27 22:21:34,156 5324 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-08-27 22:21:34,172 5324 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-08-27 22:21:34,172 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-08-27 22:21:34,187 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-08-27 22:21:34,187 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-08-27 22:21:34,187 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-08-27 22:21:34,203 5324 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-08-27 22:21:34,203 5324 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-08-27 22:21:34,219 5324 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-08-27 22:21:34,234 5324 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-08-27 22:21:34,234 5324 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-08-27 22:21:34,250 5324 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-08-27 22:21:34,250 5324 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-08-27 22:21:34,266 5324 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-08-27 22:21:34,266 5324 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-08-27 22:21:34,281 5324 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-08-27 22:21:34,281 5324 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-08-27 22:21:34,297 5324 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-08-27 22:21:34,297 5324 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-08-27 22:21:34,313 5324 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-08-27 22:21:34,313 5324 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-08-27 22:21:34,345 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-08-27 22:21:34,360 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-08-27 22:21:34,360 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-08-27 22:21:34,375 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-08-27 22:21:34,375 5324 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-08-27 22:21:34,391 5324 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-08-27 22:21:34,391 5324 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-08-27 22:21:34,406 5324 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-08-27 22:21:34,406 5324 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-08-27 22:21:34,422 5324 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-08-27 22:21:34,422 5324 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-08-27 22:21:34,437 5324 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-08-27 22:21:34,437 5324 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-08-27 22:21:34,453 5324 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-08-27 22:21:34,453 5324 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-08-27 22:21:34,468 5324 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-08-27 22:21:34,468 5324 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-08-27 22:21:34,484 5324 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-08-27 22:21:34,484 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-08-27 22:21:34,484 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-08-27 22:21:34,500 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-08-27 22:21:34,500 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-08-27 22:21:34,515 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-08-27 22:21:34,515 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-08-27 22:21:34,532 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-08-27 22:21:34,532 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-08-27 22:21:34,547 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-08-27 22:21:34,547 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-08-27 22:21:34,547 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-08-27 22:21:34,562 5324 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-08-27 22:21:34,579 5324 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-08-27 22:21:34,579 5324 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-08-27 22:21:34,594 5324 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-08-27 22:21:34,594 5324 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-08-27 22:21:34,594 5324 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-08-27 22:21:34,610 5324 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-08-27 22:21:34,625 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-08-27 22:21:34,625 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-08-27 22:21:34,640 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-08-27 22:21:34,640 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-08-27 22:21:34,656 5324 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-08-27 22:21:34,656 5324 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-08-27 22:21:34,672 5324 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-08-27 22:21:34,672 5324 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-08-27 22:21:34,687 5324 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-08-27 22:21:34,703 5324 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-08-27 22:21:34,703 5324 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-08-27 22:21:34,703 5324 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-08-27 22:21:34,719 5324 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-08-27 22:21:34,734 5324 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-08-27 22:21:34,734 5324 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-08-27 22:21:34,828 5324 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-08-27 22:21:34,859 5324 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.0 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-08-27 22:21:34,906 5324 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
|
|
2023-08-27 22:21:35,000 5324 [DEBUG] - Running Get-ToolsLocation
|
|
2023-08-27 22:21:35,063 5324 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-08-27 22:21:35,078 5324 [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-08-27 22:21:35,093 5324 [DEBUG] - Backing up package files for 'gsudo'
|
|
2023-08-27 22:21:35,250 5324 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
|
|
2023-08-27 22:21:35,265 5324 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\gsudo to C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0
|
|
2023-08-27 22:21:35,282 5324 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\gsudo'
|
|
to 'C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0'
|
|
2023-08-27 22:21:37,297 5324 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo".
|
|
2023-08-27 22:21:37,297 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\gsudo.nupkg"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
|
|
2023-08-27 22:21:37,329 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\gsudo.nuspec"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
|
|
2023-08-27 22:21:37,329 5324 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\bin".
|
|
2023-08-27 22:21:37,344 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\bin\gsudo.exe.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
|
|
2023-08-27 22:21:37,359 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\bin\sudo.exe.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
|
|
2023-08-27 22:21:37,359 5324 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools".
|
|
2023-08-27 22:21:37,375 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\chocolateybeforemodify.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
|
|
2023-08-27 22:21:37,375 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\chocolateyinstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
|
|
2023-08-27 22:21:37,391 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\chocolateyuninstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
|
|
2023-08-27 22:21:37,391 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\LICENSE.txt"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
|
|
2023-08-27 22:21:37,406 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\Uninstall-ChocolateyPath.psm1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
|
|
2023-08-27 22:21:37,421 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\VERIFICATION.txt"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
|
|
2023-08-27 22:21:37,421 5324 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x64".
|
|
2023-08-27 22:21:37,421 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x64\gsudo"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
|
|
2023-08-27 22:21:37,437 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x64\gsudo.exe"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
|
|
2023-08-27 22:21:37,454 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x64\gsudo.exe.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
|
|
2023-08-27 22:21:37,470 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x64\gsudoModule.psd1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
|
|
2023-08-27 22:21:37,470 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x64\gsudoModule.psm1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
|
|
2023-08-27 22:21:37,484 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x64\Invoke-ElevatedCommand.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1".
|
|
2023-08-27 22:21:37,500 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x64\Invoke-gsudo.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
|
|
2023-08-27 22:21:37,500 5324 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x86".
|
|
2023-08-27 22:21:37,515 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x86\gsudo"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
|
|
2023-08-27 22:21:37,515 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x86\gsudo.exe"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
|
|
2023-08-27 22:21:37,766 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x86\gsudo.exe.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
|
|
2023-08-27 22:21:37,781 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x86\gsudoModule.psd1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
|
|
2023-08-27 22:21:37,781 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x86\gsudoModule.psm1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
|
|
2023-08-27 22:21:37,797 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x86\Invoke-ElevatedCommand.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1".
|
|
2023-08-27 22:21:37,812 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x86\Invoke-gsudo.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
|
|
2023-08-27 22:21:39,328 5324 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
|
|
2023-08-27 22:21:39,391 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
|
|
with checksum '944B7F78296AF1C7E0E3787FC218F01B'
|
|
2023-08-27 22:21:39,391 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
|
|
with checksum 'A1BCF405D46E21B76D411B6BA1FCFBD0'
|
|
2023-08-27 22:21:39,406 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2023-08-27 22:21:39,406 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2023-08-27 22:21:39,422 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
|
|
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
|
|
2023-08-27 22:21:39,439 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
|
|
with checksum 'A0247D5C52C7C707343E023100E25CFC'
|
|
2023-08-27 22:21:39,439 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
|
|
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
|
|
2023-08-27 22:21:39,439 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
|
|
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
|
|
2023-08-27 22:21:39,453 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
|
|
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
|
|
2023-08-27 22:21:39,453 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
|
|
with checksum '83D35E08EC4F9EB24194F18B361E79CF'
|
|
2023-08-27 22:21:39,470 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
|
|
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
|
|
2023-08-27 22:21:39,564 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
|
|
with checksum '3BFB7F65D7605BE22DB714AB75936A88'
|
|
2023-08-27 22:21:39,564 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2023-08-27 22:21:39,564 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
|
|
with checksum 'CF1F70417092A81B06FFEF21409A6366'
|
|
2023-08-27 22:21:39,578 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
|
|
with checksum 'A30ECF8FCBB6BF5FEF0BE01A7D859907'
|
|
2023-08-27 22:21:39,595 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
|
|
with checksum 'B4B33FA699B7F7C39D53E172312B3DD1'
|
|
2023-08-27 22:21:39,595 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
|
|
with checksum '7FA5DE986B6F9B500DB8C2DDBBDA61D9'
|
|
2023-08-27 22:21:39,609 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
|
|
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
|
|
2023-08-27 22:21:39,703 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
|
|
with checksum 'CEFA11C4FE8AC9425FA10A1087913FA3'
|
|
2023-08-27 22:21:39,703 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2023-08-27 22:21:39,719 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
|
|
with checksum 'B88AA3623CEBF26BEB4427297CA1915A'
|
|
2023-08-27 22:21:39,719 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
|
|
with checksum 'CD0EA31079B4FEEBB3AA058E76805558'
|
|
2023-08-27 22:21:39,734 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
|
|
with checksum 'B4B33FA699B7F7C39D53E172312B3DD1'
|
|
2023-08-27 22:21:39,734 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
|
|
with checksum '7FA5DE986B6F9B500DB8C2DDBBDA61D9'
|
|
2023-08-27 22:21:39,750 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
|
|
2023-08-27 22:21:39,765 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
|
|
2023-08-27 22:21:39,765 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
|
|
2023-08-27 22:21:39,781 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
|
|
2023-08-27 22:21:39,797 5324 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
|
|
2023-08-27 22:21:39,813 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
|
|
2023-08-27 22:21:39,813 5324 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
|
|
2023-08-27 22:21:39,828 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
|
|
2023-08-27 22:21:39,828 5324 [DEBUG] - Setting installer args for gsudo
|
|
2023-08-27 22:21:39,843 5324 [DEBUG] - Setting package parameters for gsudo
|
|
2023-08-27 22:21:39,843 5324 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1':
|
|
2023-08-27 22:21:39,843 5324 [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-08-27 22:21:39,875 5324 [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-08-27 22:21:39,921 5324 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-08-27 22:21:39,985 5324 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-08-27 22:21:40,173 5324 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-08-27 22:21:40,188 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-08-27 22:21:40,188 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-08-27 22:21:40,203 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-08-27 22:21:40,220 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-08-27 22:21:40,220 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-08-27 22:21:40,235 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-08-27 22:21:40,235 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-08-27 22:21:40,251 5324 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-08-27 22:21:40,251 5324 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-08-27 22:21:40,266 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-08-27 22:21:40,281 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-08-27 22:21:40,281 5324 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-08-27 22:21:40,297 5324 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-08-27 22:21:40,297 5324 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-08-27 22:21:40,328 5324 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-08-27 22:21:40,343 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-08-27 22:21:40,343 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-08-27 22:21:40,359 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-08-27 22:21:40,359 5324 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-08-27 22:21:40,375 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-08-27 22:21:40,375 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-08-27 22:21:40,391 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-08-27 22:21:40,406 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-08-27 22:21:40,406 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-08-27 22:21:40,422 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-08-27 22:21:40,422 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-08-27 22:21:40,437 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-08-27 22:21:40,437 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-08-27 22:21:40,453 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-08-27 22:21:40,453 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-08-27 22:21:40,468 5324 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-08-27 22:21:40,468 5324 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-08-27 22:21:40,484 5324 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-08-27 22:21:40,484 5324 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-08-27 22:21:40,484 5324 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-08-27 22:21:40,499 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-08-27 22:21:40,515 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-08-27 22:21:40,515 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-08-27 22:21:40,515 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-08-27 22:21:40,531 5324 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-08-27 22:21:40,546 5324 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-08-27 22:21:40,546 5324 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-08-27 22:21:40,562 5324 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-08-27 22:21:40,562 5324 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-08-27 22:21:40,578 5324 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-08-27 22:21:40,578 5324 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-08-27 22:21:40,593 5324 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-08-27 22:21:40,593 5324 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-08-27 22:21:40,609 5324 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-08-27 22:21:40,609 5324 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-08-27 22:21:40,625 5324 [DEBUG] - Loading community extensions
|
|
2023-08-27 22:21:40,642 5324 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-08-27 22:21:40,657 5324 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-08-27 22:21:40,703 5324 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-08-27 22:21:40,719 5324 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-08-27 22:21:40,719 5324 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-08-27 22:21:40,734 5324 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-08-27 22:21:40,750 5324 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-08-27 22:21:40,750 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-08-27 22:21:40,765 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-08-27 22:21:40,781 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-08-27 22:21:40,781 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-08-27 22:21:40,797 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-08-27 22:21:40,797 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-08-27 22:21:40,812 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-08-27 22:21:40,812 5324 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-08-27 22:21:40,828 5324 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-08-27 22:21:40,828 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-08-27 22:21:40,844 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-08-27 22:21:40,844 5324 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-08-27 22:21:40,860 5324 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-08-27 22:21:40,860 5324 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-08-27 22:21:40,875 5324 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-08-27 22:21:40,890 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-08-27 22:21:40,890 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-08-27 22:21:40,906 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-08-27 22:21:40,906 5324 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-08-27 22:21:40,922 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-08-27 22:21:40,922 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-08-27 22:21:40,938 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-08-27 22:21:40,953 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-08-27 22:21:40,953 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-08-27 22:21:40,953 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-08-27 22:21:40,969 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-08-27 22:21:40,969 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-08-27 22:21:40,985 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-08-27 22:21:40,985 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-08-27 22:21:41,000 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-08-27 22:21:41,015 5324 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-08-27 22:21:41,015 5324 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-08-27 22:21:41,015 5324 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-08-27 22:21:41,031 5324 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-08-27 22:21:41,031 5324 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-08-27 22:21:41,046 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-08-27 22:21:41,046 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-08-27 22:21:41,062 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-08-27 22:21:41,078 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-08-27 22:21:41,078 5324 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-08-27 22:21:41,078 5324 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-08-27 22:21:41,094 5324 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-08-27 22:21:41,094 5324 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-08-27 22:21:41,109 5324 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-08-27 22:21:41,109 5324 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-08-27 22:21:41,125 5324 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-08-27 22:21:41,125 5324 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-08-27 22:21:41,140 5324 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-08-27 22:21:41,156 5324 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-08-27 22:21:41,156 5324 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-08-27 22:21:41,171 5324 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-08-27 22:21:41,171 5324 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-08-27 22:21:41,187 5324 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-08-27 22:21:41,187 5324 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-08-27 22:21:41,203 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-08-27 22:21:41,219 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-08-27 22:21:41,219 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-08-27 22:21:41,234 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-08-27 22:21:41,250 5324 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-08-27 22:21:41,250 5324 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-08-27 22:21:41,266 5324 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-08-27 22:21:41,266 5324 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-08-27 22:21:41,281 5324 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-08-27 22:21:41,296 5324 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-08-27 22:21:41,296 5324 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-08-27 22:21:41,296 5324 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-08-27 22:21:41,312 5324 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-08-27 22:21:41,328 5324 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-08-27 22:21:41,328 5324 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-08-27 22:21:41,344 5324 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-08-27 22:21:41,344 5324 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-08-27 22:21:41,359 5324 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-08-27 22:21:41,359 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-08-27 22:21:41,375 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-08-27 22:21:41,375 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-08-27 22:21:41,390 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-08-27 22:21:41,390 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-08-27 22:21:41,406 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-08-27 22:21:41,406 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-08-27 22:21:41,406 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-08-27 22:21:41,422 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-08-27 22:21:41,422 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-08-27 22:21:41,438 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-08-27 22:21:41,438 5324 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-08-27 22:21:41,453 5324 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-08-27 22:21:41,453 5324 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-08-27 22:21:41,469 5324 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-08-27 22:21:41,485 5324 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-08-27 22:21:41,485 5324 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-08-27 22:21:41,499 5324 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-08-27 22:21:41,499 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-08-27 22:21:41,499 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-08-27 22:21:41,515 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-08-27 22:21:41,515 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-08-27 22:21:41,531 5324 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-08-27 22:21:41,531 5324 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-08-27 22:21:41,546 5324 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-08-27 22:21:41,546 5324 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-08-27 22:21:41,562 5324 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-08-27 22:21:41,562 5324 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-08-27 22:21:41,562 5324 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-08-27 22:21:41,578 5324 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-08-27 22:21:41,578 5324 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-08-27 22:21:41,594 5324 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-08-27 22:21:41,594 5324 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-08-27 22:21:41,609 5324 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-08-27 22:21:41,625 5324 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.0 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-08-27 22:21:41,641 5324 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
|
|
2023-08-27 22:21:41,656 5324 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
|
|
2023-08-27 22:21:41,673 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
|
|
2023-08-27 22:21:41,673 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
|
|
2023-08-27 22:21:41,687 5324 [DEBUG] - Running Get-ToolsLocation
|
|
2023-08-27 22:21:41,750 5324 [DEBUG] - Running Uninstall-ChocolateyPath -pathToUninstall 'C:\tools\gsudo\Current' -pathType 'Machine'
|
|
2023-08-27 22:21:41,782 5324 [DEBUG] - Running Update-SessionEnvironment
|
|
2023-08-27 22:21:41,797 5324 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
|
|
2023-08-27 22:21:42,486 5324 [INFO ] - PATH environment variable has C:\tools\gsudo\Current in it. Removing...
|
|
2023-08-27 22:21:42,500 5324 [INFO ] - VERBOSE: Choosing not to expand environment names
|
|
2023-08-27 22:21:42,595 5324 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-08-27 22:21:42,657 5324 [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-08-27 22:21:42,704 5324 [DEBUG] - Registry type for Path is/will be ExpandString
|
|
2023-08-27 22:21:42,750 5324 [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-08-27 22:21:43,125 5324 [DEBUG] - Running Update-SessionEnvironment
|
|
2023-08-27 22:21:43,140 5324 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
|
|
2023-08-27 22:21:43,376 5324 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-08-27 22:21:43,391 5324 [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-08-27 22:21:43,437 5324 [INFO ] - Skipping auto uninstaller - No registry snapshot.
|
|
2023-08-27 22:21:43,437 5324 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-08-27 22:21:43,547 5324 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-08-27 22:21:43,579 5324 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
|
|
2023-08-27 22:21:43,610 5324 [DEBUG] - Ensuring removal of installation files.
|
|
2023-08-27 22:21:43,656 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
|
|
with checksum '944B7F78296AF1C7E0E3787FC218F01B'
|
|
2023-08-27 22:21:43,656 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
|
|
2023-08-27 22:21:43,671 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
|
|
with checksum 'A1BCF405D46E21B76D411B6BA1FCFBD0'
|
|
2023-08-27 22:21:43,688 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
|
|
2023-08-27 22:21:43,688 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
|
|
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
|
|
2023-08-27 22:21:43,703 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
|
|
2023-08-27 22:21:43,718 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
|
|
with checksum 'A0247D5C52C7C707343E023100E25CFC'
|
|
2023-08-27 22:21:43,718 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
|
|
2023-08-27 22:21:43,734 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
|
|
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
|
|
2023-08-27 22:21:43,734 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
|
|
2023-08-27 22:21:43,750 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
|
|
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
|
|
2023-08-27 22:21:43,750 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
|
|
2023-08-27 22:21:43,765 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
|
|
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
|
|
2023-08-27 22:21:43,765 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
|
|
2023-08-27 22:21:43,781 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
|
|
with checksum '83D35E08EC4F9EB24194F18B361E79CF'
|
|
2023-08-27 22:21:43,781 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
|
|
2023-08-27 22:21:43,797 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
|
|
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
|
|
2023-08-27 22:21:43,797 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
|
|
2023-08-27 22:21:43,860 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
|
|
with checksum '3BFB7F65D7605BE22DB714AB75936A88'
|
|
2023-08-27 22:21:43,875 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
|
|
2023-08-27 22:21:43,875 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
|
|
with checksum 'CF1F70417092A81B06FFEF21409A6366'
|
|
2023-08-27 22:21:43,890 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
|
|
2023-08-27 22:21:43,890 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
|
|
with checksum 'A30ECF8FCBB6BF5FEF0BE01A7D859907'
|
|
2023-08-27 22:21:43,890 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
|
|
2023-08-27 22:21:43,906 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
|
|
with checksum 'B4B33FA699B7F7C39D53E172312B3DD1'
|
|
2023-08-27 22:21:43,906 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1".
|
|
2023-08-27 22:21:43,921 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
|
|
with checksum '7FA5DE986B6F9B500DB8C2DDBBDA61D9'
|
|
2023-08-27 22:21:43,921 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
|
|
2023-08-27 22:21:43,921 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
|
|
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
|
|
2023-08-27 22:21:43,937 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
|
|
2023-08-27 22:21:44,016 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
|
|
with checksum 'CEFA11C4FE8AC9425FA10A1087913FA3'
|
|
2023-08-27 22:21:44,016 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
|
|
2023-08-27 22:21:44,031 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
|
|
with checksum 'B88AA3623CEBF26BEB4427297CA1915A'
|
|
2023-08-27 22:21:44,046 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
|
|
2023-08-27 22:21:44,046 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
|
|
with checksum 'CD0EA31079B4FEEBB3AA058E76805558'
|
|
2023-08-27 22:21:44,046 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
|
|
2023-08-27 22:21:44,062 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
|
|
with checksum 'B4B33FA699B7F7C39D53E172312B3DD1'
|
|
2023-08-27 22:21:44,062 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1".
|
|
2023-08-27 22:21:44,078 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
|
|
with checksum '7FA5DE986B6F9B500DB8C2DDBBDA61D9'
|
|
2023-08-27 22:21:44,093 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
|
|
2023-08-27 22:21:44,093 5324 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\gsudo".
|
|
2023-08-27 22:21:44,109 5324 [INFO ] - gsudo has been successfully uninstalled.
|
|
2023-08-27 22:21:44,109 5324 [DEBUG] - Removing nupkg if it still exists.
|
|
2023-08-27 22:21:44,125 5324 [DEBUG] - Ensuring removal of installation files.
|
|
2023-08-27 22:21:44,157 5324 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
|
|
see the changes (or in powershell/cmd.exe just type `refreshenv`).
|
|
2023-08-27 22:21:44,171 5324 [DEBUG] - The following values have been added/changed (may contain sensitive data):
|
|
2023-08-27 22:21:44,171 5324 [DEBUG] - * ChocolateyLastPathUpdate='133376485030787041' (User)
|
|
2023-08-27 22:21:44,187 5324 [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-08-27 22:21:44,219 5324 [WARN ] -
|
|
Chocolatey uninstalled 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-08-27 22:21:44,219 5324 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-08-27 22:21:44,234 5324 [DEBUG] - Exiting with 0
|