|
2023-07-15 19:55:30,412 4708 [DEBUG] - XmlConfiguration is now operational
|
|
2023-07-15 19:55:30,568 4708 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-07-15 19:55:30,568 4708 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-07-15 19:55:30,568 4708 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-07-15 19:55:30,568 4708 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-07-15 19:55:30,584 4708 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-07-15 19:55:30,584 4708 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-07-15 19:55:30,835 4708 [DEBUG] - Registering new command 'templates' in assembly 'choco'
|
|
2023-07-15 19:55:30,835 4708 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-07-15 19:55:30,835 4708 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-07-15 19:55:30,850 4708 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-07-15 19:55:30,850 4708 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-07-15 19:55:30,850 4708 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-07-15 19:55:30,866 4708 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-07-15 19:55:30,866 4708 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-07-15 19:55:30,866 4708 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-07-15 19:55:30,881 4708 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-07-15 19:55:30,881 4708 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-07-15 19:55:30,881 4708 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-07-15 19:55:30,881 4708 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-07-15 19:55:30,897 4708 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-07-15 19:55:30,913 4708 [DEBUG] - Registering new command 'sources' in assembly 'choco'
|
|
2023-07-15 19:55:30,913 4708 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-07-15 19:55:30,928 4708 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-07-15 19:55:30,928 4708 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-07-15 19:55:31,209 4708 [INFO ] - ============================================================
|
|
2023-07-15 19:55:31,569 4708 [INFO ] - Chocolatey v1.3.0
|
|
2023-07-15 19:55:31,600 4708 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-07-15 19:55:31,600 4708 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-07-15 19:55:31,616 4708 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-07-15 19:55:31,632 4708 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall zabbix-agent.install --version 6.4.4 -dvy --execution-timeout=2700
|
|
2023-07-15 19:55:31,632 4708 [DEBUG] - Received arguments: uninstall zabbix-agent.install --version 6.4.4 -dvy --execution-timeout=2700
|
|
2023-07-15 19:55:31,787 4708 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-07-15 19:55:31,834 4708 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-07-15 19:55:31,850 4708 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-07-15 19:55:32,023 4708 [DEBUG] - Performing validation checks.
|
|
2023-07-15 19:55:32,037 4708 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-07-15 19:55:32,037 4708 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-07-15 19:55:32,053 4708 [DEBUG] - System State Validation Checks:
|
|
2023-07-15 19:55:32,069 4708 [DEBUG] - Reboot Requirement Checks:
|
|
2023-07-15 19:55:32,084 4708 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-07-15 19:55:32,100 4708 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-07-15 19:55:32,136 4708 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-07-15 19:55:32,147 4708 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-07-15 19:55:32,147 4708 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-07-15 19:55:32,162 4708 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-07-15 19:55:32,179 4708 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
|
|
2023-07-15 19:55:32,241 4708 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-07-15 19:55:32,241 4708 [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 19:55:32,288 4708 [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-agent.install'|Version='6.4.4'|AllVersions='False'|
|
|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
|
|
PackageNames='zabbix-agent.install'|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 19:55:32,319 4708 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
|
|
2023-07-15 19:55:32,335 4708 [INFO ] - Uninstalling the following packages:
|
|
2023-07-15 19:55:32,351 4708 [INFO ] - zabbix-agent.install
|
|
2023-07-15 19:55:32,383 4708 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-07-15 19:55:32,398 4708 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-07-15 19:55:32,398 4708 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-07-15 19:55:32,413 4708 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-07-15 19:55:32,413 4708 [DEBUG] - * 'ChocolateyLastPathUpdate'='133339031112854838' ('User')
|
|
2023-07-15 19:55:32,428 4708 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-07-15 19:55:32,428 4708 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-07-15 19:55:32,475 4708 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-07-15 19:55:32,493 4708 [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 19:55:32,493 4708 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-07-15 19:55:32,506 4708 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-07-15 19:55:32,506 4708 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-07-15 19:55:32,522 4708 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-07-15 19:55:32,522 4708 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-07-15 19:55:32,537 4708 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-07-15 19:55:32,537 4708 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-07-15 19:55:32,553 4708 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
|
|
2023-07-15 19:55:32,553 4708 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-07-15 19:55:32,569 4708 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
|
|
2023-07-15 19:55:32,569 4708 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
|
|
2023-07-15 19:55:32,569 4708 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-07-15 19:55:32,741 4708 [DEBUG] - Running list with the following filter = ''
|
|
2023-07-15 19:55:32,741 4708 [DEBUG] - --- Start of List ---
|
|
2023-07-15 19:55:33,147 4708 [DEBUG] - zabbix-agent.install 6.4.4
|
|
2023-07-15 19:55:33,162 4708 [DEBUG] - --- End of List ---
|
|
2023-07-15 19:55:33,444 4708 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
|
|
2023-07-15 19:55:33,459 4708 [DEBUG] - Backing up existing zabbix-agent.install prior to operation.
|
|
2023-07-15 19:55:33,475 4708 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\zabbix-agent.install'
|
|
to 'C:\ProgramData\chocolatey\lib-bkp\zabbix-agent.install'
|
|
2023-07-15 19:55:35,491 4708 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\zabbix-agent.install".
|
|
2023-07-15 19:55:35,491 4708 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent.install\zabbix-agent.install.nupkg"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent.install\zabbix-agent.install.nupkg".
|
|
2023-07-15 19:55:35,522 4708 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent.install\zabbix-agent.install.nuspec"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent.install\zabbix-agent.install.nuspec".
|
|
2023-07-15 19:55:35,537 4708 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\zabbix-agent.install\legal".
|
|
2023-07-15 19:55:35,553 4708 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent.install\legal\LICENSE.txt"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent.install\legal\LICENSE.txt".
|
|
2023-07-15 19:55:35,570 4708 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent.install\legal\VERIFICATION.txt"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent.install\legal\VERIFICATION.txt".
|
|
2023-07-15 19:55:35,570 4708 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools".
|
|
2023-07-15 19:55:35,584 4708 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent.install\tools\chocolateyInstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\chocolateyInstall.ps1".
|
|
2023-07-15 19:55:35,600 4708 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent.install\tools\chocolateyUninstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\chocolateyUninstall.ps1".
|
|
2023-07-15 19:55:35,600 4708 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent.install\tools\zabbix_agent-6.4.4-windows-amd64-openssl.msi"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\zabbix_agent-6.4.4-windows-amd64-openssl.msi".
|
|
2023-07-15 19:55:35,616 4708 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent.install\tools\zabbix_agent-6.4.4-windows-amd64-openssl.msi.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\zabbix_agent-6.4.4-windows-amd64-openssl.msi.ignore".
|
|
2023-07-15 19:55:35,632 4708 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent.install\tools\zabbix_agent-6.4.4-windows-i386-openssl.msi"
|
|
to "C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\zabbix_agent-6.4.4-windows-i386-openssl.msi".
|
|
2023-07-15 19:55:37,162 4708 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\zabbix-agent.install'
|
|
2023-07-15 19:55:37,225 4708 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\zabbix-agent.install.nupkg'
|
|
with checksum '81257E2A87FEA711357AFF8191F81E3C'
|
|
2023-07-15 19:55:37,240 4708 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\zabbix-agent.install.nuspec'
|
|
with checksum '68D7E00B6BC698D0AA75D030B1BD7252'
|
|
2023-07-15 19:55:37,240 4708 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\legal\LICENSE.txt'
|
|
with checksum '82B4494D3EFC80FBF5EA0B125B93B37D'
|
|
2023-07-15 19:55:37,256 4708 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\legal\VERIFICATION.txt'
|
|
with checksum '9DCB66B81880C91AE92253CAA71B6390'
|
|
2023-07-15 19:55:37,256 4708 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\chocolateyInstall.ps1'
|
|
with checksum 'EAC661C765B083A93B7316363EE166A9'
|
|
2023-07-15 19:55:37,271 4708 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\chocolateyUninstall.ps1'
|
|
with checksum '20EB3CEE9A0B6CD76F65CA20298A8275'
|
|
2023-07-15 19:55:37,318 4708 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\zabbix_agent-6.4.4-windows-amd64-openssl.msi'
|
|
with checksum '38B451ADDFFBB2835F3A93112A85CC86'
|
|
2023-07-15 19:55:37,334 4708 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\zabbix_agent-6.4.4-windows-amd64-openssl.msi.ignore'
|
|
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
|
|
2023-07-15 19:55:37,382 4708 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\zabbix_agent-6.4.4-windows-i386-openssl.msi'
|
|
with checksum 'F489672159E962E82DCC6F16F97A4C8C'
|
|
2023-07-15 19:55:37,928 4708 [INFO ] - [NuGet] Uninstalling 'zabbix-agent.install 6.4.4'.
|
|
2023-07-15 19:55:37,944 4708 [INFO ] -
|
|
zabbix-agent.install v6.4.4
|
|
2023-07-15 19:55:38,022 4708 [DEBUG] - Setting installer args for zabbix-agent.install
|
|
2023-07-15 19:55:38,022 4708 [DEBUG] - Setting package parameters for zabbix-agent.install
|
|
2023-07-15 19:55:38,037 4708 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\chocolateyUninstall.ps1':
|
|
2023-07-15 19:55:38,053 4708 [DEBUG] - $ErrorActionPreference = 'Stop';
|
|
|
|
$PackageName = 'zabbix-agent.install'
|
|
$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 19:55:38,116 4708 [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-agent.install\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2023-07-15 19:55:38,131 4708 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-07-15 19:55:38,756 4708 [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 19:55:39,335 4708 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-07-15 19:55:39,350 4708 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-07-15 19:55:39,350 4708 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-07-15 19:55:39,365 4708 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-07-15 19:55:39,365 4708 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-07-15 19:55:39,381 4708 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-07-15 19:55:39,397 4708 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-07-15 19:55:39,397 4708 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-07-15 19:55:39,397 4708 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-07-15 19:55:39,412 4708 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-07-15 19:55:39,428 4708 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-07-15 19:55:39,428 4708 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-07-15 19:55:39,443 4708 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-07-15 19:55:39,443 4708 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-07-15 19:55:39,443 4708 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-07-15 19:55:39,459 4708 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-07-15 19:55:39,476 4708 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-07-15 19:55:39,476 4708 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-07-15 19:55:39,490 4708 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-07-15 19:55:39,490 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-07-15 19:55:39,506 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-07-15 19:55:39,569 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-07-15 19:55:39,584 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-07-15 19:55:39,584 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-07-15 19:55:39,600 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-07-15 19:55:39,600 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-07-15 19:55:39,615 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-07-15 19:55:39,615 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-07-15 19:55:39,615 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-07-15 19:55:39,631 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-07-15 19:55:39,647 4708 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-07-15 19:55:39,647 4708 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-07-15 19:55:39,662 4708 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-07-15 19:55:39,663 4708 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-07-15 19:55:39,678 4708 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-07-15 19:55:39,694 4708 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-07-15 19:55:39,694 4708 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-07-15 19:55:39,709 4708 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-07-15 19:55:39,709 4708 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-07-15 19:55:39,725 4708 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-07-15 19:55:39,725 4708 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-07-15 19:55:39,740 4708 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-07-15 19:55:39,757 4708 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-07-15 19:55:39,757 4708 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-07-15 19:55:39,772 4708 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-07-15 19:55:39,787 4708 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-07-15 19:55:39,787 4708 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-07-15 19:55:39,803 4708 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-07-15 19:55:39,803 4708 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-07-15 19:55:39,819 4708 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-07-15 19:55:39,851 4708 [DEBUG] - Loading community extensions
|
|
2023-07-15 19:55:39,882 4708 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-07-15 19:55:39,897 4708 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-07-15 19:55:40,007 4708 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-07-15 19:55:40,007 4708 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-07-15 19:55:40,021 4708 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-07-15 19:55:40,038 4708 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-07-15 19:55:40,038 4708 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-07-15 19:55:40,053 4708 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-07-15 19:55:40,053 4708 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-07-15 19:55:40,069 4708 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-07-15 19:55:40,069 4708 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-07-15 19:55:40,084 4708 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-07-15 19:55:40,100 4708 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-07-15 19:55:40,100 4708 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-07-15 19:55:40,100 4708 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-07-15 19:55:40,116 4708 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-07-15 19:55:40,131 4708 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-07-15 19:55:40,131 4708 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-07-15 19:55:40,147 4708 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-07-15 19:55:40,163 4708 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-07-15 19:55:40,182 4708 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-07-15 19:55:40,194 4708 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-07-15 19:55:40,194 4708 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-07-15 19:55:40,225 4708 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-07-15 19:55:40,225 4708 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-07-15 19:55:40,241 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-07-15 19:55:40,241 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-07-15 19:55:40,256 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-07-15 19:55:40,256 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-07-15 19:55:40,272 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-07-15 19:55:40,287 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-07-15 19:55:40,287 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-07-15 19:55:40,303 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-07-15 19:55:40,303 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-07-15 19:55:40,319 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-07-15 19:55:40,319 4708 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-07-15 19:55:40,334 4708 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-07-15 19:55:40,334 4708 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-07-15 19:55:40,350 4708 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-07-15 19:55:40,350 4708 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-07-15 19:55:40,366 4708 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-07-15 19:55:40,366 4708 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-07-15 19:55:40,381 4708 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-07-15 19:55:40,381 4708 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-07-15 19:55:40,397 4708 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-07-15 19:55:40,397 4708 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-07-15 19:55:40,412 4708 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-07-15 19:55:40,412 4708 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-07-15 19:55:40,428 4708 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-07-15 19:55:40,443 4708 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-07-15 19:55:40,443 4708 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-07-15 19:55:40,459 4708 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-07-15 19:55:40,459 4708 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-07-15 19:55:40,474 4708 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-07-15 19:55:40,474 4708 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-07-15 19:55:40,490 4708 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-07-15 19:55:40,490 4708 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-07-15 19:55:40,506 4708 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-07-15 19:55:40,506 4708 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-07-15 19:55:40,521 4708 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-07-15 19:55:40,537 4708 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-07-15 19:55:40,537 4708 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-07-15 19:55:40,553 4708 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-07-15 19:55:40,553 4708 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-07-15 19:55:40,568 4708 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-07-15 19:55:40,568 4708 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-07-15 19:55:40,584 4708 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-07-15 19:55:40,584 4708 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-07-15 19:55:40,600 4708 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-07-15 19:55:40,600 4708 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-07-15 19:55:40,600 4708 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-07-15 19:55:40,615 4708 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-07-15 19:55:40,632 4708 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-07-15 19:55:40,632 4708 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-07-15 19:55:40,632 4708 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-07-15 19:55:40,647 4708 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-07-15 19:55:40,663 4708 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-07-15 19:55:40,663 4708 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-07-15 19:55:40,663 4708 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-07-15 19:55:40,678 4708 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-07-15 19:55:40,678 4708 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-07-15 19:55:40,694 4708 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-07-15 19:55:40,709 4708 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-07-15 19:55:40,709 4708 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-07-15 19:55:40,725 4708 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-07-15 19:55:40,725 4708 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-07-15 19:55:40,741 4708 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-07-15 19:55:40,741 4708 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-07-15 19:55:40,756 4708 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-07-15 19:55:40,771 4708 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-07-15 19:55:40,771 4708 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-07-15 19:55:40,787 4708 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-07-15 19:55:40,787 4708 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-07-15 19:55:40,803 4708 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-07-15 19:55:40,803 4708 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-07-15 19:55:40,818 4708 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-07-15 19:55:40,818 4708 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-07-15 19:55:40,834 4708 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-07-15 19:55:40,834 4708 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-07-15 19:55:40,850 4708 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-07-15 19:55:40,865 4708 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-07-15 19:55:40,866 4708 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-07-15 19:55:40,866 4708 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-07-15 19:55:40,881 4708 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-07-15 19:55:40,881 4708 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-07-15 19:55:40,897 4708 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-07-15 19:55:40,912 4708 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-07-15 19:55:40,912 4708 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-07-15 19:55:40,928 4708 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-07-15 19:55:40,943 4708 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-07-15 19:55:41,023 4708 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-07-15 19:55:41,053 4708 [DEBUG] - Running 'ChocolateyScriptRunner' for zabbix-agent.install v6.4.4 with packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\zabbix-agent.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-07-15 19:55:41,116 4708 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\chocolateyUninstall.ps1'
|
|
2023-07-15 19:55:41,241 4708 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'Zabbix Agent*'
|
|
2023-07-15 19:55:41,288 4708 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
|
|
2023-07-15 19:55:41,383 4708 [DEBUG] - Registry uninstall keys on system: 28
|
|
2023-07-15 19:55:41,397 4708 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
|
|
2023-07-15 19:55:41,506 4708 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'Zabbix Agent*'
|
|
2023-07-15 19:55:41,555 4708 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'zabbix-agent.install' -fileType 'MSI' -silentArgs '{06CC8105-8FF4-4220-8F97-0DDBC8DEA36D} /qn /norestart' -validExitCodes '0 3010 1605 1614 1641' -file ''
|
|
2023-07-15 19:55:41,600 4708 [INFO ] - Uninstalling zabbix-agent.install...
|
|
2023-07-15 19:55:41,759 4708 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {06CC8105-8FF4-4220-8F97-0DDBC8DEA36D} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
|
|
2023-07-15 19:55:41,850 4708 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-07-15 19:55:41,896 4708 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {06CC8105-8FF4-4220-8F97-0DDBC8DEA36D} /qn /norestart ]. This may take a while, depending on the statements.
|
|
2023-07-15 19:55:46,631 4708 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {06CC8105-8FF4-4220-8F97-0DDBC8DEA36D} /qn /norestart ] exited with '0'.
|
|
2023-07-15 19:55:46,693 4708 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2023-07-15 19:55:46,693 4708 [INFO ] - 0
|
|
2023-07-15 19:55:46,709 4708 [INFO ] - zabbix-agent.install has been uninstalled.
|
|
2023-07-15 19:55:46,740 4708 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-07-15 19:55:46,756 4708 [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-agent.install\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2023-07-15 19:55:46,803 4708 [INFO ] - Running auto uninstaller...
|
|
2023-07-15 19:55:46,818 4708 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
|
|
2023-07-15 19:55:48,834 4708 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{06CC8105-8FF4-4220-8F97-0DDBC8DEA36D}' for 'Zabbix Agent (64-bit)'
|
|
2023-07-15 19:55:48,850 4708 [INFO ] - Skipping auto uninstaller - 'Zabbix Agent (64-bit)' appears to have been uninstalled already by other means.
|
|
2023-07-15 19:55:48,850 4708 [DEBUG] - Searched for install path 'C:\Program Files\Zabbix Agent\' - found? False
|
|
2023-07-15 19:55:48,882 4708 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{06CC8105-8FF4-4220-8F97-0DDBC8DEA36D}' value 'InstallLocation' - found? False
|
|
2023-07-15 19:55:48,897 4708 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-07-15 19:55:49,021 4708 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-07-15 19:55:49,037 4708 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent.install".
|
|
2023-07-15 19:55:49,115 4708 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools'.
|
|
2023-07-15 19:55:49,115 4708 [DEBUG] - [NuGet] Removed file 'chocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools'.
|
|
2023-07-15 19:55:49,146 4708 [DEBUG] - [NuGet] Removed file 'zabbix_agent-6.4.4-windows-amd64-openssl.msi' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools'.
|
|
2023-07-15 19:55:49,179 4708 [DEBUG] - [NuGet] Removed file 'zabbix_agent-6.4.4-windows-i386-openssl.msi' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools'.
|
|
2023-07-15 19:55:49,195 4708 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\legal'.
|
|
2023-07-15 19:55:49,195 4708 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\legal'.
|
|
2023-07-15 19:55:49,209 4708 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\legal'.
|
|
2023-07-15 19:55:49,209 4708 [DEBUG] - [NuGet] Removed file 'zabbix-agent.install.nuspec' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent.install'.
|
|
2023-07-15 19:55:49,226 4708 [DEBUG] - [NuGet] Removed file 'zabbix-agent.install.nupkg' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent.install'.
|
|
2023-07-15 19:55:49,241 4708 [DEBUG] - [NuGet] The directory is not empty.
|
|
|
|
2023-07-15 19:55:49,241 4708 [INFO ] - [NuGet] Successfully uninstalled 'zabbix-agent.install 6.4.4'.
|
|
2023-07-15 19:55:49,256 4708 [INFO ] - zabbix-agent.install has been successfully uninstalled.
|
|
2023-07-15 19:55:49,272 4708 [DEBUG] - Removing nupkg if it still exists.
|
|
2023-07-15 19:55:49,288 4708 [DEBUG] - Ensuring removal of installation files.
|
|
2023-07-15 19:55:49,288 4708 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\zabbix_agent-6.4.4-windows-amd64-openssl.msi.ignore'
|
|
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
|
|
2023-07-15 19:55:49,303 4708 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\zabbix_agent-6.4.4-windows-amd64-openssl.msi.ignore".
|
|
2023-07-15 19:55:49,303 4708 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\zabbix-agent.install".
|
|
2023-07-15 19:55:49,319 4708 [DEBUG] - Ensuring removal of package cache files.
|
|
2023-07-15 19:55:49,365 4708 [WARN ] -
|
|
Chocolatey uninstalled 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-07-15 19:55:49,381 4708 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-07-15 19:55:49,429 4708 [DEBUG] - Exiting with 0
|