Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created January 11, 2024 13:53
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/1bfbefdbc4526a4efff72e15aec17db8 to your computer and use it in GitHub Desktop.
Save choco-bot/1bfbefdbc4526a4efff72e15aec17db8 to your computer and use it in GitHub Desktop.
wazuh-agent v4.7.2 - 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-2375720042-2872283302-3372554207-1000</user>
<keys>
<key installerType="Msi" displayName="Wazuh Agent" displayVersion="4.7.2">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4612144F-DAED-447A-A7E9-7483C78EF093}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{4612144F-DAED-447A-A7E9-7483C78EF093}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Wazuh, Inc.]]></Publisher>
<InstallDate>20240111</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\]]></InstallSource>
<Language>1033</Language>
<Version>67567618</Version>
<VersionMajor>4</VersionMajor>
<VersionMinor>7</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>true</NoModify>
<NoRepair>true</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\61c77.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

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

  • https://community.chocolatey.org/packages/wazuh-agent/4.7.2
  • Tested 11 Jan 2024 13:53:23 +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="668AF91CB5FE29A030D057C0E5E0BBD4" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec" checksum="46AF32A7F4E1D96DBD22553D4336F8C1" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1" checksum="5F330DB3726B929ECAB370F9B32B8F0B" />
<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>
2024-01-11 13:51:50,091 808 [DEBUG] - XmlConfiguration is now operational
2024-01-11 13:51:50,279 808 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-01-11 13:51:50,279 808 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-01-11 13:51:50,295 808 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-01-11 13:51:50,295 808 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-01-11 13:51:50,310 808 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-01-11 13:51:50,310 808 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-01-11 13:51:50,326 808 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-01-11 13:51:50,326 808 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-01-11 13:51:50,326 808 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-01-11 13:51:50,341 808 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-01-11 13:51:50,341 808 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-01-11 13:51:51,278 808 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:51:51,294 808 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:51:51,294 808 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:51:51,310 808 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:51:51,310 808 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:51:51,325 808 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:51:51,325 808 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:51:51,325 808 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:51:51,341 808 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:51:51,341 808 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:51:51,373 808 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-01-11 13:51:51,387 808 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-01-11 13:51:51,387 808 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-01-11 13:51:51,403 808 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-01-11 13:51:51,403 808 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-01-11 13:51:51,419 808 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-01-11 13:51:51,419 808 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-01-11 13:51:51,419 808 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-01-11 13:51:51,434 808 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-01-11 13:51:51,434 808 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-01-11 13:51:51,434 808 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-01-11 13:51:51,450 808 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-01-11 13:51:51,450 808 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-01-11 13:51:51,450 808 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-01-11 13:51:51,467 808 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-01-11 13:51:51,467 808 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-01-11 13:51:51,482 808 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-01-11 13:51:51,482 808 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-01-11 13:51:51,500 808 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-01-11 13:51:51,500 808 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-01-11 13:51:51,856 808 [INFO ] - ============================================================
2024-01-11 13:51:52,297 808 [INFO ] - Chocolatey v2.2.2
2024-01-11 13:51:52,341 808 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-01-11 13:51:52,341 808 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-01-11 13:51:52,357 808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-01-11 13:51:52,403 808 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install wazuh-agent --version 4.7.2 -fdvy --execution-timeout=2700 --allow-downgrade
2024-01-11 13:51:52,403 808 [DEBUG] - Received arguments: install wazuh-agent --version 4.7.2 -fdvy --execution-timeout=2700 --allow-downgrade
2024-01-11 13:51:52,607 808 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-01-11 13:51:52,639 808 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-01-11 13:51:52,669 808 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-01-11 13:51:52,887 808 [DEBUG] - Performing validation checks.
2024-01-11 13:51:52,903 808 [DEBUG] - Global Configuration Validation Checks:
2024-01-11 13:51:52,919 808 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-01-11 13:51:52,934 808 [DEBUG] - System State Validation Checks:
2024-01-11 13:51:52,951 808 [DEBUG] - Reboot Requirement Checks:
2024-01-11 13:51:52,951 808 [DEBUG] - - Pending Computer Rename = Checked
2024-01-11 13:51:52,966 808 [DEBUG] - - Pending Component Based Servicing = Checked
2024-01-11 13:51:52,983 808 [DEBUG] - - Pending Windows Auto Update = Checked
2024-01-11 13:51:52,998 808 [DEBUG] - - Pending File Rename Operations = Ignored
2024-01-11 13:51:52,998 808 [DEBUG] - - Pending Windows Package Installer = Checked
2024-01-11 13:51:53,013 808 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-01-11 13:51:53,029 808 [DEBUG] - Cache Folder Lockdown Checks:
2024-01-11 13:51:53,029 808 [DEBUG] - - Elevated State = Checked
2024-01-11 13:51:53,044 808 [DEBUG] - - Folder Exists = Checked
2024-01-11 13:51:53,169 808 [DEBUG] - - Folder lockdown = Checked
2024-01-11 13:51:53,186 808 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-01-11 13:51:53,231 808 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-01-11 13:51:53,247 808 [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.
2024-01-11 13:51:53,309 808 [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.7.2'|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-A26USK61H9C'|
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'|
2024-01-11 13:51:53,325 808 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2024-01-11 13:51:53,357 808 [INFO ] - Installing the following packages:
2024-01-11 13:51:53,372 808 [INFO ] - wazuh-agent
2024-01-11 13:51:53,372 808 [INFO ] - By installing, you accept licenses for the packages.
2024-01-11 13:51:53,403 808 [DEBUG] - Current environment values (may contain sensitive data):
2024-01-11 13:51:53,418 808 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-01-11 13:51:53,418 808 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-01-11 13:51:53,434 808 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-01-11 13:51:53,434 808 [DEBUG] - * 'ChocolateyLastPathUpdate'='133494487506024004' ('User')
2024-01-11 13:51:53,451 808 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-01-11 13:51:53,451 808 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-01-11 13:51:53,451 808 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-01-11 13:51:53,467 808 [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')
2024-01-11 13:51:53,482 808 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-01-11 13:51:53,482 808 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-01-11 13:51:53,499 808 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-01-11 13:51:53,499 808 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-01-11 13:51:53,512 808 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-01-11 13:51:53,529 808 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-01-11 13:51:53,529 808 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-01-11 13:51:53,545 808 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-01-11 13:51:53,545 808 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-01-11 13:51:53,559 808 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-01-11 13:51:53,559 808 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-01-11 13:51:53,576 808 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-01-11 13:51:54,231 808 [DEBUG] - Running list with the following filter = ''
2024-01-11 13:51:54,231 808 [DEBUG] - --- Start of List ---
2024-01-11 13:51:54,294 808 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-01-11 13:51:54,888 808 [DEBUG] - chocolatey 2.2.2
2024-01-11 13:51:54,903 808 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-01-11 13:51:54,918 808 [DEBUG] - KB2919355 1.0.20160915
2024-01-11 13:51:54,918 808 [DEBUG] - KB2919442 1.0.20160915
2024-01-11 13:51:54,935 808 [DEBUG] - KB2999226 1.0.20181019
2024-01-11 13:51:54,950 808 [DEBUG] - KB3035131 1.0.3
2024-01-11 13:51:54,966 808 [DEBUG] - KB3118401 1.0.5
2024-01-11 13:51:54,997 808 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2024-01-11 13:51:55,012 808 [DEBUG] - --- End of List ---
2024-01-11 13:51:55,031 808 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2024-01-11 13:51:55,747 808 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2024-01-11 13:51:56,450 808 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.7.2')
2024-01-11 13:51:56,700 808 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.7.2') 237ms
2024-01-11 13:51:56,902 808 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2024-01-11 13:51:57,622 808 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2024-01-11 13:51:57,637 808 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.7.2')
2024-01-11 13:51:57,887 808 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-01-11 13:51:57,918 808 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2024-01-11 13:51:57,981 808 [DEBUG] - Attempting to delete file "".
2024-01-11 13:51:58,043 808 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/wazuh-agent/4.7.2
2024-01-11 13:51:58,527 808 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/wazuh-agent/4.7.2 478ms
2024-01-11 13:51:58,605 808 [INFO ] - [NuGet] Acquiring lock for the installation of wazuh-agent 4.7.2
2024-01-11 13:51:58,700 808 [INFO ] - [NuGet] Acquired lock for the installation of wazuh-agent 4.7.2
2024-01-11 13:51:59,200 808 [INFO ] - [NuGet] Installed wazuh-agent 4.7.2 from https://community.chocolatey.org/api/v2/ with content hash uXwg8ifqws+ujeAtS1jcEdILV9EVPLGFBtqn5nP/xGl3OLt/lOc++6/rrELax5ipMqFUAjmTHax8SEbJih1crA==.
2024-01-11 13:51:59,278 808 [INFO ] - [NuGet] Adding package 'wazuh-agent.4.7.2' to folder 'C:\ProgramData\chocolatey\lib'
2024-01-11 13:51:59,387 808 [INFO ] - [NuGet] Added package 'wazuh-agent.4.7.2' to folder 'C:\ProgramData\chocolatey\lib'
2024-01-11 13:51:59,403 808 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.7.2\wazuh-agent.4.7.2.nupkg".
2024-01-11 13:51:59,403 808 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.7.2\.nupkg.metadata".
2024-01-11 13:51:59,420 808 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.7.2\wazuh-agent.4.7.2.nupkg.sha512".
2024-01-11 13:51:59,434 808 [INFO ] -
wazuh-agent v4.7.2 (forced)
2024-01-11 13:51:59,543 808 [INFO ] - wazuh-agent package files install completed. Performing other installation steps.
2024-01-11 13:51:59,636 808 [DEBUG] - Setting installer args for wazuh-agent
2024-01-11 13:51:59,654 808 [DEBUG] - Setting package parameters for wazuh-agent
2024-01-11 13:51:59,654 808 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1':
2024-01-11 13:51:59,685 808 [DEBUG] - $ErrorActionPreference = 'Stop';
$PackageParameters = Get-PackageParameters
$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)"
$urlPackage = 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi'
$checksumPackage = '83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325'
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"
}
2024-01-11 13:51:59,731 808 [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']
2024-01-11 13:51:59,747 808 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-01-11 13:52:00,714 808 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-01-11 13:52:01,372 808 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-01-11 13:52:01,372 808 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-01-11 13:52:01,387 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-01-11 13:52:01,387 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-01-11 13:52:01,402 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-01-11 13:52:01,402 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-01-11 13:52:01,419 808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-01-11 13:52:01,419 808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-01-11 13:52:01,434 808 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-01-11 13:52:01,434 808 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-01-11 13:52:01,449 808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-01-11 13:52:01,449 808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-01-11 13:52:01,465 808 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-01-11 13:52:01,480 808 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-01-11 13:52:01,498 808 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-01-11 13:52:01,498 808 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-01-11 13:52:01,512 808 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-01-11 13:52:01,512 808 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-01-11 13:52:01,528 808 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-01-11 13:52:01,528 808 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-01-11 13:52:01,543 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-01-11 13:52:01,543 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-01-11 13:52:01,559 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-01-11 13:52:01,559 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-01-11 13:52:01,574 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-01-11 13:52:01,590 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-01-11 13:52:01,590 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-01-11 13:52:01,607 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-01-11 13:52:01,607 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-01-11 13:52:01,623 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-01-11 13:52:01,636 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-01-11 13:52:01,636 808 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-01-11 13:52:01,652 808 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-01-11 13:52:01,652 808 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-01-11 13:52:01,669 808 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-01-11 13:52:01,687 808 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-01-11 13:52:01,699 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-01-11 13:52:01,699 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-01-11 13:52:01,699 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-01-11 13:52:01,716 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-01-11 13:52:01,716 808 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-01-11 13:52:01,732 808 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-01-11 13:52:01,732 808 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-01-11 13:52:01,748 808 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-01-11 13:52:01,763 808 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-01-11 13:52:01,763 808 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-01-11 13:52:01,778 808 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-01-11 13:52:01,778 808 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-01-11 13:52:01,793 808 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-01-11 13:52:01,793 808 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-01-11 13:52:01,809 808 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-01-11 13:52:01,856 808 [DEBUG] - Loading community extensions
2024-01-11 13:52:01,904 808 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-01-11 13:52:01,917 808 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-01-11 13:52:02,075 808 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-01-11 13:52:02,075 808 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-01-11 13:52:02,089 808 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-01-11 13:52:02,089 808 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-01-11 13:52:02,106 808 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-01-11 13:52:02,106 808 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-01-11 13:52:02,121 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-01-11 13:52:02,121 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-01-11 13:52:02,137 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-01-11 13:52:02,137 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-01-11 13:52:02,152 808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-01-11 13:52:02,152 808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-01-11 13:52:02,169 808 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-01-11 13:52:02,169 808 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-01-11 13:52:02,184 808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-01-11 13:52:02,184 808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-01-11 13:52:02,200 808 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-01-11 13:52:02,200 808 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-01-11 13:52:02,215 808 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-01-11 13:52:02,215 808 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-01-11 13:52:02,231 808 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-01-11 13:52:02,231 808 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-01-11 13:52:02,246 808 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-01-11 13:52:02,246 808 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-01-11 13:52:02,261 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-01-11 13:52:02,261 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-01-11 13:52:02,277 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-01-11 13:52:02,277 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-01-11 13:52:02,277 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-01-11 13:52:02,294 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-01-11 13:52:02,308 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-01-11 13:52:02,308 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-01-11 13:52:02,325 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-01-11 13:52:02,325 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-01-11 13:52:02,341 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-01-11 13:52:02,341 808 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-01-11 13:52:02,357 808 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-01-11 13:52:02,357 808 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-01-11 13:52:02,387 808 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-01-11 13:52:02,387 808 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-01-11 13:52:02,406 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-01-11 13:52:02,417 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-01-11 13:52:02,417 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-01-11 13:52:02,434 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-01-11 13:52:02,434 808 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-01-11 13:52:02,450 808 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-01-11 13:52:02,450 808 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-01-11 13:52:02,464 808 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-01-11 13:52:02,464 808 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-01-11 13:52:02,481 808 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-01-11 13:52:02,481 808 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-01-11 13:52:02,496 808 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-01-11 13:52:02,496 808 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-01-11 13:52:02,513 808 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-01-11 13:52:02,513 808 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-01-11 13:52:02,530 808 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-01-11 13:52:02,543 808 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-01-11 13:52:02,543 808 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-01-11 13:52:02,559 808 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-01-11 13:52:02,559 808 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-01-11 13:52:02,574 808 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-01-11 13:52:02,574 808 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-01-11 13:52:02,638 808 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-01-11 13:52:02,638 808 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-01-11 13:52:02,653 808 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-01-11 13:52:02,653 808 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-01-11 13:52:02,668 808 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-01-11 13:52:02,684 808 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-01-11 13:52:02,684 808 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-01-11 13:52:02,701 808 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-01-11 13:52:02,716 808 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-01-11 13:52:02,716 808 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-01-11 13:52:02,731 808 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-01-11 13:52:02,731 808 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-01-11 13:52:02,747 808 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-01-11 13:52:02,762 808 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-01-11 13:52:02,762 808 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-01-11 13:52:02,777 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-01-11 13:52:02,794 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-01-11 13:52:02,808 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-01-11 13:52:02,808 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-01-11 13:52:02,824 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-01-11 13:52:02,824 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-01-11 13:52:02,840 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-01-11 13:52:02,840 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-01-11 13:52:02,857 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-01-11 13:52:02,857 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-01-11 13:52:02,871 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-01-11 13:52:02,871 808 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-01-11 13:52:02,887 808 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-01-11 13:52:02,904 808 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-01-11 13:52:02,904 808 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-01-11 13:52:02,919 808 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-01-11 13:52:02,919 808 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-01-11 13:52:02,933 808 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-01-11 13:52:02,933 808 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-01-11 13:52:02,949 808 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-01-11 13:52:02,949 808 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-01-11 13:52:02,965 808 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-01-11 13:52:02,965 808 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-01-11 13:52:02,980 808 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-01-11 13:52:02,980 808 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-01-11 13:52:02,996 808 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-01-11 13:52:02,996 808 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-01-11 13:52:03,012 808 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-01-11 13:52:03,012 808 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-01-11 13:52:03,029 808 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-01-11 13:52:03,029 808 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-01-11 13:52:03,043 808 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-01-11 13:52:03,043 808 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-01-11 13:52:03,199 808 [DEBUG] - ---------------------------Script Execution---------------------------
2024-01-11 13:52:03,230 808 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.7.2 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-01-11 13:52:03,308 808 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
2024-01-11 13:52:03,464 808 [DEBUG] - Running Get-PackageParameters
2024-01-11 13:52:03,481 808 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2024-01-11 13:52:03,542 808 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
2024-01-11 13:52:03,542 808 [INFO ] - VERBOSE: Dot-sourcing the script file 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
2024-01-11 13:52:03,574 808 [INFO ] -
2024-01-11 13:52:03,794 808 [DEBUG] - Running Install-ChocolateyPackage -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi' -checksum '83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325' -checksum64 '83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325' -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.7.2-1.msi'
2024-01-11 13:52:03,998 808 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'wazuh-agent' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agentInstall.msi' -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi' -url64bit 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi' -checksum '83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325' -checksumType 'SHA512' -checksum64 '83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325' -checksumType64 'SHA512' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2024-01-11 13:52:04,074 808 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2024-01-11 13:52:04,136 808 [DEBUG] - CPU is 64 bit
2024-01-11 13:52:04,168 808 [DEBUG] - Setting url to 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi' and bitPackage to 64
2024-01-11 13:52:04,308 808 [DEBUG] - Running Get-WebFileName -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi' -defaultName 'wazuh-agentInstall.msi'
2024-01-11 13:52:04,965 808 [DEBUG] - Using response url to determine file name. 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi'
2024-01-11 13:52:05,003 808 [DEBUG] - File name determined from url is 'wazuh-agent-4.7.2-1.msi'
2024-01-11 13:52:05,074 808 [DEBUG] - Running Get-WebHeaders -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi' -ErrorAction 'Stop'
2024-01-11 13:52:05,090 808 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-01-11 13:52:05,108 808 [DEBUG] - Request Headers:
2024-01-11 13:52:05,138 808 [DEBUG] - 'Accept':'*/*'
2024-01-11 13:52:05,153 808 [DEBUG] - 'User-Agent':'chocolatey command line'
2024-01-11 13:52:05,230 808 [DEBUG] - Response Headers:
2024-01-11 13:52:05,246 808 [DEBUG] - 'Connection':'keep-alive'
2024-01-11 13:52:05,263 808 [DEBUG] - 'x-amz-server-side-encryption':'AES256'
2024-01-11 13:52:05,277 808 [DEBUG] - 'x-amz-version-id':'cDWVL4oIOpXzHlX2lFKqmjya1i9F22lz'
2024-01-11 13:52:05,277 808 [DEBUG] - 'X-Cache':'Hit from cloudfront'
2024-01-11 13:52:05,293 808 [DEBUG] - 'X-Amz-Cf-Pop':'MCI50-P1'
2024-01-11 13:52:05,310 808 [DEBUG] - 'X-Amz-Cf-Id':'9QrXFxSLLnOgZwJKKe2Ev-Ccno7ZDm2LRphgp840dNnuf8fMuEhxnQ=='
2024-01-11 13:52:05,345 808 [DEBUG] - 'Age':'82376'
2024-01-11 13:52:05,359 808 [DEBUG] - 'Accept-Ranges':'bytes'
2024-01-11 13:52:05,370 808 [DEBUG] - 'Content-Length':'6520832'
2024-01-11 13:52:05,370 808 [DEBUG] - 'Content-Type':'binary/octet-stream'
2024-01-11 13:52:05,386 808 [DEBUG] - 'Date':'Wed, 10 Jan 2024 14:59:10 GMT'
2024-01-11 13:52:05,386 808 [DEBUG] - 'ETag':'"d80ba3d1c6a4f65a355d1f2b0022f206"'
2024-01-11 13:52:05,403 808 [DEBUG] - 'Last-Modified':'Wed, 10 Jan 2024 12:02:26 GMT'
2024-01-11 13:52:05,403 808 [DEBUG] - 'Server':'AmazonS3'
2024-01-11 13:52:05,419 808 [DEBUG] - 'Via':'1.1 82449b7d38c9033f4ad6078c031b24ea.cloudfront.net (CloudFront)'
2024-01-11 13:52:05,464 808 [INFO ] - Downloading wazuh-agent 64 bit
from 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi'
2024-01-11 13:52:05,621 808 [DEBUG] - Running Get-WebFile -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi' -options 'System.Collections.Hashtable'
2024-01-11 13:52:05,637 808 [DEBUG] - Setting request timeout to 30000
2024-01-11 13:52:05,637 808 [DEBUG] - Setting read/write timeout to 2700000
2024-01-11 13:52:05,653 808 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-01-11 13:52:06,215 808 [DEBUG] - Downloading https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi
2024-01-11 13:52:06,996 808 [INFO ] -
2024-01-11 13:52:07,011 808 [INFO ] - Download of wazuh-agent-4.7.2-1.msi (6.22 MB) completed.
2024-01-11 13:52:10,105 808 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2024-01-11 13:52:10,123 808 [DEBUG] - Verifying package provided checksum of '83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi'.
2024-01-11 13:52:10,156 808 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi' -checksum '83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325' -checksumType 'SHA512' -originalUrl 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi'
2024-01-11 13:52:10,199 808 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2024-01-11 13:52:10,219 808 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi"]
2024-01-11 13:52:11,558 808 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi"] exited with '0'.
2024-01-11 13:52:11,699 808 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'wazuh-agent' -fileType 'msi' -silentArgs ' /q' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi' -validExitCodes '0 1000 1101' -useOnlyPackageSilentArguments 'False'
2024-01-11 13:52:11,699 808 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2024-01-11 13:52:11,730 808 [INFO ] - Installing wazuh-agent...
2024-01-11 13:52:11,933 808 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1000 1101' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi" /q ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2024-01-11 13:52:12,058 808 [DEBUG] - Test-ProcessAdminRights: returning True
2024-01-11 13:52:12,105 808 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi" /q ]. This may take a while, depending on the statements.
2024-01-11 13:52:32,136 808 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi" /q ] exited with '0'.
2024-01-11 13:52:32,230 808 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2024-01-11 13:52:32,245 808 [INFO ] - wazuh-agent has been installed.
2024-01-11 13:52:32,292 808 [DEBUG] - ----------------------------------------------------------------------
2024-01-11 13:52:32,308 808 [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'.
2024-01-11 13:52:32,323 808 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-01-11 13:52:32,511 808 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-01-11 13:52:32,574 808 [INFO ] - wazuh-agent may be able to be automatically uninstalled.
2024-01-11 13:52:32,824 808 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
2024-01-11 13:52:32,839 808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum '668AF91CB5FE29A030D057C0E5E0BBD4'
2024-01-11 13:52:32,839 808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum '46AF32A7F4E1D96DBD22553D4336F8C1'
2024-01-11 13:52:32,856 808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum '5F330DB3726B929ECAB370F9B32B8F0B'
2024-01-11 13:52:32,856 808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2024-01-11 13:52:32,870 808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2024-01-11 13:52:32,949 808 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.2".
2024-01-11 13:52:33,026 808 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.2\.registry'
2024-01-11 13:52:33,073 808 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.2\.files'
2024-01-11 13:52:33,090 808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.2\.extra".
2024-01-11 13:52:33,106 808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.2\.version".
2024-01-11 13:52:33,120 808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.2\.sxs".
2024-01-11 13:52:33,120 808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.2\.pin".
2024-01-11 13:52:33,137 808 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-01-11 13:52:33,152 808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\.chocolateyPending".
2024-01-11 13:52:33,167 808 [INFO ] - The install of wazuh-agent was successful.
2024-01-11 13:52:33,167 808 [INFO ] - Software installed as 'msi', install location is likely default.
2024-01-11 13:52:33,214 808 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-01-11 13:52:33,230 808 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-01-11 13:52:33,323 808 [DEBUG] - Exiting with 0
2024-01-11 13:52:52,823 5972 [DEBUG] - XmlConfiguration is now operational
2024-01-11 13:52:53,010 5972 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-01-11 13:52:53,010 5972 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-01-11 13:52:53,010 5972 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-01-11 13:52:53,027 5972 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-01-11 13:52:53,027 5972 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-01-11 13:52:53,057 5972 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-01-11 13:52:53,057 5972 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-01-11 13:52:53,074 5972 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-01-11 13:52:53,074 5972 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-01-11 13:52:53,089 5972 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-01-11 13:52:53,089 5972 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-01-11 13:52:54,104 5972 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:52:54,104 5972 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:52:54,121 5972 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:52:54,121 5972 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:52:54,135 5972 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:52:54,135 5972 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:52:54,151 5972 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:52:54,151 5972 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:52:54,167 5972 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:52:54,167 5972 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-01-11 13:52:54,198 5972 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-01-11 13:52:54,215 5972 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-01-11 13:52:54,215 5972 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-01-11 13:52:54,229 5972 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-01-11 13:52:54,246 5972 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-01-11 13:52:54,246 5972 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-01-11 13:52:54,246 5972 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-01-11 13:52:54,261 5972 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-01-11 13:52:54,261 5972 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-01-11 13:52:54,276 5972 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-01-11 13:52:54,276 5972 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-01-11 13:52:54,339 5972 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-01-11 13:52:54,353 5972 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-01-11 13:52:54,353 5972 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-01-11 13:52:54,353 5972 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-01-11 13:52:54,369 5972 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-01-11 13:52:54,369 5972 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-01-11 13:52:54,385 5972 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-01-11 13:52:54,385 5972 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-01-11 13:52:54,385 5972 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-01-11 13:52:54,744 5972 [INFO ] - ============================================================
2024-01-11 13:52:55,233 5972 [INFO ] - Chocolatey v2.2.2
2024-01-11 13:52:55,261 5972 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-01-11 13:52:55,276 5972 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-01-11 13:52:55,292 5972 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-01-11 13:52:55,322 5972 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall wazuh-agent --version 4.7.2 -dvy --execution-timeout=2700
2024-01-11 13:52:55,322 5972 [DEBUG] - Received arguments: uninstall wazuh-agent --version 4.7.2 -dvy --execution-timeout=2700
2024-01-11 13:52:55,526 5972 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-01-11 13:52:55,558 5972 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-01-11 13:52:55,590 5972 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-01-11 13:52:55,807 5972 [DEBUG] - Performing validation checks.
2024-01-11 13:52:55,823 5972 [DEBUG] - Global Configuration Validation Checks:
2024-01-11 13:52:55,838 5972 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-01-11 13:52:55,855 5972 [DEBUG] - System State Validation Checks:
2024-01-11 13:52:55,870 5972 [DEBUG] - Reboot Requirement Checks:
2024-01-11 13:52:55,885 5972 [DEBUG] - - Pending Computer Rename = Checked
2024-01-11 13:52:55,901 5972 [DEBUG] - - Pending Component Based Servicing = Checked
2024-01-11 13:52:55,901 5972 [DEBUG] - - Pending Windows Auto Update = Checked
2024-01-11 13:52:55,916 5972 [DEBUG] - - Pending File Rename Operations = Ignored
2024-01-11 13:52:55,933 5972 [DEBUG] - - Pending Windows Package Installer = Checked
2024-01-11 13:52:55,933 5972 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-01-11 13:52:55,948 5972 [DEBUG] - Cache Folder Lockdown Checks:
2024-01-11 13:52:55,964 5972 [DEBUG] - - Elevated State = Checked
2024-01-11 13:52:55,964 5972 [DEBUG] - - Folder Exists = Checked
2024-01-11 13:52:55,995 5972 [DEBUG] - - Folder lockdown = Checked
2024-01-11 13:52:56,010 5972 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-01-11 13:52:56,074 5972 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-01-11 13:52:56,074 5972 [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.
2024-01-11 13:52:56,151 5972 [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.7.2'|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-A26USK61H9C'|
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'|
2024-01-11 13:52:56,151 5972 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2024-01-11 13:52:56,182 5972 [INFO ] - Uninstalling the following packages:
2024-01-11 13:52:56,197 5972 [INFO ] - wazuh-agent
2024-01-11 13:52:56,228 5972 [DEBUG] - Current environment values (may contain sensitive data):
2024-01-11 13:52:56,228 5972 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-01-11 13:52:56,245 5972 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-01-11 13:52:56,245 5972 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-01-11 13:52:56,261 5972 [DEBUG] - * 'ChocolateyLastPathUpdate'='133494487506024004' ('User')
2024-01-11 13:52:56,278 5972 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-01-11 13:52:56,278 5972 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-01-11 13:52:56,291 5972 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-01-11 13:52:56,291 5972 [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')
2024-01-11 13:52:56,307 5972 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-01-11 13:52:56,325 5972 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-01-11 13:52:56,325 5972 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-01-11 13:52:56,338 5972 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-01-11 13:52:56,338 5972 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-01-11 13:52:56,355 5972 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-01-11 13:52:56,355 5972 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-01-11 13:52:56,370 5972 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-01-11 13:52:56,370 5972 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-01-11 13:52:56,386 5972 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-01-11 13:52:56,386 5972 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-01-11 13:52:56,401 5972 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-01-11 13:52:56,698 5972 [DEBUG] - Running list with the following filter = ''
2024-01-11 13:52:56,698 5972 [DEBUG] - --- Start of List ---
2024-01-11 13:52:57,041 5972 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-01-11 13:52:57,807 5972 [DEBUG] - chocolatey 2.2.2
2024-01-11 13:52:57,823 5972 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-01-11 13:52:57,839 5972 [DEBUG] - KB2919355 1.0.20160915
2024-01-11 13:52:57,853 5972 [DEBUG] - KB2919442 1.0.20160915
2024-01-11 13:52:57,869 5972 [DEBUG] - KB2999226 1.0.20181019
2024-01-11 13:52:57,885 5972 [DEBUG] - KB3035131 1.0.3
2024-01-11 13:52:57,885 5972 [DEBUG] - KB3118401 1.0.5
2024-01-11 13:52:57,916 5972 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2024-01-11 13:52:58,072 5972 [DEBUG] - wazuh-agent 4.7.2
2024-01-11 13:52:58,072 5972 [DEBUG] - --- End of List ---
2024-01-11 13:52:58,089 5972 [DEBUG] - Running list with the following filter = ''
2024-01-11 13:52:58,104 5972 [DEBUG] - --- Start of List ---
2024-01-11 13:52:58,135 5972 [DEBUG] - chocolatey 2.2.2
2024-01-11 13:52:58,166 5972 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-01-11 13:52:58,182 5972 [DEBUG] - KB2919355 1.0.20160915
2024-01-11 13:52:58,199 5972 [DEBUG] - KB2919442 1.0.20160915
2024-01-11 13:52:58,199 5972 [DEBUG] - KB2999226 1.0.20181019
2024-01-11 13:52:58,214 5972 [DEBUG] - KB3035131 1.0.3
2024-01-11 13:52:58,229 5972 [DEBUG] - KB3118401 1.0.5
2024-01-11 13:52:58,244 5972 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2024-01-11 13:52:58,277 5972 [DEBUG] - wazuh-agent 4.7.2
2024-01-11 13:52:58,292 5972 [DEBUG] - --- End of List ---
2024-01-11 13:52:58,369 5972 [DEBUG] - Running list with the following filter = ''
2024-01-11 13:52:58,385 5972 [DEBUG] - --- Start of List ---
2024-01-11 13:52:58,418 5972 [DEBUG] - chocolatey 2.2.2
2024-01-11 13:52:58,435 5972 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-01-11 13:52:58,448 5972 [DEBUG] - KB2919355 1.0.20160915
2024-01-11 13:52:58,463 5972 [DEBUG] - KB2919442 1.0.20160915
2024-01-11 13:52:58,463 5972 [DEBUG] - KB2999226 1.0.20181019
2024-01-11 13:52:58,478 5972 [DEBUG] - KB3035131 1.0.3
2024-01-11 13:52:58,494 5972 [DEBUG] - KB3118401 1.0.5
2024-01-11 13:52:58,511 5972 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2024-01-11 13:52:58,541 5972 [DEBUG] - wazuh-agent 4.7.2
2024-01-11 13:52:58,556 5972 [DEBUG] - --- End of List ---
2024-01-11 13:52:58,635 5972 [INFO ] -
wazuh-agent v4.7.2
2024-01-11 13:52:58,714 5972 [DEBUG] - Running beforeModify step for 'wazuh-agent'
2024-01-11 13:52:58,748 5972 [DEBUG] - Backing up package files for 'wazuh-agent'
2024-01-11 13:52:58,933 5972 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent".
2024-01-11 13:52:58,947 5972 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\wazuh-agent to C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.2
2024-01-11 13:52:58,963 5972 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\wazuh-agent'
to 'C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.2'
2024-01-11 13:53:00,977 5972 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\wazuh-agent".
2024-01-11 13:53:00,993 5972 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.2\wazuh-agent.nupkg"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg".
2024-01-11 13:53:01,009 5972 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.2\wazuh-agent.nuspec"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec".
2024-01-11 13:53:01,025 5972 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\wazuh-agent\tools".
2024-01-11 13:53:01,025 5972 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.2\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1".
2024-01-11 13:53:01,039 5972 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.2\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1".
2024-01-11 13:53:01,055 5972 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.2\tools\helpers.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1".
2024-01-11 13:53:02,583 5972 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
2024-01-11 13:53:02,600 5972 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum '668AF91CB5FE29A030D057C0E5E0BBD4'
2024-01-11 13:53:02,618 5972 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum '46AF32A7F4E1D96DBD22553D4336F8C1'
2024-01-11 13:53:02,618 5972 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum '5F330DB3726B929ECAB370F9B32B8F0B'
2024-01-11 13:53:02,633 5972 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2024-01-11 13:53:02,648 5972 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2024-01-11 13:53:02,694 5972 [DEBUG] - Setting installer args for wazuh-agent
2024-01-11 13:53:02,708 5972 [DEBUG] - Setting package parameters for wazuh-agent
2024-01-11 13:53:02,708 5972 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1':
2024-01-11 13:53:02,726 5972 [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>"
}
2024-01-11 13:53:02,820 5972 [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']
2024-01-11 13:53:02,850 5972 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-01-11 13:53:04,098 5972 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-01-11 13:53:04,786 5972 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-01-11 13:53:04,801 5972 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-01-11 13:53:04,801 5972 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-01-11 13:53:04,816 5972 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-01-11 13:53:04,834 5972 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-01-11 13:53:04,850 5972 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-01-11 13:53:04,850 5972 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-01-11 13:53:04,863 5972 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-01-11 13:53:04,863 5972 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-01-11 13:53:04,880 5972 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-01-11 13:53:04,897 5972 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-01-11 13:53:04,897 5972 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-01-11 13:53:04,911 5972 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-01-11 13:53:04,911 5972 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-01-11 13:53:04,928 5972 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-01-11 13:53:04,941 5972 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-01-11 13:53:04,941 5972 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-01-11 13:53:04,959 5972 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-01-11 13:53:04,959 5972 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-01-11 13:53:04,974 5972 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-01-11 13:53:04,988 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-01-11 13:53:04,988 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-01-11 13:53:05,004 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-01-11 13:53:05,020 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-01-11 13:53:05,020 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-01-11 13:53:05,035 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-01-11 13:53:05,035 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-01-11 13:53:05,051 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-01-11 13:53:05,066 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-01-11 13:53:05,066 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-01-11 13:53:05,082 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-01-11 13:53:05,082 5972 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-01-11 13:53:05,098 5972 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-01-11 13:53:05,113 5972 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-01-11 13:53:05,113 5972 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-01-11 13:53:05,130 5972 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-01-11 13:53:05,130 5972 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-01-11 13:53:05,146 5972 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-01-11 13:53:05,160 5972 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-01-11 13:53:05,160 5972 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-01-11 13:53:05,177 5972 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-01-11 13:53:05,177 5972 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-01-11 13:53:05,191 5972 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-01-11 13:53:05,206 5972 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-01-11 13:53:05,206 5972 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-01-11 13:53:05,223 5972 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-01-11 13:53:05,223 5972 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-01-11 13:53:05,238 5972 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-01-11 13:53:05,238 5972 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-01-11 13:53:05,253 5972 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-01-11 13:53:05,253 5972 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-01-11 13:53:05,316 5972 [DEBUG] - Loading community extensions
2024-01-11 13:53:05,379 5972 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-01-11 13:53:05,394 5972 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-01-11 13:53:05,551 5972 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-01-11 13:53:05,567 5972 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-01-11 13:53:05,582 5972 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-01-11 13:53:05,582 5972 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-01-11 13:53:05,599 5972 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-01-11 13:53:05,613 5972 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-01-11 13:53:05,613 5972 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-01-11 13:53:05,628 5972 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-01-11 13:53:05,644 5972 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-01-11 13:53:05,644 5972 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-01-11 13:53:05,661 5972 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-01-11 13:53:05,675 5972 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-01-11 13:53:05,675 5972 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-01-11 13:53:05,691 5972 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-01-11 13:53:05,691 5972 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-01-11 13:53:05,706 5972 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-01-11 13:53:05,706 5972 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-01-11 13:53:05,723 5972 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-01-11 13:53:05,738 5972 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-01-11 13:53:05,738 5972 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-01-11 13:53:05,754 5972 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-01-11 13:53:05,754 5972 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-01-11 13:53:05,769 5972 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-01-11 13:53:05,769 5972 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-01-11 13:53:05,786 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-01-11 13:53:05,800 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-01-11 13:53:05,818 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-01-11 13:53:05,832 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-01-11 13:53:05,847 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-01-11 13:53:05,847 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-01-11 13:53:05,863 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-01-11 13:53:05,863 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-01-11 13:53:05,879 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-01-11 13:53:05,894 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-01-11 13:53:05,894 5972 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-01-11 13:53:05,913 5972 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-01-11 13:53:05,926 5972 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-01-11 13:53:05,926 5972 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-01-11 13:53:05,941 5972 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-01-11 13:53:05,941 5972 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-01-11 13:53:05,957 5972 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-01-11 13:53:05,957 5972 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-01-11 13:53:05,973 5972 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-01-11 13:53:05,987 5972 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-01-11 13:53:05,987 5972 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-01-11 13:53:06,003 5972 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-01-11 13:53:06,003 5972 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-01-11 13:53:06,020 5972 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-01-11 13:53:06,035 5972 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-01-11 13:53:06,035 5972 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-01-11 13:53:06,050 5972 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-01-11 13:53:06,050 5972 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-01-11 13:53:06,066 5972 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-01-11 13:53:06,066 5972 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-01-11 13:53:06,082 5972 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-01-11 13:53:06,082 5972 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-01-11 13:53:06,097 5972 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-01-11 13:53:06,112 5972 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-01-11 13:53:06,112 5972 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-01-11 13:53:06,129 5972 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-01-11 13:53:06,143 5972 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-01-11 13:53:06,143 5972 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-01-11 13:53:06,159 5972 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-01-11 13:53:06,159 5972 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-01-11 13:53:06,176 5972 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-01-11 13:53:06,191 5972 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-01-11 13:53:06,191 5972 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-01-11 13:53:06,206 5972 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-01-11 13:53:06,225 5972 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-01-11 13:53:06,237 5972 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-01-11 13:53:06,237 5972 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-01-11 13:53:06,253 5972 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-01-11 13:53:06,253 5972 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-01-11 13:53:06,270 5972 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-01-11 13:53:06,270 5972 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-01-11 13:53:06,284 5972 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-01-11 13:53:06,284 5972 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-01-11 13:53:06,300 5972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-01-11 13:53:06,300 5972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-01-11 13:53:06,317 5972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-01-11 13:53:06,331 5972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-01-11 13:53:06,331 5972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-01-11 13:53:06,346 5972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-01-11 13:53:06,363 5972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-01-11 13:53:06,363 5972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-01-11 13:53:06,377 5972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-01-11 13:53:06,377 5972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-01-11 13:53:06,394 5972 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-01-11 13:53:06,409 5972 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-01-11 13:53:06,409 5972 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-01-11 13:53:06,425 5972 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-01-11 13:53:06,425 5972 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-01-11 13:53:06,441 5972 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-01-11 13:53:06,441 5972 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-01-11 13:53:06,457 5972 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-01-11 13:53:06,473 5972 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-01-11 13:53:06,473 5972 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-01-11 13:53:06,488 5972 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-01-11 13:53:06,488 5972 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-01-11 13:53:06,503 5972 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-01-11 13:53:06,519 5972 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-01-11 13:53:06,535 5972 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-01-11 13:53:06,549 5972 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-01-11 13:53:06,549 5972 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-01-11 13:53:06,564 5972 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-01-11 13:53:06,564 5972 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-01-11 13:53:06,644 5972 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-01-11 13:53:06,644 5972 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-01-11 13:53:06,659 5972 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-01-11 13:53:06,659 5972 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-01-11 13:53:06,847 5972 [DEBUG] - ---------------------------Script Execution---------------------------
2024-01-11 13:53:06,908 5972 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.7.2 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-01-11 13:53:07,002 5972 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
2024-01-11 13:53:07,081 5972 [WARN ] - WARNING: wazuh-agent has already been uninstalled by other means.
2024-01-11 13:53:07,127 5972 [DEBUG] - ----------------------------------------------------------------------
2024-01-11 13:53:07,159 5972 [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'.
2024-01-11 13:53:07,221 5972 [INFO ] - Running auto uninstaller...
2024-01-11 13:53:07,221 5972 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2024-01-11 13:53:09,266 5972 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{4612144F-DAED-447A-A7E9-7483C78EF093}' for 'Wazuh Agent'
2024-01-11 13:53:09,344 5972 [DEBUG] - Uninstaller path is 'MsiExec.exe'
2024-01-11 13:53:09,359 5972 [DEBUG] - Installer type is 'MsiInstaller'
2024-01-11 13:53:09,359 5972 [DEBUG] - Setting up uninstall logging directory at C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2
2024-01-11 13:53:09,375 5972 [DEBUG] - Args are '/X{4612144F-DAED-447A-A7E9-7483C78EF093} /qn /norestart'
2024-01-11 13:53:09,392 5972 [DEBUG] - Calling command ['"MsiExec.exe" /X{4612144F-DAED-447A-A7E9-7483C78EF093} /qn /norestart']
2024-01-11 13:53:21,619 5972 [DEBUG] - Command ['"MsiExec.exe" /X{4612144F-DAED-447A-A7E9-7483C78EF093} /qn /norestart'] exited with '0'
2024-01-11 13:53:21,651 5972 [INFO ] - Auto uninstaller has successfully uninstalled wazuh-agent or detected previous uninstall.
2024-01-11 13:53:21,666 5972 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-01-11 13:53:21,807 5972 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-01-11 13:53:21,839 5972 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent".
2024-01-11 13:53:21,870 5972 [DEBUG] - Ensuring removal of installation files.
2024-01-11 13:53:21,886 5972 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum '668AF91CB5FE29A030D057C0E5E0BBD4'
2024-01-11 13:53:21,886 5972 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg".
2024-01-11 13:53:21,901 5972 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum '46AF32A7F4E1D96DBD22553D4336F8C1'
2024-01-11 13:53:21,918 5972 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec".
2024-01-11 13:53:21,918 5972 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum '5F330DB3726B929ECAB370F9B32B8F0B'
2024-01-11 13:53:21,932 5972 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1".
2024-01-11 13:53:21,932 5972 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2024-01-11 13:53:21,948 5972 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1".
2024-01-11 13:53:21,948 5972 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2024-01-11 13:53:21,965 5972 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1".
2024-01-11 13:53:21,965 5972 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\wazuh-agent".
2024-01-11 13:53:21,979 5972 [INFO ] - wazuh-agent has been successfully uninstalled.
2024-01-11 13:53:21,979 5972 [DEBUG] - Removing nupkg if it still exists.
2024-01-11 13:53:21,996 5972 [DEBUG] - Ensuring removal of installation files.
2024-01-11 13:53:22,057 5972 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-01-11 13:53:22,074 5972 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-01-11 13:53:22,088 5972 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment