Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created August 26, 2023 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save choco-bot/d75225b0f2d574ca87537e633a872cd1 to your computer and use it in GitHub Desktop.
Save choco-bot/d75225b0f2d574ca87537e633a872cd1 to your computer and use it in GitHub Desktop.
wazuh-agent v4.5.1 - 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-1446804053-443142257-90101763-1000</user>
<keys>
<key installerType="Msi" displayName="Wazuh Agent" displayVersion="4.5.1">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B8FA3162-D845-4FDD-9F76-02FA1063D571}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{B8FA3162-D845-4FDD-9F76-02FA1063D571}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Wazuh, Inc.]]></Publisher>
<InstallDate>20230826</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.1\]]></InstallSource>
<Language>1033</Language>
<Version>67436545</Version>
<VersionMajor>4</VersionMajor>
<VersionMinor>5</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>true</NoModify>
<NoRepair>true</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\3fdad.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

wazuh-agent v4.5.1 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/wazuh-agent/4.5.1
  • Tested 26 Aug 2023 13:49:58 +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\wazuh-agent\wazuh-agent.nupkg" checksum="D971D1D760E62A3152DADE6B61C33D5E" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec" checksum="0DFE46394E35B8732A4C2D4B86185FA0" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1" checksum="50E8BD8711B75A48B42FCE52DD1B8AF5" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1" checksum="E64EA2365BF83508C2E5F4D2E40253BB" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1" checksum="C7DA559B5059ADC05A97BE553DB2573F" />
</files>
</fileSnapshot>
2023-08-26 13:49:00,477 3464 [DEBUG] - XmlConfiguration is now operational
2023-08-26 13:49:00,634 3464 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-26 13:49:00,634 3464 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-26 13:49:00,649 3464 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-26 13:49:00,649 3464 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-26 13:49:00,665 3464 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-26 13:49:00,665 3464 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-08-26 13:49:00,665 3464 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-26 13:49:00,665 3464 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-26 13:49:00,680 3464 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-26 13:49:00,680 3464 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-08-26 13:49:00,680 3464 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-08-26 13:49:01,525 3464 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:01,525 3464 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:01,541 3464 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:01,541 3464 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:01,541 3464 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:01,555 3464 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:01,555 3464 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:01,555 3464 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:01,555 3464 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:01,571 3464 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:01,634 3464 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-08-26 13:49:01,649 3464 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-08-26 13:49:01,649 3464 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-08-26 13:49:01,665 3464 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-08-26 13:49:01,665 3464 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-08-26 13:49:01,665 3464 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-08-26 13:49:01,680 3464 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-08-26 13:49:01,680 3464 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-08-26 13:49:01,680 3464 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-08-26 13:49:01,680 3464 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-08-26 13:49:01,696 3464 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-08-26 13:49:01,696 3464 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-08-26 13:49:01,696 3464 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-08-26 13:49:01,696 3464 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-08-26 13:49:01,712 3464 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-08-26 13:49:01,712 3464 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-08-26 13:49:01,712 3464 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-08-26 13:49:01,728 3464 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-08-26 13:49:01,728 3464 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-08-26 13:49:01,728 3464 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-08-26 13:49:02,071 3464 [INFO ] - ============================================================
2023-08-26 13:49:02,805 3464 [INFO ] - Chocolatey v2.2.2
2023-08-26 13:49:02,853 3464 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-08-26 13:49:02,868 3464 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-08-26 13:49:02,884 3464 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-08-26 13:49:02,900 3464 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install wazuh-agent --version 4.5.1 -fdvy --execution-timeout=2700 --allow-downgrade
2023-08-26 13:49:02,900 3464 [DEBUG] - Received arguments: install wazuh-agent --version 4.5.1 -fdvy --execution-timeout=2700 --allow-downgrade
2023-08-26 13:49:03,087 3464 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-08-26 13:49:03,118 3464 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-08-26 13:49:03,150 3464 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-08-26 13:49:03,353 3464 [DEBUG] - Performing validation checks.
2023-08-26 13:49:03,368 3464 [DEBUG] - Global Configuration Validation Checks:
2023-08-26 13:49:03,368 3464 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-08-26 13:49:03,383 3464 [DEBUG] - System State Validation Checks:
2023-08-26 13:49:03,399 3464 [DEBUG] - Reboot Requirement Checks:
2023-08-26 13:49:03,399 3464 [DEBUG] - - Pending Computer Rename = Checked
2023-08-26 13:49:03,415 3464 [DEBUG] - - Pending Component Based Servicing = Checked
2023-08-26 13:49:03,415 3464 [DEBUG] - - Pending Windows Auto Update = Checked
2023-08-26 13:49:03,430 3464 [DEBUG] - - Pending File Rename Operations = Ignored
2023-08-26 13:49:03,430 3464 [DEBUG] - - Pending Windows Package Installer = Checked
2023-08-26 13:49:03,446 3464 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-08-26 13:49:03,463 3464 [DEBUG] - Cache Folder Lockdown Checks:
2023-08-26 13:49:03,463 3464 [DEBUG] - - Elevated State = Checked
2023-08-26 13:49:03,463 3464 [DEBUG] - - Folder Exists = Checked
2023-08-26 13:49:03,478 3464 [DEBUG] - - Folder lockdown = Checked
2023-08-26 13:49:03,493 3464 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-08-26 13:49:03,540 3464 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-08-26 13:49:03,555 3464 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-08-26 13:49:03,602 3464 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|Verbose='True'|
Trace='False'|Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='wazuh-agent'|
Version='4.5.1'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='wazuh-agent'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-0GAED86ATIG'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2023-08-26 13:49:03,618 3464 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-08-26 13:49:03,633 3464 [INFO ] - Installing the following packages:
2023-08-26 13:49:03,650 3464 [INFO ] - wazuh-agent
2023-08-26 13:49:03,665 3464 [INFO ] - By installing, you accept licenses for the packages.
2023-08-26 13:49:03,681 3464 [DEBUG] - Current environment values (may contain sensitive data):
2023-08-26 13:49:03,681 3464 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-08-26 13:49:03,696 3464 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-26 13:49:03,696 3464 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-26 13:49:03,712 3464 [DEBUG] - * 'ChocolateyLastPathUpdate'='133375276988591594' ('User')
2023-08-26 13:49:03,712 3464 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-08-26 13:49:03,712 3464 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-08-26 13:49:03,744 3464 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-08-26 13:49:03,744 3464 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-08-26 13:49:03,758 3464 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-08-26 13:49:03,758 3464 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-08-26 13:49:03,758 3464 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-08-26 13:49:03,774 3464 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-08-26 13:49:03,774 3464 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-08-26 13:49:03,774 3464 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-08-26 13:49:03,790 3464 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-08-26 13:49:03,806 3464 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-08-26 13:49:03,806 3464 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-08-26 13:49:03,821 3464 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-08-26 13:49:03,821 3464 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-08-26 13:49:03,836 3464 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-08-26 13:49:04,353 3464 [DEBUG] - Running list with the following filter = ''
2023-08-26 13:49:04,368 3464 [DEBUG] - --- Start of List ---
2023-08-26 13:49:04,415 3464 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-08-26 13:49:04,914 3464 [DEBUG] - chocolatey 2.2.2
2023-08-26 13:49:04,930 3464 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-26 13:49:04,946 3464 [DEBUG] - KB2919355 1.0.20160915
2023-08-26 13:49:04,962 3464 [DEBUG] - KB2919442 1.0.20160915
2023-08-26 13:49:04,977 3464 [DEBUG] - KB2999226 1.0.20181019
2023-08-26 13:49:04,977 3464 [DEBUG] - KB3035131 1.0.3
2023-08-26 13:49:04,993 3464 [DEBUG] - KB3118401 1.0.5
2023-08-26 13:49:05,008 3464 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-26 13:49:05,008 3464 [DEBUG] - --- End of List ---
2023-08-26 13:49:05,024 3464 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2023-08-26 13:49:05,821 3464 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2023-08-26 13:49:06,383 3464 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.5.1')
2023-08-26 13:49:06,602 3464 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.5.1') 207ms
2023-08-26 13:49:06,727 3464 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2023-08-26 13:49:07,493 3464 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2023-08-26 13:49:07,493 3464 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.5.1')
2023-08-26 13:49:07,728 3464 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2023-08-26 13:49:07,743 3464 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2023-08-26 13:49:07,806 3464 [DEBUG] - Attempting to delete file "".
2023-08-26 13:49:07,853 3464 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/wazuh-agent/4.5.1
2023-08-26 13:49:08,415 3464 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/wazuh-agent/4.5.1 555ms
2023-08-26 13:49:08,446 3464 [INFO ] - [NuGet] Acquiring lock for the installation of wazuh-agent 4.5.1
2023-08-26 13:49:08,525 3464 [INFO ] - [NuGet] Acquired lock for the installation of wazuh-agent 4.5.1
2023-08-26 13:49:08,901 3464 [INFO ] - [NuGet] Installed wazuh-agent 4.5.1 from https://community.chocolatey.org/api/v2/ with content hash 8QqXbtrxYhY4rl9XcvVfjrvG9eAQh3halrygZwLwgiUksoPPHgQ+RbTiW1uirpueAVYNNoeqVf49HBxgRJ+wPw==.
2023-08-26 13:49:08,946 3464 [INFO ] - [NuGet] Adding package 'wazuh-agent.4.5.1' to folder 'C:\ProgramData\chocolatey\lib'
2023-08-26 13:49:09,056 3464 [INFO ] - [NuGet] Added package 'wazuh-agent.4.5.1' to folder 'C:\ProgramData\chocolatey\lib'
2023-08-26 13:49:09,071 3464 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.5.1\wazuh-agent.4.5.1.nupkg".
2023-08-26 13:49:09,071 3464 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.5.1\.nupkg.metadata".
2023-08-26 13:49:09,086 3464 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.5.1\wazuh-agent.4.5.1.nupkg.sha512".
2023-08-26 13:49:09,103 3464 [INFO ] -
wazuh-agent v4.5.1 (forced)
2023-08-26 13:49:09,196 3464 [INFO ] - wazuh-agent package files install completed. Performing other installation steps.
2023-08-26 13:49:09,259 3464 [DEBUG] - Setting installer args for wazuh-agent
2023-08-26 13:49:09,276 3464 [DEBUG] - Setting package parameters for wazuh-agent
2023-08-26 13:49:09,276 3464 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1':
2023-08-26 13:49:09,306 3464 [DEBUG] - $ErrorActionPreference = 'Stop';
$PackageParameters = Get-PackageParameters
$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)"
$urlPackage = 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.1-1.msi'
$checksumPackage = '3e06872590aa9e300a80d236039673182a1180c9dd6ca17396ab4f5d819b4686d35006608ff1490170bcfa0a8fde9713a0782e1b63236c43e3160735a388c5f9'
Import-Module -Name "$($toolsDir)\helpers.ps1"
$args = ""
if ($PackageParameters['ApplicationFolder']) {
$args = $args + " APPLICATIONFOLDER=" + $PackageParameters['ApplicationFolder']
}
if ($PackageParameters['Manager']) {
$args = $args + " WAZUH_MANAGER=" + $PackageParameters['Manager']
}
if ($PackageParameters['ManagerPort']) {
$args = $args + " WAZUH_MANAGER_PORT=" + $PackageParameters['ManagerPort']
}
if ($PackageParameters['Protocol']) {
$args = $args + " WAZUH_PROTOCOL=" + $PackageParameters['Protocol']
}
if ($PackageParameters['RegistrationServer']) {
$args = $args + " WAZUH_REGISTRATION_SERVER=" + $PackageParameters['RegistrationServer']
}
if ($PackageParameters['RegistrationPort']) {
$args = $args + " WAZUH_REGISTRATION_SERVER=" + $PackageParameters['RegistrationPort']
}
if ($PackageParameters['RegistrationPassword']) {
$args = $args + " WAZUH_REGISTRATION_PASSWORD=" + $PackageParameters['RegistrationPassword']
}
if ($PackageParameters['KeepAliveInterval']) {
$args = $args + " WAZUH_KEEP_ALIVE_INTERVAL=" + $PackageParameters['KeepAliveInterval']
}
if ($PackageParameters['TimeReconnect']) {
$args = $args + " WAZUH_TIME_RECONNECT=" + $PackageParameters['TimeReconnect']
}
if ($PackageParameters['RegistrationCA']) {
$args = $args + " WAZUH_REGISTRATION_CA=" + $PackageParameters['RegistrationCA']
}
if ($PackageParameters['RegistrationCertificate']) {
$args = $args + " WAZUH_REGISTRATION_CERTIFICATE=" + $PackageParameters['RegistrationCertificate']
}
if ($PackageParameters['RegistrationKey']) {
$args = $args + " WAZUH_REGISTRATION_KEY=" + $PackageParameters['RegistrationKey']
}
if ($PackageParameters['AgentName']) {
$args = $args + " WAZUH_AGENT_NAME=" + $PackageParameters['AgentName']
}
if ($PackageParameters['AgentGroup']) {
$args = $args + " WAZUH_AGENT_GROUP=" + $PackageParameters['AgentGroup']
}
Write-Output $args
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'msi'
url = $urlPackage
checksum = $checksumPackage
checksumType = 'SHA512'
url64 = $urlPackage
checksum64 = $checksumPackage
checksumType64 = 'SHA512'
silentArgs = "$($args) /q"
ValidExitCodes = @(0, 1000, 1101)
}
Install-ChocolateyPackage @packageArgs
if ($PackageParameters.CleanStartmenu) {
Remove-FileItem `
-Path "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\OSSEC"
}
2023-08-26 13:49:09,353 3464 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-08-26 13:49:09,369 3464 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-08-26 13:49:10,056 3464 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-08-26 13:49:10,493 3464 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-26 13:49:10,493 3464 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-26 13:49:10,509 3464 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-26 13:49:10,509 3464 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-26 13:49:10,540 3464 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-26 13:49:10,540 3464 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-26 13:49:10,540 3464 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-26 13:49:10,555 3464 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-26 13:49:10,571 3464 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-26 13:49:10,571 3464 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-26 13:49:10,587 3464 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-26 13:49:10,587 3464 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-26 13:49:10,602 3464 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-26 13:49:10,602 3464 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-26 13:49:10,618 3464 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-26 13:49:10,618 3464 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-26 13:49:10,633 3464 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-26 13:49:10,653 3464 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-26 13:49:10,653 3464 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-26 13:49:10,665 3464 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-26 13:49:10,665 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-26 13:49:10,681 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-26 13:49:10,681 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-26 13:49:10,696 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-26 13:49:10,696 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-26 13:49:10,712 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-26 13:49:10,712 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-26 13:49:10,712 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-26 13:49:10,727 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-26 13:49:10,727 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-26 13:49:10,743 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-26 13:49:10,743 3464 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-26 13:49:10,758 3464 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-26 13:49:10,758 3464 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-26 13:49:10,774 3464 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-26 13:49:10,774 3464 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-26 13:49:10,790 3464 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-26 13:49:10,790 3464 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-26 13:49:10,805 3464 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-26 13:49:10,805 3464 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-26 13:49:10,821 3464 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-26 13:49:10,821 3464 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-26 13:49:10,837 3464 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-26 13:49:10,837 3464 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-26 13:49:10,852 3464 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-26 13:49:10,868 3464 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-26 13:49:10,868 3464 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-26 13:49:10,883 3464 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-26 13:49:10,883 3464 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-26 13:49:10,899 3464 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-26 13:49:10,899 3464 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-26 13:49:10,931 3464 [DEBUG] - Loading community extensions
2023-08-26 13:49:10,962 3464 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-08-26 13:49:10,977 3464 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-08-26 13:49:11,088 3464 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-26 13:49:11,088 3464 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-26 13:49:11,102 3464 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-26 13:49:11,102 3464 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-26 13:49:11,119 3464 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-26 13:49:11,119 3464 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-26 13:49:11,134 3464 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-26 13:49:11,134 3464 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-26 13:49:11,149 3464 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-26 13:49:11,149 3464 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-26 13:49:11,149 3464 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-26 13:49:11,165 3464 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-26 13:49:11,165 3464 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-26 13:49:11,181 3464 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-26 13:49:11,181 3464 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-26 13:49:11,197 3464 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-26 13:49:11,197 3464 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-26 13:49:11,211 3464 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-26 13:49:11,211 3464 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-26 13:49:11,227 3464 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-26 13:49:11,227 3464 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-26 13:49:11,243 3464 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-26 13:49:11,243 3464 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-26 13:49:11,258 3464 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-26 13:49:11,258 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-26 13:49:11,258 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-26 13:49:11,274 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-26 13:49:11,274 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-26 13:49:11,290 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-26 13:49:11,290 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-26 13:49:11,305 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-26 13:49:11,321 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-26 13:49:11,321 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-26 13:49:11,336 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-26 13:49:11,336 3464 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-26 13:49:11,352 3464 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-26 13:49:11,352 3464 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-26 13:49:11,368 3464 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-26 13:49:11,368 3464 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-26 13:49:11,383 3464 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-26 13:49:11,383 3464 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-26 13:49:11,399 3464 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-26 13:49:11,399 3464 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-26 13:49:11,415 3464 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-26 13:49:11,415 3464 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-26 13:49:11,430 3464 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-26 13:49:11,430 3464 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-26 13:49:11,430 3464 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-26 13:49:11,446 3464 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-26 13:49:11,461 3464 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-26 13:49:11,461 3464 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-26 13:49:11,461 3464 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-26 13:49:11,477 3464 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-26 13:49:11,477 3464 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-26 13:49:11,493 3464 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-26 13:49:11,493 3464 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-26 13:49:11,509 3464 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-26 13:49:11,509 3464 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-08-26 13:49:11,524 3464 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-08-26 13:49:11,524 3464 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-08-26 13:49:11,540 3464 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-08-26 13:49:11,540 3464 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-08-26 13:49:11,555 3464 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-08-26 13:49:11,555 3464 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-08-26 13:49:11,555 3464 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-08-26 13:49:11,571 3464 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-08-26 13:49:11,571 3464 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-08-26 13:49:11,587 3464 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-08-26 13:49:11,602 3464 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-08-26 13:49:11,602 3464 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-08-26 13:49:11,618 3464 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-08-26 13:49:11,618 3464 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-08-26 13:49:11,633 3464 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-08-26 13:49:11,633 3464 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-08-26 13:49:11,633 3464 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-08-26 13:49:11,649 3464 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-08-26 13:49:11,665 3464 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-08-26 13:49:11,681 3464 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-08-26 13:49:11,681 3464 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-08-26 13:49:11,696 3464 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-08-26 13:49:11,696 3464 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-08-26 13:49:11,696 3464 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-08-26 13:49:11,712 3464 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-08-26 13:49:11,727 3464 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-26 13:49:11,727 3464 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-08-26 13:49:11,743 3464 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-08-26 13:49:11,743 3464 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-08-26 13:49:11,743 3464 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-08-26 13:49:11,758 3464 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-08-26 13:49:11,774 3464 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-26 13:49:11,805 3464 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-08-26 13:49:11,821 3464 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-08-26 13:49:11,821 3464 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-08-26 13:49:11,837 3464 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-08-26 13:49:11,852 3464 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-26 13:49:11,852 3464 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-08-26 13:49:11,868 3464 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-26 13:49:11,868 3464 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-08-26 13:49:11,884 3464 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-08-26 13:49:11,884 3464 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-08-26 13:49:11,899 3464 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-08-26 13:49:11,899 3464 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-08-26 13:49:11,915 3464 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-08-26 13:49:11,930 3464 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-08-26 13:49:11,930 3464 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-08-26 13:49:11,946 3464 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-08-26 13:49:11,946 3464 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-08-26 13:49:11,962 3464 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-08-26 13:49:11,962 3464 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-08-26 13:49:11,962 3464 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-08-26 13:49:12,088 3464 [DEBUG] - ---------------------------Script Execution---------------------------
2023-08-26 13:49:12,103 3464 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.5.1 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-08-26 13:49:12,165 3464 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
2023-08-26 13:49:12,244 3464 [DEBUG] - Running Get-PackageParameters
2023-08-26 13:49:12,259 3464 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2023-08-26 13:49:12,290 3464 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
2023-08-26 13:49:12,306 3464 [INFO ] - VERBOSE: Dot-sourcing the script file 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
2023-08-26 13:49:12,321 3464 [INFO ] -
2023-08-26 13:49:12,431 3464 [DEBUG] - Running Install-ChocolateyPackage -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.1-1.msi' -checksum '3e06872590aa9e300a80d236039673182a1180c9dd6ca17396ab4f5d819b4686d35006608ff1490170bcfa0a8fde9713a0782e1b63236c43e3160735a388c5f9' -checksum64 '3e06872590aa9e300a80d236039673182a1180c9dd6ca17396ab4f5d819b4686d35006608ff1490170bcfa0a8fde9713a0782e1b63236c43e3160735a388c5f9' -silentArgs ' /q' -packageName 'wazuh-agent' -checksumType 'SHA512' -fileType 'msi' -validExitCodes '0 1000 1101' -checksumType64 'SHA512' -url64bit 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.1-1.msi'
2023-08-26 13:49:12,603 3464 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'wazuh-agent' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.1\wazuh-agentInstall.msi' -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.1-1.msi' -url64bit 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.1-1.msi' -checksum '3e06872590aa9e300a80d236039673182a1180c9dd6ca17396ab4f5d819b4686d35006608ff1490170bcfa0a8fde9713a0782e1b63236c43e3160735a388c5f9' -checksumType 'SHA512' -checksum64 '3e06872590aa9e300a80d236039673182a1180c9dd6ca17396ab4f5d819b4686d35006608ff1490170bcfa0a8fde9713a0782e1b63236c43e3160735a388c5f9' -checksumType64 'SHA512' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2023-08-26 13:49:12,649 3464 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-08-26 13:49:12,806 3464 [DEBUG] - CPU is 64 bit
2023-08-26 13:49:12,821 3464 [DEBUG] - Setting url to 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.1-1.msi' and bitPackage to 64
2023-08-26 13:49:12,900 3464 [DEBUG] - Running Get-WebFileName -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.1-1.msi' -defaultName 'wazuh-agentInstall.msi'
2023-08-26 13:49:13,337 3464 [DEBUG] - Using response url to determine file name. 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.1-1.msi'
2023-08-26 13:49:13,353 3464 [DEBUG] - File name determined from url is 'wazuh-agent-4.5.1-1.msi'
2023-08-26 13:49:13,416 3464 [DEBUG] - Running Get-WebHeaders -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.1-1.msi' -ErrorAction 'Stop'
2023-08-26 13:49:13,431 3464 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-08-26 13:49:13,447 3464 [DEBUG] - Request Headers:
2023-08-26 13:49:13,477 3464 [DEBUG] - 'Accept':'*/*'
2023-08-26 13:49:13,477 3464 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-08-26 13:49:13,571 3464 [DEBUG] - Response Headers:
2023-08-26 13:49:13,587 3464 [DEBUG] - 'Connection':'keep-alive'
2023-08-26 13:49:13,617 3464 [DEBUG] - 'x-amz-server-side-encryption':'AES256'
2023-08-26 13:49:13,617 3464 [DEBUG] - 'x-amz-version-id':'txRN3y_o7RM366r6ydwJW9jqQ3nl14wm'
2023-08-26 13:49:13,633 3464 [DEBUG] - 'X-Cache':'Hit from cloudfront'
2023-08-26 13:49:13,649 3464 [DEBUG] - 'X-Amz-Cf-Pop':'DFW57-P2'
2023-08-26 13:49:13,682 3464 [DEBUG] - 'X-Amz-Cf-Id':'rzf_8GblTaeddwygWRpF46Tru3k0fMKkw_UTzPS8IHbxslIRDl9p6Q=='
2023-08-26 13:49:13,697 3464 [DEBUG] - 'Age':'83453'
2023-08-26 13:49:13,697 3464 [DEBUG] - 'Accept-Ranges':'bytes'
2023-08-26 13:49:13,712 3464 [DEBUG] - 'Content-Length':'6328320'
2023-08-26 13:49:13,712 3464 [DEBUG] - 'Content-Type':'binary/octet-stream'
2023-08-26 13:49:13,727 3464 [DEBUG] - 'Date':'Fri, 25 Aug 2023 14:38:21 GMT'
2023-08-26 13:49:13,743 3464 [DEBUG] - 'ETag':'"3823a34bb108b9ad4e9fb43cb8f0b4e3"'
2023-08-26 13:49:13,743 3464 [DEBUG] - 'Last-Modified':'Thu, 24 Aug 2023 12:23:14 GMT'
2023-08-26 13:49:13,759 3464 [DEBUG] - 'Server':'AmazonS3'
2023-08-26 13:49:13,759 3464 [DEBUG] - 'Via':'1.1 c10a25371a38d6a282811a6889cd8c6c.cloudfront.net (CloudFront)'
2023-08-26 13:49:13,805 3464 [INFO ] - Downloading wazuh-agent 64 bit
from 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.1-1.msi'
2023-08-26 13:49:13,869 3464 [DEBUG] - Running Get-WebFile -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.1-1.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.1\wazuh-agent-4.5.1-1.msi' -options 'System.Collections.Hashtable'
2023-08-26 13:49:13,884 3464 [DEBUG] - Setting request timeout to 30000
2023-08-26 13:49:13,884 3464 [DEBUG] - Setting read/write timeout to 2700000
2023-08-26 13:49:13,900 3464 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-08-26 13:49:14,336 3464 [DEBUG] - Downloading https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.1-1.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.1\wazuh-agent-4.5.1-1.msi
2023-08-26 13:49:15,118 3464 [INFO ] -
2023-08-26 13:49:15,149 3464 [INFO ] - Download of wazuh-agent-4.5.1-1.msi (6.04 MB) completed.
2023-08-26 13:49:18,227 3464 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-08-26 13:49:18,243 3464 [DEBUG] - Verifying package provided checksum of '3e06872590aa9e300a80d236039673182a1180c9dd6ca17396ab4f5d819b4686d35006608ff1490170bcfa0a8fde9713a0782e1b63236c43e3160735a388c5f9' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.1\wazuh-agent-4.5.1-1.msi'.
2023-08-26 13:49:18,276 3464 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.1\wazuh-agent-4.5.1-1.msi' -checksum '3e06872590aa9e300a80d236039673182a1180c9dd6ca17396ab4f5d819b4686d35006608ff1490170bcfa0a8fde9713a0782e1b63236c43e3160735a388c5f9' -checksumType 'SHA512' -originalUrl 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.1-1.msi'
2023-08-26 13:49:18,306 3464 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-08-26 13:49:18,321 3464 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="3e06872590aa9e300a80d236039673182a1180c9dd6ca17396ab4f5d819b4686d35006608ff1490170bcfa0a8fde9713a0782e1b63236c43e3160735a388c5f9" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.1\wazuh-agent-4.5.1-1.msi"]
2023-08-26 13:49:19,228 3464 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="3e06872590aa9e300a80d236039673182a1180c9dd6ca17396ab4f5d819b4686d35006608ff1490170bcfa0a8fde9713a0782e1b63236c43e3160735a388c5f9" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.1\wazuh-agent-4.5.1-1.msi"] exited with '0'.
2023-08-26 13:49:19,305 3464 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'wazuh-agent' -fileType 'msi' -silentArgs ' /q' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.1\wazuh-agent-4.5.1-1.msi' -validExitCodes '0 1000 1101' -useOnlyPackageSilentArguments 'False'
2023-08-26 13:49:19,321 3464 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-08-26 13:49:19,337 3464 [INFO ] - Installing wazuh-agent...
2023-08-26 13:49:19,477 3464 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1000 1101' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.1' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.1\wazuh-agent-4.5.1-1.msi" /q ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-08-26 13:49:19,555 3464 [DEBUG] - Test-ProcessAdminRights: returning True
2023-08-26 13:49:19,587 3464 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.1\wazuh-agent-4.5.1-1.msi" /q ]. This may take a while, depending on the statements.
2023-08-26 13:49:26,384 3464 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.1\wazuh-agent-4.5.1-1.msi" /q ] exited with '0'.
2023-08-26 13:49:26,430 3464 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-08-26 13:49:26,445 3464 [INFO ] - wazuh-agent has been installed.
2023-08-26 13:49:26,461 3464 [DEBUG] - ----------------------------------------------------------------------
2023-08-26 13:49:26,477 3464 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-08-26 13:49:26,494 3464 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-08-26 13:49:26,618 3464 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-08-26 13:49:26,666 3464 [INFO ] - wazuh-agent may be able to be automatically uninstalled.
2023-08-26 13:49:26,837 3464 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
2023-08-26 13:49:26,837 3464 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum 'D971D1D760E62A3152DADE6B61C33D5E'
2023-08-26 13:49:26,852 3464 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum '0DFE46394E35B8732A4C2D4B86185FA0'
2023-08-26 13:49:26,852 3464 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum '50E8BD8711B75A48B42FCE52DD1B8AF5'
2023-08-26 13:49:26,868 3464 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2023-08-26 13:49:26,868 3464 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2023-08-26 13:49:26,962 3464 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.1".
2023-08-26 13:49:27,025 3464 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.1\.registry'
2023-08-26 13:49:27,087 3464 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.1\.files'
2023-08-26 13:49:27,102 3464 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.1\.extra".
2023-08-26 13:49:27,118 3464 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.1\.version".
2023-08-26 13:49:27,118 3464 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.1\.sxs".
2023-08-26 13:49:27,133 3464 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.1\.pin".
2023-08-26 13:49:27,133 3464 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-08-26 13:49:27,149 3464 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\.chocolateyPending".
2023-08-26 13:49:27,166 3464 [INFO ] - The install of wazuh-agent was successful.
2023-08-26 13:49:27,166 3464 [INFO ] - Software installed as 'msi', install location is likely default.
2023-08-26 13:49:27,197 3464 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-08-26 13:49:27,212 3464 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-08-26 13:49:27,227 3464 [DEBUG] - Exiting with 0
2023-08-26 13:49:39,493 3512 [DEBUG] - XmlConfiguration is now operational
2023-08-26 13:49:39,634 3512 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-26 13:49:39,649 3512 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-26 13:49:39,649 3512 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-26 13:49:39,649 3512 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-26 13:49:39,664 3512 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-26 13:49:39,664 3512 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-08-26 13:49:39,664 3512 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-26 13:49:39,680 3512 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-26 13:49:39,680 3512 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-26 13:49:39,680 3512 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-08-26 13:49:39,696 3512 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-08-26 13:49:40,493 3512 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:40,493 3512 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:40,493 3512 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:40,493 3512 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:40,508 3512 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:40,508 3512 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:40,508 3512 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:40,524 3512 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:40,524 3512 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:40,524 3512 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-26 13:49:40,555 3512 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-08-26 13:49:40,555 3512 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-08-26 13:49:40,555 3512 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-08-26 13:49:40,571 3512 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-08-26 13:49:40,571 3512 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-08-26 13:49:40,571 3512 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-08-26 13:49:40,587 3512 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-08-26 13:49:40,587 3512 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-08-26 13:49:40,587 3512 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-08-26 13:49:40,587 3512 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-08-26 13:49:40,602 3512 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-08-26 13:49:40,602 3512 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-08-26 13:49:40,602 3512 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-08-26 13:49:40,617 3512 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-08-26 13:49:40,618 3512 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-08-26 13:49:40,618 3512 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-08-26 13:49:40,618 3512 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-08-26 13:49:40,633 3512 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-08-26 13:49:40,633 3512 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-08-26 13:49:40,633 3512 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-08-26 13:49:40,899 3512 [INFO ] - ============================================================
2023-08-26 13:49:41,274 3512 [INFO ] - Chocolatey v2.2.2
2023-08-26 13:49:41,306 3512 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-08-26 13:49:41,322 3512 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-08-26 13:49:41,322 3512 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-08-26 13:49:41,353 3512 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall wazuh-agent --version 4.5.1 -dvy --execution-timeout=2700
2023-08-26 13:49:41,353 3512 [DEBUG] - Received arguments: uninstall wazuh-agent --version 4.5.1 -dvy --execution-timeout=2700
2023-08-26 13:49:41,525 3512 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-08-26 13:49:41,540 3512 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-08-26 13:49:41,572 3512 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-08-26 13:49:41,775 3512 [DEBUG] - Performing validation checks.
2023-08-26 13:49:41,790 3512 [DEBUG] - Global Configuration Validation Checks:
2023-08-26 13:49:41,790 3512 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-08-26 13:49:41,805 3512 [DEBUG] - System State Validation Checks:
2023-08-26 13:49:41,821 3512 [DEBUG] - Reboot Requirement Checks:
2023-08-26 13:49:41,836 3512 [DEBUG] - - Pending Computer Rename = Checked
2023-08-26 13:49:41,836 3512 [DEBUG] - - Pending Component Based Servicing = Checked
2023-08-26 13:49:41,852 3512 [DEBUG] - - Pending Windows Auto Update = Checked
2023-08-26 13:49:41,852 3512 [DEBUG] - - Pending File Rename Operations = Ignored
2023-08-26 13:49:41,868 3512 [DEBUG] - - Pending Windows Package Installer = Checked
2023-08-26 13:49:41,868 3512 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-08-26 13:49:41,883 3512 [DEBUG] - Cache Folder Lockdown Checks:
2023-08-26 13:49:41,899 3512 [DEBUG] - - Elevated State = Checked
2023-08-26 13:49:41,899 3512 [DEBUG] - - Folder Exists = Checked
2023-08-26 13:49:41,915 3512 [DEBUG] - - Folder lockdown = Checked
2023-08-26 13:49:41,930 3512 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-08-26 13:49:41,977 3512 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-08-26 13:49:41,993 3512 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-08-26 13:49:42,024 3512 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|Verbose='True'|
Trace='False'|Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='wazuh-agent'|
Version='4.5.1'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='wazuh-agent'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-0GAED86ATIG'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2023-08-26 13:49:42,055 3512 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-08-26 13:49:42,071 3512 [INFO ] - Uninstalling the following packages:
2023-08-26 13:49:42,087 3512 [INFO ] - wazuh-agent
2023-08-26 13:49:42,118 3512 [DEBUG] - Current environment values (may contain sensitive data):
2023-08-26 13:49:42,118 3512 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-08-26 13:49:42,134 3512 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-26 13:49:42,149 3512 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-26 13:49:42,149 3512 [DEBUG] - * 'ChocolateyLastPathUpdate'='133375276988591594' ('User')
2023-08-26 13:49:42,165 3512 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-08-26 13:49:42,165 3512 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-08-26 13:49:42,180 3512 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-08-26 13:49:42,180 3512 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-08-26 13:49:42,180 3512 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-08-26 13:49:42,196 3512 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-08-26 13:49:42,196 3512 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-08-26 13:49:42,196 3512 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-08-26 13:49:42,211 3512 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-08-26 13:49:42,211 3512 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-08-26 13:49:42,227 3512 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-08-26 13:49:42,227 3512 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-08-26 13:49:42,227 3512 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-08-26 13:49:42,243 3512 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-08-26 13:49:42,243 3512 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-08-26 13:49:42,243 3512 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-08-26 13:49:42,478 3512 [DEBUG] - Running list with the following filter = ''
2023-08-26 13:49:42,478 3512 [DEBUG] - --- Start of List ---
2023-08-26 13:49:42,836 3512 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-08-26 13:49:43,352 3512 [DEBUG] - chocolatey 2.2.2
2023-08-26 13:49:43,368 3512 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-26 13:49:43,383 3512 [DEBUG] - KB2919355 1.0.20160915
2023-08-26 13:49:43,383 3512 [DEBUG] - KB2919442 1.0.20160915
2023-08-26 13:49:43,399 3512 [DEBUG] - KB2999226 1.0.20181019
2023-08-26 13:49:43,415 3512 [DEBUG] - KB3035131 1.0.3
2023-08-26 13:49:43,415 3512 [DEBUG] - KB3118401 1.0.5
2023-08-26 13:49:43,430 3512 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-26 13:49:43,571 3512 [DEBUG] - wazuh-agent 4.5.1
2023-08-26 13:49:43,571 3512 [DEBUG] - --- End of List ---
2023-08-26 13:49:43,587 3512 [DEBUG] - Running list with the following filter = ''
2023-08-26 13:49:43,587 3512 [DEBUG] - --- Start of List ---
2023-08-26 13:49:43,618 3512 [DEBUG] - chocolatey 2.2.2
2023-08-26 13:49:43,633 3512 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-26 13:49:43,649 3512 [DEBUG] - KB2919355 1.0.20160915
2023-08-26 13:49:43,665 3512 [DEBUG] - KB2919442 1.0.20160915
2023-08-26 13:49:43,665 3512 [DEBUG] - KB2999226 1.0.20181019
2023-08-26 13:49:43,680 3512 [DEBUG] - KB3035131 1.0.3
2023-08-26 13:49:43,696 3512 [DEBUG] - KB3118401 1.0.5
2023-08-26 13:49:43,711 3512 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-26 13:49:43,758 3512 [DEBUG] - wazuh-agent 4.5.1
2023-08-26 13:49:43,774 3512 [DEBUG] - --- End of List ---
2023-08-26 13:49:43,821 3512 [DEBUG] - Running list with the following filter = ''
2023-08-26 13:49:43,837 3512 [DEBUG] - --- Start of List ---
2023-08-26 13:49:43,884 3512 [DEBUG] - chocolatey 2.2.2
2023-08-26 13:49:43,884 3512 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-26 13:49:43,899 3512 [DEBUG] - KB2919355 1.0.20160915
2023-08-26 13:49:43,914 3512 [DEBUG] - KB2919442 1.0.20160915
2023-08-26 13:49:43,930 3512 [DEBUG] - KB2999226 1.0.20181019
2023-08-26 13:49:43,930 3512 [DEBUG] - KB3035131 1.0.3
2023-08-26 13:49:43,946 3512 [DEBUG] - KB3118401 1.0.5
2023-08-26 13:49:43,961 3512 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-26 13:49:44,008 3512 [DEBUG] - wazuh-agent 4.5.1
2023-08-26 13:49:44,008 3512 [DEBUG] - --- End of List ---
2023-08-26 13:49:44,087 3512 [INFO ] -
wazuh-agent v4.5.1
2023-08-26 13:49:44,117 3512 [DEBUG] - Running beforeModify step for 'wazuh-agent'
2023-08-26 13:49:44,149 3512 [DEBUG] - Backing up package files for 'wazuh-agent'
2023-08-26 13:49:44,289 3512 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent".
2023-08-26 13:49:44,305 3512 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\wazuh-agent to C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.1
2023-08-26 13:49:44,322 3512 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\wazuh-agent'
to 'C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.1'
2023-08-26 13:49:46,336 3512 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\wazuh-agent".
2023-08-26 13:49:46,336 3512 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.1\wazuh-agent.nupkg"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg".
2023-08-26 13:49:46,353 3512 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.1\wazuh-agent.nuspec"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec".
2023-08-26 13:49:46,367 3512 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\wazuh-agent\tools".
2023-08-26 13:49:46,367 3512 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.1\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1".
2023-08-26 13:49:46,383 3512 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.1\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1".
2023-08-26 13:49:46,383 3512 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.1\tools\helpers.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1".
2023-08-26 13:49:47,914 3512 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
2023-08-26 13:49:47,931 3512 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum 'D971D1D760E62A3152DADE6B61C33D5E'
2023-08-26 13:49:47,931 3512 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum '0DFE46394E35B8732A4C2D4B86185FA0'
2023-08-26 13:49:47,945 3512 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum '50E8BD8711B75A48B42FCE52DD1B8AF5'
2023-08-26 13:49:47,945 3512 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2023-08-26 13:49:47,961 3512 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2023-08-26 13:49:48,010 3512 [DEBUG] - Setting installer args for wazuh-agent
2023-08-26 13:49:48,010 3512 [DEBUG] - Setting package parameters for wazuh-agent
2023-08-26 13:49:48,024 3512 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1':
2023-08-26 13:49:48,041 3512 [DEBUG] - $ErrorActionPreference = 'Stop';
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = ''
fileType = ''
silentArgs = ''
validExitCodes = @(0, 3010, 1605, 1614, 1641)
}
if ($key.Count -eq 1) {
$key | ForEach-Object {
$packageArgs['file'] = "$($_.UninstallString)"
if ($packageArgs['fileType'] -eq 'MSI') {
$packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
$packageArgs['file'] = ''
}
Uninstall-ChocolateyPackage @packageArgs
}
} 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)"}
}
# Custom settings from package
## Remove files and folders
if (Get-Item -Path "<Path>" -ErrorAction SilentlyContinue) {
Remove-Item `
-Path "<Path>" `
-Recurse
Write-Output `
-InputObject "Remove Shortcut <Path>"
}
2023-08-26 13:49:48,087 3512 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-08-26 13:49:48,103 3512 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-08-26 13:49:48,728 3512 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-08-26 13:49:49,181 3512 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-26 13:49:49,181 3512 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-26 13:49:49,196 3512 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-26 13:49:49,196 3512 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-26 13:49:49,211 3512 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-26 13:49:49,211 3512 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-26 13:49:49,227 3512 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-26 13:49:49,227 3512 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-26 13:49:49,243 3512 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-26 13:49:49,243 3512 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-26 13:49:49,258 3512 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-26 13:49:49,258 3512 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-26 13:49:49,274 3512 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-26 13:49:49,274 3512 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-26 13:49:49,290 3512 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-26 13:49:49,290 3512 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-26 13:49:49,290 3512 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-26 13:49:49,305 3512 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-26 13:49:49,305 3512 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-26 13:49:49,320 3512 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-26 13:49:49,320 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-26 13:49:49,336 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-26 13:49:49,352 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-26 13:49:49,369 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-26 13:49:49,369 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-26 13:49:49,383 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-26 13:49:49,383 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-26 13:49:49,399 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-26 13:49:49,399 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-26 13:49:49,415 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-26 13:49:49,415 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-26 13:49:49,430 3512 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-26 13:49:49,430 3512 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-26 13:49:49,446 3512 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-26 13:49:49,446 3512 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-26 13:49:49,462 3512 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-26 13:49:49,462 3512 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-26 13:49:49,477 3512 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-26 13:49:49,477 3512 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-26 13:49:49,492 3512 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-26 13:49:49,492 3512 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-26 13:49:49,508 3512 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-26 13:49:49,508 3512 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-26 13:49:49,524 3512 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-26 13:49:49,555 3512 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-26 13:49:49,555 3512 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-26 13:49:49,571 3512 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-26 13:49:49,571 3512 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-26 13:49:49,586 3512 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-26 13:49:49,586 3512 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-26 13:49:49,602 3512 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-26 13:49:49,634 3512 [DEBUG] - Loading community extensions
2023-08-26 13:49:49,681 3512 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-08-26 13:49:49,681 3512 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-08-26 13:49:49,790 3512 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-26 13:49:49,806 3512 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-26 13:49:49,821 3512 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-26 13:49:49,821 3512 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-26 13:49:49,837 3512 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-26 13:49:49,837 3512 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-26 13:49:49,852 3512 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-26 13:49:49,852 3512 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-26 13:49:49,868 3512 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-26 13:49:49,868 3512 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-26 13:49:49,883 3512 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-26 13:49:49,883 3512 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-26 13:49:49,899 3512 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-26 13:49:49,899 3512 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-26 13:49:49,914 3512 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-26 13:49:49,914 3512 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-26 13:49:49,930 3512 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-26 13:49:49,930 3512 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-26 13:49:49,946 3512 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-26 13:49:49,946 3512 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-26 13:49:49,961 3512 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-26 13:49:49,961 3512 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-26 13:49:49,977 3512 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-26 13:49:49,977 3512 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-26 13:49:49,993 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-26 13:49:50,008 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-26 13:49:50,008 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-26 13:49:50,024 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-26 13:49:50,024 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-26 13:49:50,024 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-26 13:49:50,039 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-26 13:49:50,039 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-26 13:49:50,055 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-26 13:49:50,071 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-26 13:49:50,071 3512 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-26 13:49:50,086 3512 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-26 13:49:50,086 3512 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-26 13:49:50,102 3512 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-26 13:49:50,102 3512 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-26 13:49:50,102 3512 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-26 13:49:50,118 3512 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-26 13:49:50,133 3512 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-26 13:49:50,133 3512 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-26 13:49:50,149 3512 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-26 13:49:50,149 3512 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-26 13:49:50,149 3512 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-26 13:49:50,165 3512 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-26 13:49:50,165 3512 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-26 13:49:50,180 3512 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-26 13:49:50,180 3512 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-26 13:49:50,196 3512 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-26 13:49:50,196 3512 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-26 13:49:50,211 3512 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-26 13:49:50,211 3512 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-26 13:49:50,227 3512 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-26 13:49:50,243 3512 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-26 13:49:50,243 3512 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-26 13:49:50,258 3512 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-08-26 13:49:50,258 3512 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-08-26 13:49:50,274 3512 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-08-26 13:49:50,274 3512 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-08-26 13:49:50,289 3512 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-08-26 13:49:50,305 3512 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-08-26 13:49:50,305 3512 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-08-26 13:49:50,321 3512 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-08-26 13:49:50,321 3512 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-08-26 13:49:50,336 3512 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-08-26 13:49:50,336 3512 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-08-26 13:49:50,336 3512 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-08-26 13:49:50,352 3512 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-08-26 13:49:50,367 3512 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-08-26 13:49:50,367 3512 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-08-26 13:49:50,383 3512 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-08-26 13:49:50,383 3512 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-08-26 13:49:50,399 3512 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-08-26 13:49:50,399 3512 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-08-26 13:49:50,414 3512 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-08-26 13:49:50,414 3512 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-08-26 13:49:50,430 3512 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-08-26 13:49:50,430 3512 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-08-26 13:49:50,430 3512 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-08-26 13:49:50,446 3512 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-08-26 13:49:50,446 3512 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-08-26 13:49:50,461 3512 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-26 13:49:50,461 3512 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-08-26 13:49:50,477 3512 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-08-26 13:49:50,477 3512 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-08-26 13:49:50,493 3512 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-08-26 13:49:50,493 3512 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-08-26 13:49:50,508 3512 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-26 13:49:50,508 3512 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-08-26 13:49:50,524 3512 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-08-26 13:49:50,524 3512 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-08-26 13:49:50,539 3512 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-08-26 13:49:50,539 3512 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-26 13:49:50,539 3512 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-08-26 13:49:50,555 3512 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-26 13:49:50,555 3512 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-08-26 13:49:50,571 3512 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-08-26 13:49:50,571 3512 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-08-26 13:49:50,586 3512 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-08-26 13:49:50,586 3512 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-08-26 13:49:50,602 3512 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-08-26 13:49:50,618 3512 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-08-26 13:49:50,618 3512 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-08-26 13:49:50,618 3512 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-08-26 13:49:50,633 3512 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-08-26 13:49:50,649 3512 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-08-26 13:49:50,649 3512 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-08-26 13:49:50,664 3512 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-08-26 13:49:50,744 3512 [DEBUG] - ---------------------------Script Execution---------------------------
2023-08-26 13:49:50,774 3512 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.5.1 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-08-26 13:49:50,836 3512 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
2023-08-26 13:49:50,884 3512 [WARN ] - WARNING: wazuh-agent has already been uninstalled by other means.
2023-08-26 13:49:50,930 3512 [DEBUG] - ----------------------------------------------------------------------
2023-08-26 13:49:50,946 3512 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-08-26 13:49:50,992 3512 [INFO ] - Running auto uninstaller...
2023-08-26 13:49:50,992 3512 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-08-26 13:49:53,023 3512 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{B8FA3162-D845-4FDD-9F76-02FA1063D571}' for 'Wazuh Agent'
2023-08-26 13:49:53,087 3512 [DEBUG] - Uninstaller path is 'MsiExec.exe'
2023-08-26 13:49:53,102 3512 [DEBUG] - Installer type is 'MsiInstaller'
2023-08-26 13:49:53,118 3512 [DEBUG] - Setting up uninstall logging directory at C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.1
2023-08-26 13:49:53,133 3512 [DEBUG] - Args are '/X{B8FA3162-D845-4FDD-9F76-02FA1063D571} /qn /norestart'
2023-08-26 13:49:53,149 3512 [DEBUG] - Calling command ['"MsiExec.exe" /X{B8FA3162-D845-4FDD-9F76-02FA1063D571} /qn /norestart']
2023-08-26 13:49:57,086 3512 [DEBUG] - Command ['"MsiExec.exe" /X{B8FA3162-D845-4FDD-9F76-02FA1063D571} /qn /norestart'] exited with '0'
2023-08-26 13:49:57,086 3512 [INFO ] - Auto uninstaller has successfully uninstalled wazuh-agent or detected previous uninstall.
2023-08-26 13:49:57,102 3512 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-08-26 13:49:57,196 3512 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-08-26 13:49:57,212 3512 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent".
2023-08-26 13:49:57,243 3512 [DEBUG] - Ensuring removal of installation files.
2023-08-26 13:49:57,243 3512 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum 'D971D1D760E62A3152DADE6B61C33D5E'
2023-08-26 13:49:57,258 3512 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg".
2023-08-26 13:49:57,258 3512 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum '0DFE46394E35B8732A4C2D4B86185FA0'
2023-08-26 13:49:57,274 3512 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec".
2023-08-26 13:49:57,274 3512 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum '50E8BD8711B75A48B42FCE52DD1B8AF5'
2023-08-26 13:49:57,290 3512 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1".
2023-08-26 13:49:57,290 3512 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2023-08-26 13:49:57,305 3512 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1".
2023-08-26 13:49:57,305 3512 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2023-08-26 13:49:57,321 3512 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1".
2023-08-26 13:49:57,321 3512 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\wazuh-agent".
2023-08-26 13:49:57,321 3512 [INFO ] - wazuh-agent has been successfully uninstalled.
2023-08-26 13:49:57,337 3512 [DEBUG] - Removing nupkg if it still exists.
2023-08-26 13:49:57,352 3512 [DEBUG] - Ensuring removal of installation files.
2023-08-26 13:49:57,400 3512 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-08-26 13:49:57,400 3512 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-08-26 13:49:57,415 3512 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment