Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created July 15, 2023 20:02
Show Gist options
  • Save choco-bot/b445df44d7233be131f097369de05746 to your computer and use it in GitHub Desktop.
Save choco-bot/b445df44d7233be131f097369de05746 to your computer and use it in GitHub Desktop.
zabbix-agent2 v5.4.9 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1107077818-904708471-2210428984-1000</user>
<keys>
<key installerType="Msi" displayName="Zabbix Agent 2 (64-bit)" displayVersion="5.4.9.2400">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{53970AFA-2805-4FD7-94BD-A46438734BCC}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\Zabbix Agent 2\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{53970AFA-2805-4FD7-94BD-A46438734BCC}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Zabbix SIA]]></Publisher>
<InstallDate>20230715</InstallDate>
<InstallSource><![CDATA[C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\]]></InstallSource>
<Language>1033</Language>
<Version>84148233</Version>
<VersionMajor>5</VersionMajor>
<VersionMinor>4</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>false</NoModify>
<NoRepair>true</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\3f495.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

zabbix-agent2 v5.4.9 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/zabbix-agent2/5.4.9
  • Tested 15 Jul 2023 20:02:33 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.0.1
  • Install was successful.
  • Uninstall was successful.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent2\zabbix-agent2.nupkg" checksum="3F15F0408ABC91E8E3872DC4C3DB2DC4" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent2\zabbix-agent2.nuspec" checksum="43CE15724089A4014AFA6A4308772DA4" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent2\legal\LICENSE.txt" checksum="82B4494D3EFC80FBF5EA0B125B93B37D" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent2\legal\VERIFICATION.txt" checksum="11E0C07C143B95C746BB011E473BA424" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyinstall.ps1" checksum="478C8416A42B93A49DC576A95BA8A6A9" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyUninstall.ps1" checksum="7D2C3BCFF0C2BEBC82CAC4741BDCB1FC" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-amd64-openssl.msi" checksum="E2A11A8BAADF55E7C33F4CEC6C6C3956" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-amd64-openssl.msi.ignore" checksum="BEA07E6D2B8DCE396FE21BAA61B34956" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-i386-openssl.msi" checksum="0F2CED778E59323CBB6F1658C626754F" />
</files>
</fileSnapshot>
2023-07-15 20:01:41,035 4324 [DEBUG] - XmlConfiguration is now operational
2023-07-15 20:01:41,176 4324 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-15 20:01:41,176 4324 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-15 20:01:41,176 4324 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-15 20:01:41,192 4324 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-15 20:01:41,192 4324 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-15 20:01:41,192 4324 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-15 20:01:41,473 4324 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-15 20:01:41,473 4324 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-15 20:01:41,473 4324 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-15 20:01:41,473 4324 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-15 20:01:41,488 4324 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-15 20:01:41,488 4324 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-15 20:01:41,488 4324 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-15 20:01:41,504 4324 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-15 20:01:41,504 4324 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-15 20:01:41,504 4324 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-15 20:01:41,504 4324 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-15 20:01:41,520 4324 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-15 20:01:41,520 4324 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-15 20:01:41,520 4324 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-15 20:01:41,535 4324 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-15 20:01:41,535 4324 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-15 20:01:41,535 4324 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-15 20:01:41,551 4324 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-15 20:01:41,833 4324 [INFO ] - ============================================================
2023-07-15 20:01:42,192 4324 [INFO ] - Chocolatey v1.3.0
2023-07-15 20:01:42,223 4324 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-15 20:01:42,239 4324 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-15 20:01:42,239 4324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-15 20:01:42,270 4324 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install zabbix-agent2 --version 5.4.9 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-15 20:01:42,270 4324 [DEBUG] - Received arguments: install zabbix-agent2 --version 5.4.9 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-15 20:01:42,426 4324 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-15 20:01:42,457 4324 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-15 20:01:42,473 4324 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-15 20:01:42,614 4324 [DEBUG] - Performing validation checks.
2023-07-15 20:01:42,630 4324 [DEBUG] - Global Configuration Validation Checks:
2023-07-15 20:01:42,630 4324 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-15 20:01:42,645 4324 [DEBUG] - System State Validation Checks:
2023-07-15 20:01:42,661 4324 [DEBUG] - Reboot Requirement Checks:
2023-07-15 20:01:42,676 4324 [DEBUG] - - Pending Computer Rename = Checked
2023-07-15 20:01:42,676 4324 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-15 20:01:42,692 4324 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-15 20:01:42,692 4324 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-15 20:01:42,707 4324 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-15 20:01:42,723 4324 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-15 20:01:42,739 4324 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-15 20:01:42,801 4324 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-15 20:01:42,817 4324 [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:01:42,848 4324 [DEBUG] - Configuration: CommandName='install'|
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='True'|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='True'|
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:01:42,879 4324 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-07-15 20:01:42,895 4324 [INFO ] - Installing the following packages:
2023-07-15 20:01:42,910 4324 [INFO ] - zabbix-agent2
2023-07-15 20:01:42,926 4324 [INFO ] - By installing, you accept licenses for the packages.
2023-07-15 20:01:42,942 4324 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-15 20:01:42,958 4324 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-15 20:01:42,958 4324 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-15 20:01:42,973 4324 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-15 20:01:42,973 4324 [DEBUG] - * 'ChocolateyLastPathUpdate'='133339031112854838' ('User')
2023-07-15 20:01:42,989 4324 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-15 20:01:42,989 4324 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-15 20:01:43,004 4324 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-15 20:01:43,004 4324 [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:01:43,004 4324 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-15 20:01:43,021 4324 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-15 20:01:43,021 4324 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-15 20:01:43,035 4324 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-15 20:01:43,035 4324 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-15 20:01:43,051 4324 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-15 20:01:43,051 4324 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-15 20:01:43,051 4324 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-15 20:01:43,066 4324 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-15 20:01:43,066 4324 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-15 20:01:43,083 4324 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-15 20:01:43,083 4324 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-15 20:01:46,614 4324 [INFO ] - [NuGet] Installing 'zabbix-agent2 5.4.9'.
2023-07-15 20:01:46,645 4324 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'zabbix-agent2\tools'.
2023-07-15 20:01:46,645 4324 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'zabbix-agent2\tools'.
2023-07-15 20:01:46,676 4324 [DEBUG] - [NuGet] Added file 'zabbix_agent2-5.4.9-windows-amd64-openssl.msi' to folder 'zabbix-agent2\tools'.
2023-07-15 20:01:46,707 4324 [DEBUG] - [NuGet] Added file 'zabbix_agent2-5.4.9-windows-i386-openssl.msi' to folder 'zabbix-agent2\tools'.
2023-07-15 20:01:46,723 4324 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'zabbix-agent2\legal'.
2023-07-15 20:01:46,739 4324 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'zabbix-agent2\legal'.
2023-07-15 20:01:46,801 4324 [DEBUG] - [NuGet] Added file 'zabbix-agent2.nupkg' to folder 'zabbix-agent2'.
2023-07-15 20:01:47,130 4324 [DEBUG] - [NuGet] Added file 'zabbix-agent2.nuspec' to folder 'zabbix-agent2'.
2023-07-15 20:01:47,145 4324 [INFO ] - [NuGet] Successfully installed 'zabbix-agent2 5.4.9'.
2023-07-15 20:01:47,145 4324 [INFO ] -
zabbix-agent2 v5.4.9 (forced)
2023-07-15 20:01:47,176 4324 [INFO ] - zabbix-agent2 package files install completed. Performing other installation steps.
2023-07-15 20:01:47,254 4324 [DEBUG] - Setting installer args for zabbix-agent2
2023-07-15 20:01:47,270 4324 [DEBUG] - Setting package parameters for zabbix-agent2
2023-07-15 20:01:47,270 4324 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyinstall.ps1':
2023-07-15 20:01:47,302 4324 [DEBUG] - $ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$SilentArgs = "/qn /norestart"
$pp = Get-PackageParameters
if ($pp.LOGTYPE) { $SilentArgs += " LOGTYPE=`"$($pp.LOGTYPE)`"" }
if ($pp.LOGFILE) { $SilentArgs += " LOGFILE=`"$($pp.LOGFILE)`"" }
if ($pp.SERVER) { $SilentArgs += " SERVER=`"$($pp.SERVER)`"" } else { $SilentArgs += " SERVER=`"127.0.0.1`"" }
if ($pp.LISTENPORT) { $SilentArgs += " LISTENPORT=`"$($pp.LISTENPORT)`"" }
if ($pp.SERVERACTIVE) { $SilentArgs += " SERVERACTIVE=`"$($pp.SERVERACTIVE)`"" }
if ($pp.HOSTNAME) { $SilentArgs += " HOSTNAME=`"$($pp.HOSTNAME)`"" }
if ($pp.TIMEOUT) { $SilentArgs += " TIMEOUT=`"$($pp.TIMEOUT)`"" }
if ($pp.TLSCONNECT) { $SilentArgs += " TLSCONNECT=`"$($pp.TLSCONNECT)`"" }
if ($pp.TLSACCEPT) { $SilentArgs += " TLSACCEPT=`"$($pp.TLSACCEPT)`"" }
if ($pp.TLSPSKIDENTITY) { $SilentArgs += " TLSPSKIDENTITY=`"$($pp.TLSPSKIDENTITY)`"" }
if ($pp.TLSPSKFILE) { $SilentArgs += " TLSPSKFILE=`"$($pp.TLSPSKFILE)`"" }
if ($pp.TLSPSKVALUE) { $SilentArgs += " TLSPSKVALUE=`"$($pp.TLSPSKVALUE)`"" }
if ($pp.TLSCAFILE) { $SilentArgs += " TLSCAFILE=`"$($pp.TLSCAFILE)`"" }
if ($pp.TLSCRLFILE) { $SilentArgs += " TLSCRLFILE=`"$($pp.TLSCRLFILE)`"" }
if ($pp.TLSSERVERCERTISSUER) { $SilentArgs += " TLSSERVERCERTISSUER=`"$($pp.TLSSERVERCERTISSUER)`"" }
if ($pp.TLSSERVERCERTSUBJECT) { $SilentArgs += " TLSSERVERCERTSUBJECT=`"$($pp.TLSSERVERCERTSUBJECT)`"" }
if ($pp.TLSCERTFILE) { $SilentArgs += " TLSCERTFILE=`"$($pp.TLSCERTFILE)`"" }
if ($pp.TLSKEYFILE) { $SilentArgs += " TLSKEYFILE=`"$($pp.TLSKEYFILE)`"" }
if ($pp.LISTENIP) { $SilentArgs += " LISTENIP=`"$($pp.LISTENIP)`"" }
if ($pp.HOSTINTERFACE) { $SilentArgs += " HOSTINTERFACE=`"$($pp.HOSTINTERFACE)`"" }
if ($pp.HOSTMETADATA) { $SilentArgs += " HOSTMETADATA=`"$($pp.HOSTMETADATA)`"" }
if ($pp.HOSTMETADATAITEM) { $SilentArgs += " HOSTMETADATAITEM=`"$($pp.HOSTMETADATAITEM)`"" }
if ($pp.STATUSPORT) { $SilentArgs += " STATUSPORT=`"$($pp.STATUSPORT)`"" }
if ($pp.ENABLEPERSISTENTBUFFER) { $SilentArgs += " ENABLEPERSISTENTBUFFER=`"$($pp.ENABLEPERSISTENTBUFFER)`"" }
if ($pp.PERSISTENTBUFFERPERIOD) { $SilentArgs += " PERSISTENTBUFFERPERIOD=`"$($pp.PERSISTENTBUFFERPERIOD)`"" }
if ($pp.PERSISTENTBUFFERFILE) { $SilentArgs += " PERSISTENTBUFFERFILE=`"$($pp.PERSISTENTBUFFERFILE)`"" }
if ($pp.INSTALLFOLDER) { $SilentArgs += " INSTALLFOLDER=`"$($pp.INSTALLFOLDER)`"" }
if ($pp.ENABLEPATH) { $SilentArgs += " ENABLEPATH=`"$($pp.ENABLEPATH)`"" }
if ($pp.SKIP) { $SilentArgs += " SKIP=`"$($pp.SKIP)`"" }
if ($pp.INCLUDE) { $SilentArgs += " INCLUDE=`"$($pp.INCLUDE)`"" }
if ($pp.ALLOWDENYKEY) { $SilentArgs += " ALLOWDENYKEY=`"$($pp.ALLOWDENYKEY)`"" }
$PackageArgs = @{
PackageName = $env:ChocolateyPackageName
FileType = 'MSI'
file = "$toolsDir\zabbix_agent2-5.4.9-windows-i386-openssl.msi"
file64 = "$toolsDir\zabbix_agent2-5.4.9-windows-amd64-openssl.msi"
softwareName = "Zabbix Agent *"
SilentArgs = $SilentArgs
ValidExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @PackageArgs
2023-07-15 20:01:47,379 4324 [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\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-07-15 20:01:47,396 4324 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-15 20:01:48,176 4324 [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:01:48,629 4324 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-15 20:01:48,629 4324 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-15 20:01:48,645 4324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-15 20:01:48,645 4324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-15 20:01:48,661 4324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-15 20:01:48,676 4324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-15 20:01:48,676 4324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-15 20:01:48,691 4324 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-15 20:01:48,691 4324 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-15 20:01:48,708 4324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-15 20:01:48,708 4324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-15 20:01:48,723 4324 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-15 20:01:48,723 4324 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-15 20:01:48,723 4324 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-15 20:01:48,738 4324 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-15 20:01:48,738 4324 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-15 20:01:48,755 4324 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-15 20:01:48,770 4324 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-15 20:01:48,770 4324 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-15 20:01:48,786 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-15 20:01:48,848 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-15 20:01:48,863 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-15 20:01:48,863 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-15 20:01:48,863 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-15 20:01:48,880 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-15 20:01:48,880 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-15 20:01:48,895 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-15 20:01:48,895 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-15 20:01:48,910 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-15 20:01:48,910 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-15 20:01:48,926 4324 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-15 20:01:48,926 4324 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-15 20:01:48,941 4324 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-15 20:01:48,941 4324 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-15 20:01:48,957 4324 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-15 20:01:48,957 4324 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-15 20:01:48,972 4324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-15 20:01:48,972 4324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-15 20:01:48,988 4324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-15 20:01:48,988 4324 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-15 20:01:49,004 4324 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-15 20:01:49,098 4324 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-15 20:01:49,118 4324 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-15 20:01:49,132 4324 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-15 20:01:49,145 4324 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-15 20:01:49,145 4324 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-15 20:01:49,160 4324 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-15 20:01:49,160 4324 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-15 20:01:49,176 4324 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-15 20:01:49,191 4324 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-15 20:01:49,207 4324 [DEBUG] - Loading community extensions
2023-07-15 20:01:49,270 4324 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-15 20:01:49,270 4324 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-15 20:01:49,396 4324 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-15 20:01:49,396 4324 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-15 20:01:49,410 4324 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-15 20:01:49,410 4324 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-15 20:01:49,426 4324 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-15 20:01:49,426 4324 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-15 20:01:49,442 4324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-15 20:01:49,442 4324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-15 20:01:49,457 4324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-15 20:01:49,457 4324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-15 20:01:49,473 4324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-15 20:01:49,473 4324 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-15 20:01:49,488 4324 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-15 20:01:49,520 4324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-15 20:01:49,520 4324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-15 20:01:49,520 4324 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-15 20:01:49,535 4324 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-15 20:01:49,535 4324 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-15 20:01:49,551 4324 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-15 20:01:49,551 4324 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-15 20:01:49,567 4324 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-15 20:01:49,583 4324 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-15 20:01:49,583 4324 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-15 20:01:49,598 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-15 20:01:49,598 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-15 20:01:49,614 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-15 20:01:49,614 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-15 20:01:49,630 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-15 20:01:49,630 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-15 20:01:49,645 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-15 20:01:49,645 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-15 20:01:49,660 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-15 20:01:49,660 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-15 20:01:49,676 4324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-15 20:01:49,676 4324 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-15 20:01:49,691 4324 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-15 20:01:49,691 4324 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-15 20:01:49,707 4324 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-15 20:01:49,723 4324 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-15 20:01:49,723 4324 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-15 20:01:49,739 4324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-15 20:01:49,739 4324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-15 20:01:49,754 4324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-15 20:01:49,754 4324 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-15 20:01:49,770 4324 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-15 20:01:49,770 4324 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-15 20:01:49,786 4324 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-15 20:01:49,786 4324 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-15 20:01:49,801 4324 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-15 20:01:49,801 4324 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-15 20:01:49,817 4324 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-15 20:01:49,817 4324 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-15 20:01:49,833 4324 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-15 20:01:49,833 4324 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-15 20:01:49,848 4324 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-15 20:01:49,863 4324 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-15 20:01:49,863 4324 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-15 20:01:49,863 4324 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-15 20:01:49,879 4324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-15 20:01:49,895 4324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-15 20:01:49,895 4324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-15 20:01:49,910 4324 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-15 20:01:49,910 4324 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-15 20:01:49,926 4324 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-15 20:01:49,942 4324 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-15 20:01:49,942 4324 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-15 20:01:49,957 4324 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-15 20:01:49,957 4324 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-15 20:01:49,973 4324 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-15 20:01:49,973 4324 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-15 20:01:49,989 4324 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-15 20:01:49,989 4324 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-15 20:01:50,004 4324 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-15 20:01:50,004 4324 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-15 20:01:50,019 4324 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-15 20:01:50,019 4324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-15 20:01:50,035 4324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-15 20:01:50,051 4324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-15 20:01:50,066 4324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-15 20:01:50,066 4324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-15 20:01:50,066 4324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-15 20:01:50,082 4324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-15 20:01:50,082 4324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-15 20:01:50,098 4324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-15 20:01:50,098 4324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-15 20:01:50,114 4324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-15 20:01:50,114 4324 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-15 20:01:50,130 4324 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-15 20:01:50,130 4324 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-15 20:01:50,145 4324 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-15 20:01:50,161 4324 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-15 20:01:50,161 4324 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-15 20:01:50,176 4324 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-15 20:01:50,176 4324 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-15 20:01:50,192 4324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-15 20:01:50,192 4324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-15 20:01:50,207 4324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-15 20:01:50,207 4324 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-15 20:01:50,223 4324 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-15 20:01:50,223 4324 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-15 20:01:50,238 4324 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-15 20:01:50,238 4324 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-15 20:01:50,254 4324 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-15 20:01:50,254 4324 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-15 20:01:50,269 4324 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-15 20:01:50,269 4324 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-15 20:01:50,285 4324 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-15 20:01:50,285 4324 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-15 20:01:50,379 4324 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-15 20:01:50,395 4324 [DEBUG] - Running 'ChocolateyScriptRunner' for zabbix-agent2 v5.4.9 with packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\zabbix-agent2', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-15 20:01:50,520 4324 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyinstall.ps1'
2023-07-15 20:01:50,629 4324 [DEBUG] - Running Get-PackageParameters
2023-07-15 20:01:50,645 4324 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2023-07-15 20:01:50,972 4324 [DEBUG] - Running Install-ChocolateyInstallPackage -silentArgs '/qn /norestart SERVER="127.0.0.1"' -file 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-i386-openssl.msi' -file64 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-amd64-openssl.msi' -fileType 'MSI' -validExitCodes '0 3010 1641' -packageName 'zabbix-agent2'
2023-07-15 20:01:51,005 4324 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-07-15 20:01:51,067 4324 [INFO ] - Installing 64-bit zabbix-agent2...
2023-07-15 20:01:51,286 4324 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1641' -workingDirectory 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools' -statements '/i "C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-amd64-openssl.msi" /qn /norestart SERVER="127.0.0.1" ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-07-15 20:01:51,365 4324 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-15 20:01:51,410 4324 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-amd64-openssl.msi" /qn /norestart SERVER="127.0.0.1" ]. This may take a while, depending on the statements.
2023-07-15 20:01:58,637 4324 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\zabbix_agent2-5.4.9-windows-amd64-openssl.msi" /qn /norestart SERVER="127.0.0.1" ] exited with '0'.
2023-07-15 20:01:58,684 4324 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-07-15 20:01:58,699 4324 [INFO ] - zabbix-agent2 has been installed.
2023-07-15 20:01:58,715 4324 [DEBUG] - ----------------------------------------------------------------------
2023-07-15 20:01:58,778 4324 [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\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-07-15 20:01:58,794 4324 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-15 20:01:58,919 4324 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-15 20:01:58,951 4324 [INFO ] - zabbix-agent2 may be able to be automatically uninstalled.
2023-07-15 20:01:59,122 4324 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\zabbix-agent2'
2023-07-15 20:01:59,201 4324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\zabbix-agent2.nupkg'
with checksum '3F15F0408ABC91E8E3872DC4C3DB2DC4'
2023-07-15 20:01:59,215 4324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\zabbix-agent2.nuspec'
with checksum '43CE15724089A4014AFA6A4308772DA4'
2023-07-15 20:01:59,215 4324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\legal\LICENSE.txt'
with checksum '82B4494D3EFC80FBF5EA0B125B93B37D'
2023-07-15 20:01:59,230 4324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\legal\VERIFICATION.txt'
with checksum '11E0C07C143B95C746BB011E473BA424'
2023-07-15 20:01:59,230 4324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyinstall.ps1'
with checksum '478C8416A42B93A49DC576A95BA8A6A9'
2023-07-15 20:01:59,246 4324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent2\tools\chocolateyUninstall.ps1'
with checksum '7D2C3BCFF0C2BEBC82CAC4741BDCB1FC'
2023-07-15 20:01:59,372 4324 [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:01:59,372 4324 [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:01:59,450 4324 [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:01:59,512 4324 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent2.5.4.9".
2023-07-15 20:01:59,574 4324 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\zabbix-agent2.5.4.9\.registry'
2023-07-15 20:01:59,606 4324 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\zabbix-agent2.5.4.9\.files'
2023-07-15 20:01:59,621 4324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent2.5.4.9\.extra".
2023-07-15 20:01:59,636 4324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent2.5.4.9\.version".
2023-07-15 20:01:59,652 4324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent2.5.4.9\.sxs".
2023-07-15 20:01:59,668 4324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent2.5.4.9\.pin".
2023-07-15 20:01:59,668 4324 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-07-15 20:01:59,684 4324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent2\.chocolateyPending".
2023-07-15 20:01:59,700 4324 [INFO ] - The install of zabbix-agent2 was successful.
2023-07-15 20:01:59,700 4324 [INFO ] - Software installed to 'C:\Program Files\Zabbix Agent 2\'
2023-07-15 20:01:59,716 4324 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\zabbix-agent2.5.4.9.nupkg".
2023-07-15 20:01:59,777 4324 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-15 20:01:59,777 4324 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-15 20:01:59,824 4324 [DEBUG] - Exiting with 0
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment