Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created October 13, 2023 13:45
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/d23dfe6ce1fe82063b79eb82a33a5486 to your computer and use it in GitHub Desktop.
Save choco-bot/d23dfe6ce1fe82063b79eb82a33a5486 to your computer and use it in GitHub Desktop.
wazuh-agent v4.5.3 - 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-193667172-2836369405-3962308021-1000</user>
<keys>
<key installerType="Msi" displayName="Wazuh Agent" displayVersion="4.5.3">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FCDE9224-E3EB-4C90-AE1E-4855AB6384F6}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{FCDE9224-E3EB-4C90-AE1E-4855AB6384F6}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Wazuh, Inc.]]></Publisher>
<InstallDate>20231013</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.3\]]></InstallSource>
<Language>1033</Language>
<Version>67436547</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\42654.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

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

  • https://community.chocolatey.org/packages/wazuh-agent/4.5.3
  • Tested 13 Oct 2023 13:45:03 +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="A2AE654BF0A505259356E8D971DFC9C4" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec" checksum="233FF8C0393B23AB9A5939CBCD066C27" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1" checksum="DD4A7C019A23837290309CC6AB689581" />
<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-10-13 13:44:06,064 2992 [DEBUG] - XmlConfiguration is now operational
2023-10-13 13:44:06,205 2992 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-10-13 13:44:06,220 2992 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-10-13 13:44:06,220 2992 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-10-13 13:44:06,220 2992 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-10-13 13:44:06,236 2992 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-10-13 13:44:06,236 2992 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-10-13 13:44:06,236 2992 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-10-13 13:44:06,236 2992 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-10-13 13:44:06,251 2992 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-10-13 13:44:06,251 2992 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-10-13 13:44:06,251 2992 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-10-13 13:44:07,049 2992 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:07,049 2992 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:07,049 2992 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:07,064 2992 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:07,064 2992 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:07,064 2992 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:07,064 2992 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:07,079 2992 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:07,079 2992 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:07,079 2992 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:07,111 2992 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-10-13 13:44:07,111 2992 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-10-13 13:44:07,127 2992 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-10-13 13:44:07,127 2992 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-10-13 13:44:07,142 2992 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-10-13 13:44:07,142 2992 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-10-13 13:44:07,142 2992 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-10-13 13:44:07,157 2992 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-10-13 13:44:07,157 2992 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-10-13 13:44:07,157 2992 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-10-13 13:44:07,157 2992 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-10-13 13:44:07,173 2992 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-10-13 13:44:07,173 2992 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-10-13 13:44:07,173 2992 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-10-13 13:44:07,173 2992 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-10-13 13:44:07,188 2992 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-10-13 13:44:07,188 2992 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-10-13 13:44:07,188 2992 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-10-13 13:44:07,204 2992 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-10-13 13:44:07,204 2992 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-10-13 13:44:07,485 2992 [INFO ] - ============================================================
2023-10-13 13:44:07,861 2992 [INFO ] - Chocolatey v2.2.2
2023-10-13 13:44:07,877 2992 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-10-13 13:44:07,893 2992 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-10-13 13:44:07,893 2992 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-10-13 13:44:07,923 2992 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install wazuh-agent --version 4.5.3 -fdvy --execution-timeout=2700 --allow-downgrade
2023-10-13 13:44:07,923 2992 [DEBUG] - Received arguments: install wazuh-agent --version 4.5.3 -fdvy --execution-timeout=2700 --allow-downgrade
2023-10-13 13:44:08,064 2992 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-10-13 13:44:08,095 2992 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-10-13 13:44:08,127 2992 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-10-13 13:44:08,299 2992 [DEBUG] - Performing validation checks.
2023-10-13 13:44:08,314 2992 [DEBUG] - Global Configuration Validation Checks:
2023-10-13 13:44:08,329 2992 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-10-13 13:44:08,345 2992 [DEBUG] - System State Validation Checks:
2023-10-13 13:44:08,345 2992 [DEBUG] - Reboot Requirement Checks:
2023-10-13 13:44:08,361 2992 [DEBUG] - - Pending Computer Rename = Checked
2023-10-13 13:44:08,376 2992 [DEBUG] - - Pending Component Based Servicing = Checked
2023-10-13 13:44:08,376 2992 [DEBUG] - - Pending Windows Auto Update = Checked
2023-10-13 13:44:08,392 2992 [DEBUG] - - Pending File Rename Operations = Ignored
2023-10-13 13:44:08,408 2992 [DEBUG] - - Pending Windows Package Installer = Checked
2023-10-13 13:44:08,408 2992 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-10-13 13:44:08,424 2992 [DEBUG] - Cache Folder Lockdown Checks:
2023-10-13 13:44:08,439 2992 [DEBUG] - - Elevated State = Checked
2023-10-13 13:44:08,439 2992 [DEBUG] - - Folder Exists = Checked
2023-10-13 13:44:08,471 2992 [DEBUG] - - Folder lockdown = Checked
2023-10-13 13:44:08,486 2992 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-10-13 13:44:08,533 2992 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-10-13 13:44:08,533 2992 [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-10-13 13:44:08,579 2992 [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.3'|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-ADQA2VR5FLH'|
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-10-13 13:44:08,595 2992 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-10-13 13:44:08,627 2992 [INFO ] - Installing the following packages:
2023-10-13 13:44:08,643 2992 [INFO ] - wazuh-agent
2023-10-13 13:44:08,643 2992 [INFO ] - By installing, you accept licenses for the packages.
2023-10-13 13:44:08,674 2992 [DEBUG] - Current environment values (may contain sensitive data):
2023-10-13 13:44:08,689 2992 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-10-13 13:44:08,689 2992 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-10-13 13:44:08,689 2992 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-10-13 13:44:08,705 2992 [DEBUG] - * 'ChocolateyLastPathUpdate'='133416731063242540' ('User')
2023-10-13 13:44:08,720 2992 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-10-13 13:44:08,720 2992 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-10-13 13:44:08,752 2992 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-10-13 13:44:08,767 2992 [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-10-13 13:44:08,767 2992 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-10-13 13:44:08,782 2992 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-10-13 13:44:08,782 2992 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-10-13 13:44:08,798 2992 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-10-13 13:44:08,798 2992 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-10-13 13:44:08,814 2992 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-10-13 13:44:08,830 2992 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-10-13 13:44:08,830 2992 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-10-13 13:44:08,845 2992 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-10-13 13:44:08,845 2992 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-10-13 13:44:08,861 2992 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-10-13 13:44:08,861 2992 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-10-13 13:44:09,361 2992 [DEBUG] - Running list with the following filter = ''
2023-10-13 13:44:09,376 2992 [DEBUG] - --- Start of List ---
2023-10-13 13:44:09,439 2992 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-10-13 13:44:09,893 2992 [DEBUG] - chocolatey 2.2.2
2023-10-13 13:44:09,925 2992 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-10-13 13:44:09,925 2992 [DEBUG] - KB2919355 1.0.20160915
2023-10-13 13:44:09,939 2992 [DEBUG] - KB2919442 1.0.20160915
2023-10-13 13:44:09,955 2992 [DEBUG] - KB2999226 1.0.20181019
2023-10-13 13:44:09,970 2992 [DEBUG] - KB3035131 1.0.3
2023-10-13 13:44:09,986 2992 [DEBUG] - KB3118401 1.0.5
2023-10-13 13:44:09,986 2992 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-10-13 13:44:10,001 2992 [DEBUG] - --- End of List ---
2023-10-13 13:44:10,017 2992 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2023-10-13 13:44:10,798 2992 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2023-10-13 13:44:11,392 2992 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.5.3')
2023-10-13 13:44:11,626 2992 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.5.3') 216ms
2023-10-13 13:44:11,767 2992 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2023-10-13 13:44:12,501 2992 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2023-10-13 13:44:12,501 2992 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.5.3')
2023-10-13 13:44:12,735 2992 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2023-10-13 13:44:12,751 2992 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2023-10-13 13:44:12,814 2992 [DEBUG] - Attempting to delete file "".
2023-10-13 13:44:12,845 2992 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/wazuh-agent/4.5.3
2023-10-13 13:44:13,391 2992 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/wazuh-agent/4.5.3 537ms
2023-10-13 13:44:13,438 2992 [INFO ] - [NuGet] Acquiring lock for the installation of wazuh-agent 4.5.3
2023-10-13 13:44:13,502 2992 [INFO ] - [NuGet] Acquired lock for the installation of wazuh-agent 4.5.3
2023-10-13 13:44:13,860 2992 [INFO ] - [NuGet] Installed wazuh-agent 4.5.3 from https://community.chocolatey.org/api/v2/ with content hash hz+9SlRygJnRL0/xSnqPmaAmyav4MigDlhSkZ2cFy3bypejDm7tsvkqHhw1GiI6NKBa1gH6gTV75p4Ph1FWycA==.
2023-10-13 13:44:13,923 2992 [INFO ] - [NuGet] Adding package 'wazuh-agent.4.5.3' to folder 'C:\ProgramData\chocolatey\lib'
2023-10-13 13:44:14,002 2992 [INFO ] - [NuGet] Added package 'wazuh-agent.4.5.3' to folder 'C:\ProgramData\chocolatey\lib'
2023-10-13 13:44:14,017 2992 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.5.3\wazuh-agent.4.5.3.nupkg".
2023-10-13 13:44:14,032 2992 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.5.3\.nupkg.metadata".
2023-10-13 13:44:14,032 2992 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.5.3\wazuh-agent.4.5.3.nupkg.sha512".
2023-10-13 13:44:14,048 2992 [INFO ] -
wazuh-agent v4.5.3 (forced)
2023-10-13 13:44:14,126 2992 [INFO ] - wazuh-agent package files install completed. Performing other installation steps.
2023-10-13 13:44:14,204 2992 [DEBUG] - Setting installer args for wazuh-agent
2023-10-13 13:44:14,204 2992 [DEBUG] - Setting package parameters for wazuh-agent
2023-10-13 13:44:14,220 2992 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1':
2023-10-13 13:44:14,235 2992 [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.3-1.msi'
$checksumPackage = '02fb2cde02a0b21711de9162ef187c05a256ebfa352278226cdc6eb0b92e842de73704aeab30d51e6ef54f0f7cb28f3645ee032eebc30623ddffb6bb1383132d'
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-10-13 13:44:14,299 2992 [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-10-13 13:44:14,314 2992 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-10-13 13:44:14,987 2992 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-10-13 13:44:15,377 2992 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-10-13 13:44:15,392 2992 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-10-13 13:44:15,392 2992 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-10-13 13:44:15,408 2992 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-10-13 13:44:15,408 2992 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-10-13 13:44:15,423 2992 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-10-13 13:44:15,423 2992 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-10-13 13:44:15,438 2992 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-10-13 13:44:15,438 2992 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-10-13 13:44:15,454 2992 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-10-13 13:44:15,454 2992 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-10-13 13:44:15,470 2992 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-10-13 13:44:15,470 2992 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-10-13 13:44:15,486 2992 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-10-13 13:44:15,486 2992 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-10-13 13:44:15,501 2992 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-10-13 13:44:15,501 2992 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-10-13 13:44:15,517 2992 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-10-13 13:44:15,517 2992 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-10-13 13:44:15,533 2992 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-10-13 13:44:15,533 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-10-13 13:44:15,548 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-10-13 13:44:15,611 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-10-13 13:44:15,611 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-10-13 13:44:15,626 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-10-13 13:44:15,626 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-10-13 13:44:15,642 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-10-13 13:44:15,642 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-10-13 13:44:15,658 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-10-13 13:44:15,673 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-10-13 13:44:15,673 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-10-13 13:44:15,689 2992 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-10-13 13:44:15,704 2992 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-10-13 13:44:15,704 2992 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-10-13 13:44:15,720 2992 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-10-13 13:44:15,735 2992 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-10-13 13:44:15,735 2992 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-10-13 13:44:15,751 2992 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-10-13 13:44:15,767 2992 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-10-13 13:44:15,767 2992 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-10-13 13:44:15,782 2992 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-10-13 13:44:15,782 2992 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-10-13 13:44:15,798 2992 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-10-13 13:44:15,798 2992 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-10-13 13:44:15,813 2992 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-10-13 13:44:15,829 2992 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-10-13 13:44:15,829 2992 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-10-13 13:44:15,844 2992 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-10-13 13:44:15,844 2992 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-10-13 13:44:15,860 2992 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-10-13 13:44:15,860 2992 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-10-13 13:44:15,892 2992 [DEBUG] - Loading community extensions
2023-10-13 13:44:15,939 2992 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-10-13 13:44:15,939 2992 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-10-13 13:44:16,049 2992 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-10-13 13:44:16,064 2992 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-10-13 13:44:16,064 2992 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-10-13 13:44:16,079 2992 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-10-13 13:44:16,095 2992 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-10-13 13:44:16,095 2992 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-10-13 13:44:16,111 2992 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-10-13 13:44:16,126 2992 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-10-13 13:44:16,126 2992 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-10-13 13:44:16,126 2992 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-10-13 13:44:16,142 2992 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-10-13 13:44:16,157 2992 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-10-13 13:44:16,157 2992 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-10-13 13:44:16,173 2992 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-10-13 13:44:16,189 2992 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-10-13 13:44:16,204 2992 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-10-13 13:44:16,204 2992 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-10-13 13:44:16,220 2992 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-10-13 13:44:16,220 2992 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-10-13 13:44:16,235 2992 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-10-13 13:44:16,235 2992 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-10-13 13:44:16,251 2992 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-10-13 13:44:16,251 2992 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-10-13 13:44:16,267 2992 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-10-13 13:44:16,282 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-10-13 13:44:16,282 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-10-13 13:44:16,298 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-10-13 13:44:16,298 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-10-13 13:44:16,298 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-10-13 13:44:16,314 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-10-13 13:44:16,330 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-10-13 13:44:16,345 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-10-13 13:44:16,345 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-10-13 13:44:16,361 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-10-13 13:44:16,361 2992 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-10-13 13:44:16,376 2992 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-10-13 13:44:16,392 2992 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-10-13 13:44:16,392 2992 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-10-13 13:44:16,407 2992 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-10-13 13:44:16,423 2992 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-10-13 13:44:16,423 2992 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-10-13 13:44:16,439 2992 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-10-13 13:44:16,439 2992 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-10-13 13:44:16,455 2992 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-10-13 13:44:16,455 2992 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-10-13 13:44:16,470 2992 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-10-13 13:44:16,470 2992 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-10-13 13:44:16,486 2992 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-10-13 13:44:16,486 2992 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-10-13 13:44:16,501 2992 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-10-13 13:44:16,517 2992 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-10-13 13:44:16,517 2992 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-10-13 13:44:16,532 2992 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-10-13 13:44:16,532 2992 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-10-13 13:44:16,548 2992 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-10-13 13:44:16,564 2992 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-10-13 13:44:16,564 2992 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-10-13 13:44:16,579 2992 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-10-13 13:44:16,579 2992 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-10-13 13:44:16,595 2992 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-10-13 13:44:16,595 2992 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-10-13 13:44:16,610 2992 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-10-13 13:44:16,610 2992 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-10-13 13:44:16,627 2992 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-10-13 13:44:16,627 2992 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-10-13 13:44:16,642 2992 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-10-13 13:44:16,657 2992 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-10-13 13:44:16,657 2992 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-10-13 13:44:16,673 2992 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-10-13 13:44:16,673 2992 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-10-13 13:44:16,688 2992 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-10-13 13:44:16,688 2992 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-10-13 13:44:16,704 2992 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-10-13 13:44:16,720 2992 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-10-13 13:44:16,736 2992 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-10-13 13:44:16,736 2992 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-10-13 13:44:16,751 2992 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-10-13 13:44:16,767 2992 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-10-13 13:44:16,767 2992 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-10-13 13:44:16,782 2992 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-10-13 13:44:16,782 2992 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-10-13 13:44:16,798 2992 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-10-13 13:44:16,798 2992 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-10-13 13:44:16,813 2992 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-10-13 13:44:16,829 2992 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-10-13 13:44:16,829 2992 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-10-13 13:44:16,845 2992 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-10-13 13:44:16,845 2992 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-10-13 13:44:16,860 2992 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-10-13 13:44:16,860 2992 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-10-13 13:44:16,876 2992 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-10-13 13:44:16,876 2992 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-10-13 13:44:16,892 2992 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-10-13 13:44:16,908 2992 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-10-13 13:44:16,908 2992 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-10-13 13:44:16,923 2992 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-10-13 13:44:16,938 2992 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-10-13 13:44:16,938 2992 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-10-13 13:44:16,954 2992 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-10-13 13:44:16,970 2992 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-10-13 13:44:16,970 2992 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-10-13 13:44:16,985 2992 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-10-13 13:44:16,985 2992 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-10-13 13:44:17,002 2992 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-10-13 13:44:17,002 2992 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-10-13 13:44:17,017 2992 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-10-13 13:44:17,017 2992 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-10-13 13:44:17,033 2992 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-10-13 13:44:17,048 2992 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-10-13 13:44:17,048 2992 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-10-13 13:44:17,174 2992 [DEBUG] - ---------------------------Script Execution---------------------------
2023-10-13 13:44:17,189 2992 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.5.3 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-10-13 13:44:17,283 2992 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
2023-10-13 13:44:17,361 2992 [DEBUG] - Running Get-PackageParameters
2023-10-13 13:44:17,392 2992 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2023-10-13 13:44:17,423 2992 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
2023-10-13 13:44:17,423 2992 [INFO ] - VERBOSE: Dot-sourcing the script file 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
2023-10-13 13:44:17,454 2992 [INFO ] -
2023-10-13 13:44:17,533 2992 [DEBUG] - Running Install-ChocolateyPackage -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.3-1.msi' -checksum '02fb2cde02a0b21711de9162ef187c05a256ebfa352278226cdc6eb0b92e842de73704aeab30d51e6ef54f0f7cb28f3645ee032eebc30623ddffb6bb1383132d' -checksum64 '02fb2cde02a0b21711de9162ef187c05a256ebfa352278226cdc6eb0b92e842de73704aeab30d51e6ef54f0f7cb28f3645ee032eebc30623ddffb6bb1383132d' -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.3-1.msi'
2023-10-13 13:44:17,705 2992 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'wazuh-agent' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.3\wazuh-agentInstall.msi' -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.3-1.msi' -url64bit 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.3-1.msi' -checksum '02fb2cde02a0b21711de9162ef187c05a256ebfa352278226cdc6eb0b92e842de73704aeab30d51e6ef54f0f7cb28f3645ee032eebc30623ddffb6bb1383132d' -checksumType 'SHA512' -checksum64 '02fb2cde02a0b21711de9162ef187c05a256ebfa352278226cdc6eb0b92e842de73704aeab30d51e6ef54f0f7cb28f3645ee032eebc30623ddffb6bb1383132d' -checksumType64 'SHA512' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2023-10-13 13:44:17,846 2992 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-10-13 13:44:17,877 2992 [DEBUG] - CPU is 64 bit
2023-10-13 13:44:17,908 2992 [DEBUG] - Setting url to 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.3-1.msi' and bitPackage to 64
2023-10-13 13:44:17,986 2992 [DEBUG] - Running Get-WebFileName -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.3-1.msi' -defaultName 'wazuh-agentInstall.msi'
2023-10-13 13:44:18,439 2992 [DEBUG] - Using response url to determine file name. 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.3-1.msi'
2023-10-13 13:44:18,454 2992 [DEBUG] - File name determined from url is 'wazuh-agent-4.5.3-1.msi'
2023-10-13 13:44:18,501 2992 [DEBUG] - Running Get-WebHeaders -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.3-1.msi' -ErrorAction 'Stop'
2023-10-13 13:44:18,518 2992 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-10-13 13:44:18,534 2992 [DEBUG] - Request Headers:
2023-10-13 13:44:18,548 2992 [DEBUG] - 'Accept':'*/*'
2023-10-13 13:44:18,548 2992 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-10-13 13:44:18,657 2992 [DEBUG] - Response Headers:
2023-10-13 13:44:18,657 2992 [DEBUG] - 'Connection':'keep-alive'
2023-10-13 13:44:18,675 2992 [DEBUG] - 'x-amz-server-side-encryption':'AES256'
2023-10-13 13:44:18,689 2992 [DEBUG] - 'x-amz-version-id':'Z7QYhRpMJXMN8TJXmdEnvr3q2TEgVId7'
2023-10-13 13:44:18,689 2992 [DEBUG] - 'X-Cache':'Hit from cloudfront'
2023-10-13 13:44:18,720 2992 [DEBUG] - 'X-Amz-Cf-Pop':'MCI50-P1'
2023-10-13 13:44:18,736 2992 [DEBUG] - 'X-Amz-Cf-Id':'RWEfcdpsJwWIerHFT4K3tABd77jLyZOkNpCnl5UkrSqKhg3T1_watw=='
2023-10-13 13:44:18,736 2992 [DEBUG] - 'Age':'78634'
2023-10-13 13:44:18,751 2992 [DEBUG] - 'Accept-Ranges':'bytes'
2023-10-13 13:44:18,767 2992 [DEBUG] - 'Content-Length':'6332416'
2023-10-13 13:44:18,767 2992 [DEBUG] - 'Content-Type':'binary/octet-stream'
2023-10-13 13:44:18,782 2992 [DEBUG] - 'Date':'Thu, 12 Oct 2023 15:53:45 GMT'
2023-10-13 13:44:18,782 2992 [DEBUG] - 'ETag':'"e629ef5beeab26c19c103f6fdb51806d"'
2023-10-13 13:44:18,798 2992 [DEBUG] - 'Last-Modified':'Tue, 10 Oct 2023 12:52:56 GMT'
2023-10-13 13:44:18,814 2992 [DEBUG] - 'Server':'AmazonS3'
2023-10-13 13:44:18,829 2992 [DEBUG] - 'Via':'1.1 5fd5a7100537b482d912581a18b4587e.cloudfront.net (CloudFront)'
2023-10-13 13:44:18,861 2992 [INFO ] - Downloading wazuh-agent 64 bit
from 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.3-1.msi'
2023-10-13 13:44:18,925 2992 [DEBUG] - Running Get-WebFile -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.3-1.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.3\wazuh-agent-4.5.3-1.msi' -options 'System.Collections.Hashtable'
2023-10-13 13:44:18,939 2992 [DEBUG] - Setting request timeout to 30000
2023-10-13 13:44:18,955 2992 [DEBUG] - Setting read/write timeout to 2700000
2023-10-13 13:44:18,955 2992 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-10-13 13:44:19,454 2992 [DEBUG] - Downloading https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.3-1.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.3\wazuh-agent-4.5.3-1.msi
2023-10-13 13:44:20,251 2992 [INFO ] -
2023-10-13 13:44:20,283 2992 [INFO ] - Download of wazuh-agent-4.5.3-1.msi (6.04 MB) completed.
2023-10-13 13:44:23,345 2992 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-10-13 13:44:23,361 2992 [DEBUG] - Verifying package provided checksum of '02fb2cde02a0b21711de9162ef187c05a256ebfa352278226cdc6eb0b92e842de73704aeab30d51e6ef54f0f7cb28f3645ee032eebc30623ddffb6bb1383132d' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.3\wazuh-agent-4.5.3-1.msi'.
2023-10-13 13:44:23,392 2992 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.3\wazuh-agent-4.5.3-1.msi' -checksum '02fb2cde02a0b21711de9162ef187c05a256ebfa352278226cdc6eb0b92e842de73704aeab30d51e6ef54f0f7cb28f3645ee032eebc30623ddffb6bb1383132d' -checksumType 'SHA512' -originalUrl 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.3-1.msi'
2023-10-13 13:44:23,424 2992 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-10-13 13:44:23,424 2992 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="02fb2cde02a0b21711de9162ef187c05a256ebfa352278226cdc6eb0b92e842de73704aeab30d51e6ef54f0f7cb28f3645ee032eebc30623ddffb6bb1383132d" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.3\wazuh-agent-4.5.3-1.msi"]
2023-10-13 13:44:24,361 2992 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="02fb2cde02a0b21711de9162ef187c05a256ebfa352278226cdc6eb0b92e842de73704aeab30d51e6ef54f0f7cb28f3645ee032eebc30623ddffb6bb1383132d" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.3\wazuh-agent-4.5.3-1.msi"] exited with '0'.
2023-10-13 13:44:24,439 2992 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'wazuh-agent' -fileType 'msi' -silentArgs ' /q' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.3\wazuh-agent-4.5.3-1.msi' -validExitCodes '0 1000 1101' -useOnlyPackageSilentArguments 'False'
2023-10-13 13:44:24,454 2992 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-10-13 13:44:24,470 2992 [INFO ] - Installing wazuh-agent...
2023-10-13 13:44:24,627 2992 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1000 1101' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.3' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.3\wazuh-agent-4.5.3-1.msi" /q ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-10-13 13:44:24,704 2992 [DEBUG] - Test-ProcessAdminRights: returning True
2023-10-13 13:44:24,736 2992 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.3\wazuh-agent-4.5.3-1.msi" /q ]. This may take a while, depending on the statements.
2023-10-13 13:44:32,064 2992 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.3\wazuh-agent-4.5.3-1.msi" /q ] exited with '0'.
2023-10-13 13:44:32,095 2992 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-10-13 13:44:32,111 2992 [INFO ] - wazuh-agent has been installed.
2023-10-13 13:44:32,127 2992 [DEBUG] - ----------------------------------------------------------------------
2023-10-13 13:44:32,142 2992 [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-10-13 13:44:32,158 2992 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-10-13 13:44:32,252 2992 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-10-13 13:44:32,299 2992 [INFO ] - wazuh-agent may be able to be automatically uninstalled.
2023-10-13 13:44:32,470 2992 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
2023-10-13 13:44:32,485 2992 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum 'A2AE654BF0A505259356E8D971DFC9C4'
2023-10-13 13:44:32,485 2992 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum '233FF8C0393B23AB9A5939CBCD066C27'
2023-10-13 13:44:32,502 2992 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum 'DD4A7C019A23837290309CC6AB689581'
2023-10-13 13:44:32,502 2992 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2023-10-13 13:44:32,517 2992 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2023-10-13 13:44:32,595 2992 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.3".
2023-10-13 13:44:32,658 2992 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.3\.registry'
2023-10-13 13:44:32,689 2992 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.3\.files'
2023-10-13 13:44:32,704 2992 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.3\.extra".
2023-10-13 13:44:32,720 2992 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.3\.version".
2023-10-13 13:44:32,720 2992 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.3\.sxs".
2023-10-13 13:44:32,736 2992 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.3\.pin".
2023-10-13 13:44:32,751 2992 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-10-13 13:44:32,751 2992 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\.chocolateyPending".
2023-10-13 13:44:32,767 2992 [INFO ] - The install of wazuh-agent was successful.
2023-10-13 13:44:32,783 2992 [INFO ] - Software installed as 'msi', install location is likely default.
2023-10-13 13:44:32,830 2992 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-10-13 13:44:32,830 2992 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-10-13 13:44:32,845 2992 [DEBUG] - Exiting with 0
2023-10-13 13:44:45,142 4564 [DEBUG] - XmlConfiguration is now operational
2023-10-13 13:44:45,266 4564 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-10-13 13:44:45,266 4564 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-10-13 13:44:45,266 4564 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-10-13 13:44:45,266 4564 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-10-13 13:44:45,282 4564 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-10-13 13:44:45,282 4564 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-10-13 13:44:45,282 4564 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-10-13 13:44:45,298 4564 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-10-13 13:44:45,298 4564 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-10-13 13:44:45,298 4564 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-10-13 13:44:45,298 4564 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-10-13 13:44:46,158 4564 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:46,173 4564 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:46,173 4564 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:46,173 4564 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:46,173 4564 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:46,189 4564 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:46,189 4564 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:46,189 4564 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:46,204 4564 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:46,204 4564 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-13 13:44:46,236 4564 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-10-13 13:44:46,236 4564 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-10-13 13:44:46,236 4564 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-10-13 13:44:46,251 4564 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-10-13 13:44:46,251 4564 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-10-13 13:44:46,251 4564 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-10-13 13:44:46,251 4564 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-10-13 13:44:46,267 4564 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-10-13 13:44:46,267 4564 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-10-13 13:44:46,267 4564 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-10-13 13:44:46,282 4564 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-10-13 13:44:46,282 4564 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-10-13 13:44:46,282 4564 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-10-13 13:44:46,282 4564 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-10-13 13:44:46,298 4564 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-10-13 13:44:46,298 4564 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-10-13 13:44:46,298 4564 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-10-13 13:44:46,298 4564 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-10-13 13:44:46,314 4564 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-10-13 13:44:46,314 4564 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-10-13 13:44:46,595 4564 [INFO ] - ============================================================
2023-10-13 13:44:47,048 4564 [INFO ] - Chocolatey v2.2.2
2023-10-13 13:44:47,111 4564 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-10-13 13:44:47,126 4564 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-10-13 13:44:47,126 4564 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-10-13 13:44:47,158 4564 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall wazuh-agent --version 4.5.3 -dvy --execution-timeout=2700
2023-10-13 13:44:47,158 4564 [DEBUG] - Received arguments: uninstall wazuh-agent --version 4.5.3 -dvy --execution-timeout=2700
2023-10-13 13:44:47,329 4564 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-10-13 13:44:47,346 4564 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-10-13 13:44:47,376 4564 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-10-13 13:44:47,579 4564 [DEBUG] - Performing validation checks.
2023-10-13 13:44:47,595 4564 [DEBUG] - Global Configuration Validation Checks:
2023-10-13 13:44:47,611 4564 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-10-13 13:44:47,627 4564 [DEBUG] - System State Validation Checks:
2023-10-13 13:44:47,642 4564 [DEBUG] - Reboot Requirement Checks:
2023-10-13 13:44:47,642 4564 [DEBUG] - - Pending Computer Rename = Checked
2023-10-13 13:44:47,657 4564 [DEBUG] - - Pending Component Based Servicing = Checked
2023-10-13 13:44:47,673 4564 [DEBUG] - - Pending Windows Auto Update = Checked
2023-10-13 13:44:47,673 4564 [DEBUG] - - Pending File Rename Operations = Ignored
2023-10-13 13:44:47,689 4564 [DEBUG] - - Pending Windows Package Installer = Checked
2023-10-13 13:44:47,689 4564 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-10-13 13:44:47,704 4564 [DEBUG] - Cache Folder Lockdown Checks:
2023-10-13 13:44:47,721 4564 [DEBUG] - - Elevated State = Checked
2023-10-13 13:44:47,721 4564 [DEBUG] - - Folder Exists = Checked
2023-10-13 13:44:47,735 4564 [DEBUG] - - Folder lockdown = Checked
2023-10-13 13:44:47,751 4564 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-10-13 13:44:47,798 4564 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-10-13 13:44:47,813 4564 [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-10-13 13:44:47,845 4564 [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.3'|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-ADQA2VR5FLH'|
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-10-13 13:44:47,860 4564 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-10-13 13:44:47,892 4564 [INFO ] - Uninstalling the following packages:
2023-10-13 13:44:47,892 4564 [INFO ] - wazuh-agent
2023-10-13 13:44:47,939 4564 [DEBUG] - Current environment values (may contain sensitive data):
2023-10-13 13:44:47,939 4564 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-10-13 13:44:47,955 4564 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-10-13 13:44:47,955 4564 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-10-13 13:44:47,970 4564 [DEBUG] - * 'ChocolateyLastPathUpdate'='133416731063242540' ('User')
2023-10-13 13:44:47,970 4564 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-10-13 13:44:47,986 4564 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-10-13 13:44:47,986 4564 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-10-13 13:44:48,001 4564 [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-10-13 13:44:48,017 4564 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-10-13 13:44:48,017 4564 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-10-13 13:44:48,032 4564 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-10-13 13:44:48,032 4564 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-10-13 13:44:48,048 4564 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-10-13 13:44:48,048 4564 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-10-13 13:44:48,063 4564 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-10-13 13:44:48,063 4564 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-10-13 13:44:48,079 4564 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-10-13 13:44:48,079 4564 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-10-13 13:44:48,095 4564 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-10-13 13:44:48,095 4564 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-10-13 13:44:48,345 4564 [DEBUG] - Running list with the following filter = ''
2023-10-13 13:44:48,361 4564 [DEBUG] - --- Start of List ---
2023-10-13 13:44:48,595 4564 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-10-13 13:44:49,110 4564 [DEBUG] - chocolatey 2.2.2
2023-10-13 13:44:49,127 4564 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-10-13 13:44:49,142 4564 [DEBUG] - KB2919355 1.0.20160915
2023-10-13 13:44:49,158 4564 [DEBUG] - KB2919442 1.0.20160915
2023-10-13 13:44:49,173 4564 [DEBUG] - KB2999226 1.0.20181019
2023-10-13 13:44:49,188 4564 [DEBUG] - KB3035131 1.0.3
2023-10-13 13:44:49,188 4564 [DEBUG] - KB3118401 1.0.5
2023-10-13 13:44:49,204 4564 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-10-13 13:44:49,345 4564 [DEBUG] - wazuh-agent 4.5.3
2023-10-13 13:44:49,361 4564 [DEBUG] - --- End of List ---
2023-10-13 13:44:49,377 4564 [DEBUG] - Running list with the following filter = ''
2023-10-13 13:44:49,377 4564 [DEBUG] - --- Start of List ---
2023-10-13 13:44:49,423 4564 [DEBUG] - chocolatey 2.2.2
2023-10-13 13:44:49,439 4564 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-10-13 13:44:49,454 4564 [DEBUG] - KB2919355 1.0.20160915
2023-10-13 13:44:49,470 4564 [DEBUG] - KB2919442 1.0.20160915
2023-10-13 13:44:49,470 4564 [DEBUG] - KB2999226 1.0.20181019
2023-10-13 13:44:49,486 4564 [DEBUG] - KB3035131 1.0.3
2023-10-13 13:44:49,502 4564 [DEBUG] - KB3118401 1.0.5
2023-10-13 13:44:49,517 4564 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-10-13 13:44:49,548 4564 [DEBUG] - wazuh-agent 4.5.3
2023-10-13 13:44:49,564 4564 [DEBUG] - --- End of List ---
2023-10-13 13:44:49,627 4564 [DEBUG] - Running list with the following filter = ''
2023-10-13 13:44:49,627 4564 [DEBUG] - --- Start of List ---
2023-10-13 13:44:49,673 4564 [DEBUG] - chocolatey 2.2.2
2023-10-13 13:44:49,689 4564 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-10-13 13:44:49,704 4564 [DEBUG] - KB2919355 1.0.20160915
2023-10-13 13:44:49,723 4564 [DEBUG] - KB2919442 1.0.20160915
2023-10-13 13:44:49,723 4564 [DEBUG] - KB2999226 1.0.20181019
2023-10-13 13:44:49,736 4564 [DEBUG] - KB3035131 1.0.3
2023-10-13 13:44:49,751 4564 [DEBUG] - KB3118401 1.0.5
2023-10-13 13:44:49,767 4564 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-10-13 13:44:49,798 4564 [DEBUG] - wazuh-agent 4.5.3
2023-10-13 13:44:49,814 4564 [DEBUG] - --- End of List ---
2023-10-13 13:44:49,877 4564 [INFO ] -
wazuh-agent v4.5.3
2023-10-13 13:44:49,923 4564 [DEBUG] - Running beforeModify step for 'wazuh-agent'
2023-10-13 13:44:49,956 4564 [DEBUG] - Backing up package files for 'wazuh-agent'
2023-10-13 13:44:50,111 4564 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent".
2023-10-13 13:44:50,111 4564 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\wazuh-agent to C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.3
2023-10-13 13:44:50,127 4564 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\wazuh-agent'
to 'C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.3'
2023-10-13 13:44:52,157 4564 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\wazuh-agent".
2023-10-13 13:44:52,157 4564 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.3\wazuh-agent.nupkg"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg".
2023-10-13 13:44:52,173 4564 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.3\wazuh-agent.nuspec"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec".
2023-10-13 13:44:52,188 4564 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\wazuh-agent\tools".
2023-10-13 13:44:52,188 4564 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.3\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1".
2023-10-13 13:44:52,204 4564 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.3\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1".
2023-10-13 13:44:52,220 4564 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.3\tools\helpers.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1".
2023-10-13 13:44:53,735 4564 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
2023-10-13 13:44:53,752 4564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum 'A2AE654BF0A505259356E8D971DFC9C4'
2023-10-13 13:44:53,752 4564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum '233FF8C0393B23AB9A5939CBCD066C27'
2023-10-13 13:44:53,767 4564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum 'DD4A7C019A23837290309CC6AB689581'
2023-10-13 13:44:53,767 4564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2023-10-13 13:44:53,767 4564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2023-10-13 13:44:53,829 4564 [DEBUG] - Setting installer args for wazuh-agent
2023-10-13 13:44:53,829 4564 [DEBUG] - Setting package parameters for wazuh-agent
2023-10-13 13:44:53,845 4564 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1':
2023-10-13 13:44:53,860 4564 [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-10-13 13:44:53,908 4564 [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-10-13 13:44:53,923 4564 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-10-13 13:44:54,579 4564 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-10-13 13:44:55,049 4564 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-10-13 13:44:55,064 4564 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-10-13 13:44:55,064 4564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-10-13 13:44:55,079 4564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-10-13 13:44:55,095 4564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-10-13 13:44:55,095 4564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-10-13 13:44:55,110 4564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-10-13 13:44:55,110 4564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-10-13 13:44:55,126 4564 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-10-13 13:44:55,126 4564 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-10-13 13:44:55,142 4564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-10-13 13:44:55,158 4564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-10-13 13:44:55,158 4564 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-10-13 13:44:55,173 4564 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-10-13 13:44:55,173 4564 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-10-13 13:44:55,189 4564 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-10-13 13:44:55,189 4564 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-10-13 13:44:55,204 4564 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-10-13 13:44:55,204 4564 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-10-13 13:44:55,220 4564 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-10-13 13:44:55,220 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-10-13 13:44:55,236 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-10-13 13:44:55,251 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-10-13 13:44:55,251 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-10-13 13:44:55,267 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-10-13 13:44:55,267 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-10-13 13:44:55,282 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-10-13 13:44:55,282 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-10-13 13:44:55,298 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-10-13 13:44:55,298 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-10-13 13:44:55,314 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-10-13 13:44:55,329 4564 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-10-13 13:44:55,329 4564 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-10-13 13:44:55,329 4564 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-10-13 13:44:55,345 4564 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-10-13 13:44:55,360 4564 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-10-13 13:44:55,360 4564 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-10-13 13:44:55,360 4564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-10-13 13:44:55,376 4564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-10-13 13:44:55,392 4564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-10-13 13:44:55,392 4564 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-10-13 13:44:55,407 4564 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-10-13 13:44:55,407 4564 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-10-13 13:44:55,423 4564 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-10-13 13:44:55,423 4564 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-10-13 13:44:55,455 4564 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-10-13 13:44:55,470 4564 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-10-13 13:44:55,470 4564 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-10-13 13:44:55,485 4564 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-10-13 13:44:55,485 4564 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-10-13 13:44:55,501 4564 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-10-13 13:44:55,533 4564 [DEBUG] - Loading community extensions
2023-10-13 13:44:55,564 4564 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-10-13 13:44:55,579 4564 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-10-13 13:44:55,705 4564 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-10-13 13:44:55,705 4564 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-10-13 13:44:55,705 4564 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-10-13 13:44:55,720 4564 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-10-13 13:44:55,736 4564 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-10-13 13:44:55,736 4564 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-10-13 13:44:55,751 4564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-10-13 13:44:55,751 4564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-10-13 13:44:55,766 4564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-10-13 13:44:55,782 4564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-10-13 13:44:55,782 4564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-10-13 13:44:55,782 4564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-10-13 13:44:55,798 4564 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-10-13 13:44:55,798 4564 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-10-13 13:44:55,814 4564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-10-13 13:44:55,829 4564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-10-13 13:44:55,829 4564 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-10-13 13:44:55,846 4564 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-10-13 13:44:55,846 4564 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-10-13 13:44:55,860 4564 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-10-13 13:44:55,860 4564 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-10-13 13:44:55,878 4564 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-10-13 13:44:55,892 4564 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-10-13 13:44:55,892 4564 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-10-13 13:44:55,907 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-10-13 13:44:55,907 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-10-13 13:44:55,923 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-10-13 13:44:55,923 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-10-13 13:44:55,939 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-10-13 13:44:55,939 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-10-13 13:44:55,955 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-10-13 13:44:55,955 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-10-13 13:44:55,986 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-10-13 13:44:56,017 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-10-13 13:44:56,032 4564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-10-13 13:44:56,032 4564 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-10-13 13:44:56,048 4564 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-10-13 13:44:56,048 4564 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-10-13 13:44:56,064 4564 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-10-13 13:44:56,064 4564 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-10-13 13:44:56,080 4564 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-10-13 13:44:56,095 4564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-10-13 13:44:56,095 4564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-10-13 13:44:56,095 4564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-10-13 13:44:56,111 4564 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-10-13 13:44:56,111 4564 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-10-13 13:44:56,126 4564 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-10-13 13:44:56,142 4564 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-10-13 13:44:56,142 4564 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-10-13 13:44:56,157 4564 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-10-13 13:44:56,157 4564 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-10-13 13:44:56,157 4564 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-10-13 13:44:56,173 4564 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-10-13 13:44:56,189 4564 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-10-13 13:44:56,189 4564 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-10-13 13:44:56,204 4564 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-10-13 13:44:56,204 4564 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-10-13 13:44:56,220 4564 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-10-13 13:44:56,236 4564 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-10-13 13:44:56,236 4564 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-10-13 13:44:56,251 4564 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-10-13 13:44:56,251 4564 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-10-13 13:44:56,267 4564 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-10-13 13:44:56,267 4564 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-10-13 13:44:56,283 4564 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-10-13 13:44:56,283 4564 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-10-13 13:44:56,298 4564 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-10-13 13:44:56,298 4564 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-10-13 13:44:56,314 4564 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-10-13 13:44:56,329 4564 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-10-13 13:44:56,329 4564 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-10-13 13:44:56,329 4564 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-10-13 13:44:56,345 4564 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-10-13 13:44:56,361 4564 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-10-13 13:44:56,361 4564 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-10-13 13:44:56,377 4564 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-10-13 13:44:56,392 4564 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-10-13 13:44:56,392 4564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-10-13 13:44:56,392 4564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-10-13 13:44:56,407 4564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-10-13 13:44:56,423 4564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-10-13 13:44:56,423 4564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-10-13 13:44:56,439 4564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-10-13 13:44:56,439 4564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-10-13 13:44:56,454 4564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-10-13 13:44:56,454 4564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-10-13 13:44:56,471 4564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-10-13 13:44:56,471 4564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-10-13 13:44:56,485 4564 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-10-13 13:44:56,485 4564 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-10-13 13:44:56,501 4564 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-10-13 13:44:56,501 4564 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-10-13 13:44:56,517 4564 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-10-13 13:44:56,517 4564 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-10-13 13:44:56,533 4564 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-10-13 13:44:56,548 4564 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-10-13 13:44:56,548 4564 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-10-13 13:44:56,548 4564 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-10-13 13:44:56,564 4564 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-10-13 13:44:56,564 4564 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-10-13 13:44:56,579 4564 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-10-13 13:44:56,595 4564 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-10-13 13:44:56,595 4564 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-10-13 13:44:56,611 4564 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-10-13 13:44:56,626 4564 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-10-13 13:44:56,626 4564 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-10-13 13:44:56,642 4564 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-10-13 13:44:56,642 4564 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-10-13 13:44:56,657 4564 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-10-13 13:44:56,657 4564 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-10-13 13:44:56,767 4564 [DEBUG] - ---------------------------Script Execution---------------------------
2023-10-13 13:44:56,783 4564 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.5.3 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-10-13 13:44:56,845 4564 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
2023-10-13 13:44:56,877 4564 [WARN ] - WARNING: wazuh-agent has already been uninstalled by other means.
2023-10-13 13:44:56,923 4564 [DEBUG] - ----------------------------------------------------------------------
2023-10-13 13:44:56,939 4564 [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-10-13 13:44:56,985 4564 [INFO ] - Running auto uninstaller...
2023-10-13 13:44:57,001 4564 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-10-13 13:44:59,016 4564 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{FCDE9224-E3EB-4C90-AE1E-4855AB6384F6}' for 'Wazuh Agent'
2023-10-13 13:44:59,081 4564 [DEBUG] - Uninstaller path is 'MsiExec.exe'
2023-10-13 13:44:59,095 4564 [DEBUG] - Installer type is 'MsiInstaller'
2023-10-13 13:44:59,095 4564 [DEBUG] - Setting up uninstall logging directory at C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.3
2023-10-13 13:44:59,111 4564 [DEBUG] - Args are '/X{FCDE9224-E3EB-4C90-AE1E-4855AB6384F6} /qn /norestart'
2023-10-13 13:44:59,127 4564 [DEBUG] - Calling command ['"MsiExec.exe" /X{FCDE9224-E3EB-4C90-AE1E-4855AB6384F6} /qn /norestart']
2023-10-13 13:45:02,985 4564 [DEBUG] - Command ['"MsiExec.exe" /X{FCDE9224-E3EB-4C90-AE1E-4855AB6384F6} /qn /norestart'] exited with '0'
2023-10-13 13:45:03,001 4564 [INFO ] - Auto uninstaller has successfully uninstalled wazuh-agent or detected previous uninstall.
2023-10-13 13:45:03,001 4564 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-10-13 13:45:03,126 4564 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-10-13 13:45:03,143 4564 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent".
2023-10-13 13:45:03,220 4564 [DEBUG] - Ensuring removal of installation files.
2023-10-13 13:45:03,220 4564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum 'A2AE654BF0A505259356E8D971DFC9C4'
2023-10-13 13:45:03,220 4564 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg".
2023-10-13 13:45:03,236 4564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum '233FF8C0393B23AB9A5939CBCD066C27'
2023-10-13 13:45:03,251 4564 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec".
2023-10-13 13:45:03,267 4564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum 'DD4A7C019A23837290309CC6AB689581'
2023-10-13 13:45:03,267 4564 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1".
2023-10-13 13:45:03,282 4564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2023-10-13 13:45:03,299 4564 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1".
2023-10-13 13:45:03,299 4564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2023-10-13 13:45:03,314 4564 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1".
2023-10-13 13:45:03,314 4564 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\wazuh-agent".
2023-10-13 13:45:03,329 4564 [INFO ] - wazuh-agent has been successfully uninstalled.
2023-10-13 13:45:03,329 4564 [DEBUG] - Removing nupkg if it still exists.
2023-10-13 13:45:03,345 4564 [DEBUG] - Ensuring removal of installation files.
2023-10-13 13:45:03,394 4564 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-10-13 13:45:03,407 4564 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-10-13 13:45:03,470 4564 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment