|
2023-07-15 20:02:13,106 4700 [DEBUG] - XmlConfiguration is now operational
|
|
2023-07-15 20:02:13,261 4700 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-07-15 20:02:13,261 4700 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-07-15 20:02:13,261 4700 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-07-15 20:02:13,261 4700 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-07-15 20:02:13,276 4700 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-07-15 20:02:13,276 4700 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-07-15 20:02:13,558 4700 [DEBUG] - Registering new command 'templates' in assembly 'choco'
|
|
2023-07-15 20:02:13,558 4700 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-07-15 20:02:13,558 4700 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-07-15 20:02:13,573 4700 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-07-15 20:02:13,573 4700 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-07-15 20:02:13,573 4700 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-07-15 20:02:13,589 4700 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-07-15 20:02:13,589 4700 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-07-15 20:02:13,589 4700 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-07-15 20:02:13,589 4700 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-07-15 20:02:13,604 4700 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-07-15 20:02:13,604 4700 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-07-15 20:02:13,604 4700 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-07-15 20:02:13,620 4700 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-07-15 20:02:13,620 4700 [DEBUG] - Registering new command 'sources' in assembly 'choco'
|
|
2023-07-15 20:02:13,620 4700 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-07-15 20:02:13,636 4700 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-07-15 20:02:13,636 4700 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-07-15 20:02:13,933 4700 [INFO ] - ============================================================
|
|
2023-07-15 20:02:14,327 4700 [INFO ] - Chocolatey v1.3.0
|
|
2023-07-15 20:02:14,358 4700 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-07-15 20:02:14,374 4700 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-07-15 20:02:14,374 4700 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-07-15 20:02:14,389 4700 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall zabbix-agent2 --version 5.4.9 -dvy --execution-timeout=2700
|
|
2023-07-15 20:02:14,405 4700 [DEBUG] - Received arguments: uninstall zabbix-agent2 --version 5.4.9 -dvy --execution-timeout=2700
|
|
2023-07-15 20:02:14,561 4700 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-07-15 20:02:14,592 4700 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-07-15 20:02:14,607 4700 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-07-15 20:02:14,765 4700 [DEBUG] - Performing validation checks.
|
|
2023-07-15 20:02:14,780 4700 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-07-15 20:02:14,780 4700 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-07-15 20:02:14,796 4700 [DEBUG] - System State Validation Checks:
|
|
2023-07-15 20:02:14,812 4700 [DEBUG] - Reboot Requirement Checks:
|
|
2023-07-15 20:02:14,826 4700 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-07-15 20:02:14,842 4700 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-07-15 20:02:14,842 4700 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-07-15 20:02:14,857 4700 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-07-15 20:02:14,857 4700 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-07-15 20:02:14,873 4700 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-07-15 20:02:14,889 4700 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
|
|
2023-07-15 20:02:14,953 4700 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-07-15 20:02:14,953 4700 [DEBUG] -
|
|
NOTE: Hiding sensitive configuration data! Please double and triple
|
|
check to be sure no sensitive data is shown, especially if copying
|
|
output to a gist for review.
|
|
2023-07-15 20:02:14,998 4700 [DEBUG] - Configuration: CommandName='uninstall'|
|
|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
|
|
ContainsLegacyPackageInstalls='True'|
|
|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
|
|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
|
|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
|
|
Force='False'|Noop='False'|HelpRequested='False'|
|
|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
|
|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
|
|
AcceptLicense='True'|AllowUnofficialBuild='False'|
|
|
Input='zabbix-agent2'|
|
|
Version='5.4.9'|AllVersions='False'|SkipPackageInstallProvider='False'|
|
|
SkipHookScripts='False'|PackageNames='zabbix-agent2'|
|
|
Prerelease='False'|
|
|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
|
|
ApplyPackageParametersToDependencies='False'|
|
|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
|
|
AllowMultipleVersions='False'|AllowDowngrade='False'|
|
|
ForceDependencies='False'|PinPackage='False'|
|
|
Information.PlatformType='Windows'|
|
|
Information.PlatformVersion='10.0.17763.0'|
|
|
Information.PlatformName='Windows Server 2016'|
|
|
Information.ChocolateyVersion='1.3.0.0'|
|
|
Information.ChocolateyProductVersion='1.3.0'|
|
|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-UI3ECTLM959'|
|
|
Information.IsUserAdministrator='True'|
|
|
Information.IsUserSystemAccount='False'|
|
|
Information.IsUserRemoteDesktop='False'|
|
|
Information.IsUserRemote='True'|
|
|
Information.IsProcessElevated='True'|
|
|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
|
|
Information.CurrentDirectory='C:\Users\vagrant'|
|
|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
|
|
Features.AllowEmptyChecksums='False'|
|
|
Features.AllowEmptyChecksumsSecure='True'|
|
|
Features.FailOnAutoUninstaller='False'|
|
|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
|
|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
|
|
Features.VirusCheck='False'|
|
|
Features.FailOnInvalidOrMissingLicense='False'|
|
|
Features.IgnoreInvalidOptionsSwitches='True'|
|
|
Features.UsePackageExitCodes='True'|
|
|
Features.UseEnhancedExitCodes='False'|
|
|
Features.UseFipsCompliantChecksums='False'|
|
|
Features.ShowNonElevatedWarnings='True'|
|
|
Features.ShowDownloadProgress='False'|
|
|
Features.StopOnFirstPackageFailure='False'|
|
|
Features.UseRememberedArgumentsForUpgrades='False'|
|
|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
|
|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
|
|
Features.RemovePackageInformationOnUninstall='False'|
|
|
Features.ExitOnRebootDetected='False'|
|
|
Features.LogValidationResultsOnWarnings='True'|
|
|
Features.UsePackageRepositoryOptimizations='True'|
|
|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
|
|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
|
|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
|
|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
|
|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
|
|
ListCommand.DownloadCacheAvailable='False'|
|
|
ListCommand.NotBroken='False'|
|
|
ListCommand.IncludeVersionOverrides='False'|
|
|
UpgradeCommand.FailOnUnfound='False'|
|
|
UpgradeCommand.FailOnNotInstalled='False'|
|
|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
|
|
UpgradeCommand.ExcludePrerelease='False'|
|
|
NewCommand.AutomaticPackage='False'|
|
|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
|
|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
|
|
SourceCommand.AllowSelfService='False'|
|
|
SourceCommand.VisibleToAdminsOnly='False'|
|
|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
|
|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
|
|
OutdatedCommand.IgnorePinned='False'|
|
|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
|
|
TemplateCommand.Command='unknown'|
|
|
2023-07-15 20:02:15,029 4700 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
|
|
2023-07-15 20:02:15,045 4700 [INFO ] - Uninstalling the following packages:
|
|
2023-07-15 20:02:15,045 4700 [INFO ] - zabbix-agent2
|
|
2023-07-15 20:02:15,077 4700 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-07-15 20:02:15,092 4700 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-07-15 20:02:15,092 4700 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-07-15 20:02:15,108 4700 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-07-15 20:02:15,123 4700 [DEBUG] - * 'ChocolateyLastPathUpdate'='133339031112854838' ('User')
|
|
2023-07-15 20:02:15,123 4700 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-07-15 20:02:15,139 4700 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-07-15 20:02:15,139 4700 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-07-15 20:02:15,154 4700 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
|
|
2023-07-15 20:02:15,154 4700 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-07-15 20:02:15,170 4700 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-07-15 20:02:15,179 4700 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-07-15 20:02:15,179 4700 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-07-15 20:02:15,195 4700 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-07-15 20:02:15,195 4700 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-07-15 20:02:15,211 4700 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-07-15 20:02:15,211 4700 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
|
|
2023-07-15 20:02:15,227 4700 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-07-15 20:02:15,227 4700 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
|
|
2023-07-15 20:02:15,242 4700 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
|
|
2023-07-15 20:02:15,258 4700 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-07-15 20:02:15,399 4700 [DEBUG] - Running list with the following filter = ''
|
|
2023-07-15 20:02:15,415 4700 [DEBUG] - --- Start of List ---
|
|
2023-07-15 20:02:15,836 4700 [DEBUG] - zabbix-agent2 5.4.9
|
|
2023-07-15 20:02:15,852 4700 [DEBUG] - --- End of List ---
|
|
2023-07-15 20:02:16,165 4700 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
|
|
2023-07-15 20:02:16,165 4700 [DEBUG] - Backing up existing zabbix-agent2 prior to operation.
|
|
2023-07-15 20:02:16,181 4700 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\zabbix-agent2'
|
|
to 'C:\ProgramData\chocolatey\lib-bkp\zabbix-agent2'
|
|
2023-07-15 20:02:18,219 4700 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\zabbix-agent2".
|
|
2023-07-15 20:02:18,219 4700 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent2\zabbix-agent2.nupkg"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent2\zabbix-agent2.nupkg".
|
|
2023-07-15 20:02:18,253 4700 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent2\zabbix-agent2.nuspec"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent2\zabbix-agent2.nuspec".
|
|
2023-07-15 20:02:18,267 4700 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\zabbix-agent2\legal".
|
|
2023-07-15 20:02:18,281 4700 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent2\legal\LICENSE.txt"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent2\legal\LICENSE.txt".
|
|
2023-07-15 20:02:18,281 4700 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent2\legal\VERIFICATION.txt"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent2\legal\VERIFICATION.txt".
|
|
2023-07-15 20:02:18,297 4700 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\zabbix-agent2\tools".
|
|
2023-07-15 20:02:18,312 4700 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent2\tools\chocolateyinstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyinstall.ps1".
|
|
2023-07-15 20:02:18,312 4700 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent2\tools\chocolateyUninstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyUninstall.ps1".
|
|
2023-07-15 20:02:18,328 4700 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-amd64-openssl.msi"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-amd64-openssl.msi".
|
|
2023-07-15 20:02:18,345 4700 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-amd64-openssl.msi.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-amd64-openssl.msi.ignore".
|
|
2023-07-15 20:02:18,532 4700 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-i386-openssl.msi"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-i386-openssl.msi".
|
|
2023-07-15 20:02:20,086 4700 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\zabbix-agent2'
|
|
2023-07-15 20:02:20,180 4700 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\zabbix-agent2.nupkg'
|
|
with checksum '3F15F0408ABC91E8E3872DC4C3DB2DC4'
|
|
2023-07-15 20:02:20,180 4700 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\zabbix-agent2.nuspec'
|
|
with checksum '43CE15724089A4014AFA6A4308772DA4'
|
|
2023-07-15 20:02:20,195 4700 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\legal\LICENSE.txt'
|
|
with checksum '82B4494D3EFC80FBF5EA0B125B93B37D'
|
|
2023-07-15 20:02:20,195 4700 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\legal\VERIFICATION.txt'
|
|
with checksum '11E0C07C143B95C746BB011E473BA424'
|
|
2023-07-15 20:02:20,211 4700 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyinstall.ps1'
|
|
with checksum '478C8416A42B93A49DC576A95BA8A6A9'
|
|
2023-07-15 20:02:20,226 4700 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyUninstall.ps1'
|
|
with checksum '7D2C3BCFF0C2BEBC82CAC4741BDCB1FC'
|
|
2023-07-15 20:02:20,289 4700 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-amd64-openssl.msi'
|
|
with checksum 'E2A11A8BAADF55E7C33F4CEC6C6C3956'
|
|
2023-07-15 20:02:20,304 4700 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-amd64-openssl.msi.ignore'
|
|
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
|
|
2023-07-15 20:02:20,352 4700 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-i386-openssl.msi'
|
|
with checksum '0F2CED778E59323CBB6F1658C626754F'
|
|
2023-07-15 20:02:20,992 4700 [INFO ] - [NuGet] Uninstalling 'zabbix-agent2 5.4.9'.
|
|
2023-07-15 20:02:21,008 4700 [INFO ] -
|
|
zabbix-agent2 v5.4.9
|
|
2023-07-15 20:02:21,086 4700 [DEBUG] - Setting installer args for zabbix-agent2
|
|
2023-07-15 20:02:21,086 4700 [DEBUG] - Setting package parameters for zabbix-agent2
|
|
2023-07-15 20:02:21,101 4700 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyUninstall.ps1':
|
|
2023-07-15 20:02:21,117 4700 [DEBUG] - $ErrorActionPreference = 'Stop';
|
|
|
|
$PackageName = 'zabbix-agent2'
|
|
$SoftwareName = 'Zabbix Agent*'
|
|
$InstallerType = 'MSI'
|
|
$SilentArgs = '/qn /norestart'
|
|
$ValidExitCodes = @(0, 3010, 1605, 1614, 1641)
|
|
|
|
$Uninstalled = $false
|
|
[array]$Key = Get-UninstallRegistryKey -SoftwareName $SoftwareName
|
|
|
|
if ($Key.Count -eq 1) {
|
|
$Key | ForEach-Object {
|
|
$File = "$($_.UninstallString)"
|
|
|
|
if ($InstallerType -eq 'MSI') {
|
|
$SilentArgs = "$($_.PSChildName) $SilentArgs"
|
|
$File = ''
|
|
}
|
|
|
|
Uninstall-ChocolateyPackage -PackageName $PackageName `
|
|
-FileType $InstallerType `
|
|
-SilentArgs "$SilentArgs" `
|
|
-ValidExitCodes $ValidExitCodes `
|
|
-File "$File"
|
|
}
|
|
} elseif ($Key.Count -eq 0) {
|
|
Write-Warning "$PackageName has already been uninstalled by other means."
|
|
} elseif ($Key.Count -gt 1) {
|
|
Write-Warning "$Key.Count matches found!"
|
|
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
|
|
Write-Warning "Please alert package maintainer the following keys were matched:"
|
|
$Key | ForEach-Object {Write-Warning "- $_.DisplayName"}
|
|
}
|
|
2023-07-15 20:02:21,352 4700 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2023-07-15 20:02:21,366 4700 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-07-15 20:02:22,007 4700 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-07-15 20:02:22,498 4700 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-07-15 20:02:22,514 4700 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-07-15 20:02:22,514 4700 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-07-15 20:02:22,529 4700 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-07-15 20:02:22,529 4700 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-07-15 20:02:22,544 4700 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-07-15 20:02:22,544 4700 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-07-15 20:02:22,560 4700 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-07-15 20:02:22,560 4700 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-07-15 20:02:22,576 4700 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-07-15 20:02:22,576 4700 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-07-15 20:02:22,592 4700 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-07-15 20:02:22,592 4700 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-07-15 20:02:22,607 4700 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-07-15 20:02:22,607 4700 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-07-15 20:02:22,623 4700 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-07-15 20:02:22,638 4700 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-07-15 20:02:22,638 4700 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-07-15 20:02:22,638 4700 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-07-15 20:02:22,654 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-07-15 20:02:22,654 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-07-15 20:02:22,669 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-07-15 20:02:22,669 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-07-15 20:02:22,686 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-07-15 20:02:22,686 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-07-15 20:02:22,701 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-07-15 20:02:22,701 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-07-15 20:02:22,734 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-07-15 20:02:22,748 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-07-15 20:02:22,771 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-07-15 20:02:22,780 4700 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-07-15 20:02:22,780 4700 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-07-15 20:02:22,795 4700 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-07-15 20:02:22,795 4700 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-07-15 20:02:22,795 4700 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-07-15 20:02:22,811 4700 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-07-15 20:02:22,826 4700 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-07-15 20:02:22,826 4700 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-07-15 20:02:22,842 4700 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-07-15 20:02:22,842 4700 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-07-15 20:02:22,842 4700 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-07-15 20:02:22,857 4700 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-07-15 20:02:22,874 4700 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-07-15 20:02:22,874 4700 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-07-15 20:02:22,889 4700 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-07-15 20:02:22,889 4700 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-07-15 20:02:22,904 4700 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-07-15 20:02:22,904 4700 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-07-15 20:02:22,920 4700 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-07-15 20:02:22,920 4700 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-07-15 20:02:22,983 4700 [DEBUG] - Loading community extensions
|
|
2023-07-15 20:02:22,998 4700 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-07-15 20:02:23,015 4700 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-07-15 20:02:23,123 4700 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-07-15 20:02:23,123 4700 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-07-15 20:02:23,138 4700 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-07-15 20:02:23,138 4700 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-07-15 20:02:23,154 4700 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-07-15 20:02:23,171 4700 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-07-15 20:02:23,171 4700 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-07-15 20:02:23,188 4700 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-07-15 20:02:23,202 4700 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-07-15 20:02:23,202 4700 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-07-15 20:02:23,217 4700 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-07-15 20:02:23,217 4700 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-07-15 20:02:23,232 4700 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-07-15 20:02:23,295 4700 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-07-15 20:02:23,295 4700 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-07-15 20:02:23,311 4700 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-07-15 20:02:23,311 4700 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-07-15 20:02:23,326 4700 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-07-15 20:02:23,326 4700 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-07-15 20:02:23,341 4700 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-07-15 20:02:23,342 4700 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-07-15 20:02:23,358 4700 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-07-15 20:02:23,358 4700 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-07-15 20:02:23,373 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-07-15 20:02:23,373 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-07-15 20:02:23,388 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-07-15 20:02:23,388 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-07-15 20:02:23,388 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-07-15 20:02:23,404 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-07-15 20:02:23,404 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-07-15 20:02:23,420 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-07-15 20:02:23,420 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-07-15 20:02:23,435 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-07-15 20:02:23,435 4700 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-07-15 20:02:23,451 4700 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-07-15 20:02:23,451 4700 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-07-15 20:02:23,467 4700 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-07-15 20:02:23,467 4700 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-07-15 20:02:23,482 4700 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-07-15 20:02:23,482 4700 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-07-15 20:02:23,498 4700 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-07-15 20:02:23,513 4700 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-07-15 20:02:23,513 4700 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-07-15 20:02:23,529 4700 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-07-15 20:02:23,529 4700 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-07-15 20:02:23,544 4700 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-07-15 20:02:23,544 4700 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-07-15 20:02:23,560 4700 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-07-15 20:02:23,577 4700 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-07-15 20:02:23,577 4700 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-07-15 20:02:23,592 4700 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-07-15 20:02:23,592 4700 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-07-15 20:02:23,607 4700 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-07-15 20:02:23,623 4700 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-07-15 20:02:23,623 4700 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-07-15 20:02:23,638 4700 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-07-15 20:02:23,638 4700 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-07-15 20:02:23,655 4700 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-07-15 20:02:23,655 4700 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-07-15 20:02:23,670 4700 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-07-15 20:02:23,670 4700 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-07-15 20:02:23,686 4700 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-07-15 20:02:23,686 4700 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-07-15 20:02:23,701 4700 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-07-15 20:02:23,716 4700 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-07-15 20:02:23,716 4700 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-07-15 20:02:23,732 4700 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-07-15 20:02:23,732 4700 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-07-15 20:02:23,748 4700 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-07-15 20:02:23,748 4700 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-07-15 20:02:23,763 4700 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-07-15 20:02:23,763 4700 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-07-15 20:02:23,779 4700 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-07-15 20:02:23,779 4700 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-07-15 20:02:23,794 4700 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-07-15 20:02:23,794 4700 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-07-15 20:02:23,810 4700 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-07-15 20:02:23,810 4700 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-07-15 20:02:23,826 4700 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-07-15 20:02:23,842 4700 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-07-15 20:02:23,842 4700 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-07-15 20:02:23,857 4700 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-07-15 20:02:23,857 4700 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-07-15 20:02:23,873 4700 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-07-15 20:02:23,873 4700 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-07-15 20:02:23,888 4700 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-07-15 20:02:23,888 4700 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-07-15 20:02:23,904 4700 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-07-15 20:02:23,904 4700 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-07-15 20:02:23,920 4700 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-07-15 20:02:23,920 4700 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-07-15 20:02:23,935 4700 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-07-15 20:02:23,935 4700 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-07-15 20:02:23,951 4700 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-07-15 20:02:23,951 4700 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-07-15 20:02:23,966 4700 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-07-15 20:02:23,966 4700 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-07-15 20:02:23,982 4700 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-07-15 20:02:23,982 4700 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-07-15 20:02:23,998 4700 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-07-15 20:02:23,998 4700 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-07-15 20:02:24,013 4700 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-07-15 20:02:24,013 4700 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-07-15 20:02:24,029 4700 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-07-15 20:02:24,029 4700 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-07-15 20:02:24,045 4700 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-07-15 20:02:24,060 4700 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-07-15 20:02:24,060 4700 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-07-15 20:02:24,159 4700 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-07-15 20:02:24,170 4700 [DEBUG] - Running 'ChocolateyScriptRunner' for zabbix-agent2 v5.4.9 with packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\zabbix-agent2', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-07-15 20:02:24,249 4700 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyUninstall.ps1'
|
|
2023-07-15 20:02:24,374 4700 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'Zabbix Agent*'
|
|
2023-07-15 20:02:24,420 4700 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
|
|
2023-07-15 20:02:24,516 4700 [DEBUG] - Registry uninstall keys on system: 28
|
|
2023-07-15 20:02:24,530 4700 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
|
|
2023-07-15 20:02:24,623 4700 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'Zabbix Agent*'
|
|
2023-07-15 20:02:24,671 4700 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'zabbix-agent2' -fileType 'MSI' -silentArgs '{53970AFA-2805-4FD7-94BD-A46438734BCC} /qn /norestart' -validExitCodes '0 3010 1605 1614 1641' -file ''
|
|
2023-07-15 20:02:24,717 4700 [INFO ] - Uninstalling zabbix-agent2...
|
|
2023-07-15 20:02:24,861 4700 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {53970AFA-2805-4FD7-94BD-A46438734BCC} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
|
|
2023-07-15 20:02:24,936 4700 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-07-15 20:02:24,983 4700 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {53970AFA-2805-4FD7-94BD-A46438734BCC} /qn /norestart ]. This may take a while, depending on the statements.
|
|
2023-07-15 20:02:29,997 4700 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {53970AFA-2805-4FD7-94BD-A46438734BCC} /qn /norestart ] exited with '0'.
|
|
2023-07-15 20:02:30,044 4700 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2023-07-15 20:02:30,044 4700 [INFO ] - 0
|
|
2023-07-15 20:02:30,060 4700 [INFO ] - zabbix-agent2 has been uninstalled.
|
|
2023-07-15 20:02:30,075 4700 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-07-15 20:02:30,107 4700 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2023-07-15 20:02:30,153 4700 [INFO ] - Running auto uninstaller...
|
|
2023-07-15 20:02:30,153 4700 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
|
|
2023-07-15 20:02:32,184 4700 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{53970AFA-2805-4FD7-94BD-A46438734BCC}' for 'Zabbix Agent 2 (64-bit)'
|
|
2023-07-15 20:02:32,184 4700 [INFO ] - Skipping auto uninstaller - 'Zabbix Agent 2 (64-bit)' appears to have been uninstalled already by other means.
|
|
2023-07-15 20:02:32,184 4700 [DEBUG] - Searched for install path 'C:\Program Files\Zabbix Agent 2\' - found? False
|
|
2023-07-15 20:02:32,216 4700 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{53970AFA-2805-4FD7-94BD-A46438734BCC}' value 'InstallLocation' - found? False
|
|
2023-07-15 20:02:32,231 4700 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-07-15 20:02:32,341 4700 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-07-15 20:02:32,372 4700 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent2".
|
|
2023-07-15 20:02:32,421 4700 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools'.
|
|
2023-07-15 20:02:32,437 4700 [DEBUG] - [NuGet] Removed file 'chocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools'.
|
|
2023-07-15 20:02:32,497 4700 [DEBUG] - [NuGet] Removed file 'zabbix_agent2-5.4.9-windows-amd64-openssl.msi' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools'.
|
|
2023-07-15 20:02:32,528 4700 [DEBUG] - [NuGet] Removed file 'zabbix_agent2-5.4.9-windows-i386-openssl.msi' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools'.
|
|
2023-07-15 20:02:32,544 4700 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent2\legal'.
|
|
2023-07-15 20:02:32,544 4700 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent2\legal'.
|
|
2023-07-15 20:02:32,560 4700 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\zabbix-agent2\legal'.
|
|
2023-07-15 20:02:32,576 4700 [DEBUG] - [NuGet] Removed file 'zabbix-agent2.nuspec' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent2'.
|
|
2023-07-15 20:02:32,591 4700 [DEBUG] - [NuGet] Removed file 'zabbix-agent2.nupkg' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent2'.
|
|
2023-07-15 20:02:32,591 4700 [DEBUG] - [NuGet] The directory is not empty.
|
|
|
|
2023-07-15 20:02:32,606 4700 [INFO ] - [NuGet] Successfully uninstalled 'zabbix-agent2 5.4.9'.
|
|
2023-07-15 20:02:32,622 4700 [INFO ] - zabbix-agent2 has been successfully uninstalled.
|
|
2023-07-15 20:02:32,653 4700 [DEBUG] - Removing nupkg if it still exists.
|
|
2023-07-15 20:02:32,653 4700 [DEBUG] - Ensuring removal of installation files.
|
|
2023-07-15 20:02:32,669 4700 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-amd64-openssl.msi.ignore'
|
|
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
|
|
2023-07-15 20:02:32,669 4700 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-amd64-openssl.msi.ignore".
|
|
2023-07-15 20:02:32,685 4700 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\zabbix-agent2".
|
|
2023-07-15 20:02:32,700 4700 [DEBUG] - Ensuring removal of package cache files.
|
|
2023-07-15 20:02:32,763 4700 [WARN ] -
|
|
Chocolatey uninstalled 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-07-15 20:02:32,763 4700 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-07-15 20:02:32,809 4700 [DEBUG] - Exiting with 0
|