Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created March 5, 2024 14:27
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/a0d44254098bfee6239eafd9fa921700 to your computer and use it in GitHub Desktop.
Save choco-bot/a0d44254098bfee6239eafd9fa921700 to your computer and use it in GitHub Desktop.
wazuh-agent v4.7.3 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-2283359634-3452874005-650521853-1000</user>
<keys>
<key installerType="Msi" displayName="Wazuh Agent" displayVersion="4.7.3">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8DD4A697-4C1B-4CB1-BB19-1F5FB031CF53}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{8DD4A697-4C1B-4CB1-BB19-1F5FB031CF53}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Wazuh, Inc.]]></Publisher>
<InstallDate>20240305</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.3\]]></InstallSource>
<Language>1033</Language>
<Version>67567619</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\607a6.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

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

  • https://community.chocolatey.org/packages/wazuh-agent/4.7.3
  • Tested 05 Mar 2024 14:27:41 +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="51EA4EBFD8BB29609180BFE2BE237698" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec" checksum="457383EA3F95BA9C0A5E42AD3BF920FD" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1" checksum="28F9408015E31305C6A801DB780CE1F7" />
<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-03-05 14:26:10,156 5284 [DEBUG] - XmlConfiguration is now operational
2024-03-05 14:26:10,593 5284 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-05 14:26:10,608 5284 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-05 14:26:10,608 5284 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-05 14:26:10,624 5284 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-05 14:26:10,624 5284 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-05 14:26:10,640 5284 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-03-05 14:26:10,656 5284 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-05 14:26:10,656 5284 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-05 14:26:10,671 5284 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-05 14:26:10,742 5284 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-03-05 14:26:10,749 5284 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-03-05 14:26:12,577 5284 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:26:12,594 5284 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:26:12,609 5284 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:26:12,624 5284 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:26:12,624 5284 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:26:12,640 5284 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:26:12,640 5284 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:26:12,656 5284 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:26:12,656 5284 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:26:12,672 5284 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:26:12,735 5284 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-03-05 14:26:12,749 5284 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-03-05 14:26:12,749 5284 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-03-05 14:26:12,766 5284 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-03-05 14:26:12,766 5284 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-03-05 14:26:12,782 5284 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-03-05 14:26:12,782 5284 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-03-05 14:26:12,796 5284 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-03-05 14:26:12,813 5284 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-03-05 14:26:12,813 5284 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-03-05 14:26:12,827 5284 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-03-05 14:26:12,827 5284 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-03-05 14:26:12,844 5284 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-03-05 14:26:12,860 5284 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-03-05 14:26:12,860 5284 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-03-05 14:26:12,877 5284 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-03-05 14:26:12,890 5284 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-03-05 14:26:12,890 5284 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-03-05 14:26:12,907 5284 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-03-05 14:26:12,922 5284 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-03-05 14:26:13,297 5284 [INFO ] - ============================================================
2024-03-05 14:26:14,047 5284 [INFO ] - Chocolatey v2.2.2
2024-03-05 14:26:14,109 5284 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-03-05 14:26:14,125 5284 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-03-05 14:26:14,140 5284 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-03-05 14:26:14,202 5284 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install wazuh-agent --version 4.7.3 -fdvy --execution-timeout=2700 --allow-downgrade
2024-03-05 14:26:14,202 5284 [DEBUG] - Received arguments: install wazuh-agent --version 4.7.3 -fdvy --execution-timeout=2700 --allow-downgrade
2024-03-05 14:26:14,562 5284 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-03-05 14:26:14,625 5284 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-03-05 14:26:14,672 5284 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-03-05 14:26:15,108 5284 [DEBUG] - Performing validation checks.
2024-03-05 14:26:15,141 5284 [DEBUG] - Global Configuration Validation Checks:
2024-03-05 14:26:15,156 5284 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-03-05 14:26:15,173 5284 [DEBUG] - System State Validation Checks:
2024-03-05 14:26:15,188 5284 [DEBUG] - Reboot Requirement Checks:
2024-03-05 14:26:15,203 5284 [DEBUG] - - Pending Computer Rename = Checked
2024-03-05 14:26:15,219 5284 [DEBUG] - - Pending Component Based Servicing = Checked
2024-03-05 14:26:15,234 5284 [DEBUG] - - Pending Windows Auto Update = Checked
2024-03-05 14:26:15,249 5284 [DEBUG] - - Pending File Rename Operations = Ignored
2024-03-05 14:26:15,265 5284 [DEBUG] - - Pending Windows Package Installer = Checked
2024-03-05 14:26:15,281 5284 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-03-05 14:26:15,296 5284 [DEBUG] - Cache Folder Lockdown Checks:
2024-03-05 14:26:15,313 5284 [DEBUG] - - Elevated State = Checked
2024-03-05 14:26:15,327 5284 [DEBUG] - - Folder Exists = Checked
2024-03-05 14:26:15,361 5284 [DEBUG] - - Folder lockdown = Checked
2024-03-05 14:26:15,391 5284 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-03-05 14:26:15,499 5284 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-03-05 14:26:15,516 5284 [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-03-05 14:26:15,686 5284 [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.3'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='wazuh-agent'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-894VMEKJ0VL'|
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-03-05 14:26:15,702 5284 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2024-03-05 14:26:15,735 5284 [INFO ] - Installing the following packages:
2024-03-05 14:26:15,751 5284 [INFO ] - wazuh-agent
2024-03-05 14:26:15,765 5284 [INFO ] - By installing, you accept licenses for the packages.
2024-03-05 14:26:15,797 5284 [DEBUG] - Current environment values (may contain sensitive data):
2024-03-05 14:26:15,813 5284 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-03-05 14:26:15,827 5284 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-05 14:26:15,827 5284 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-05 14:26:15,844 5284 [DEBUG] - * 'ChocolateyLastPathUpdate'='133541167517528705' ('User')
2024-03-05 14:26:15,844 5284 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-03-05 14:26:15,859 5284 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-03-05 14:26:15,874 5284 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-03-05 14:26:15,874 5284 [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-03-05 14:26:15,890 5284 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-03-05 14:26:15,890 5284 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-03-05 14:26:15,908 5284 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-03-05 14:26:15,921 5284 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-03-05 14:26:15,921 5284 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-03-05 14:26:15,938 5284 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-03-05 14:26:15,938 5284 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-03-05 14:26:15,953 5284 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-03-05 14:26:15,968 5284 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-03-05 14:26:15,968 5284 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-03-05 14:26:15,984 5284 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-03-05 14:26:15,999 5284 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-03-05 14:26:16,686 5284 [DEBUG] - Running list with the following filter = ''
2024-03-05 14:26:16,702 5284 [DEBUG] - --- Start of List ---
2024-03-05 14:26:16,814 5284 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-03-05 14:26:17,500 5284 [DEBUG] - chocolatey 2.2.2
2024-03-05 14:26:17,533 5284 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-05 14:26:17,546 5284 [DEBUG] - KB2919355 1.0.20160915
2024-03-05 14:26:17,561 5284 [DEBUG] - KB2919442 1.0.20160915
2024-03-05 14:26:17,578 5284 [DEBUG] - KB2999226 1.0.20181019
2024-03-05 14:26:17,593 5284 [DEBUG] - KB3035131 1.0.3
2024-03-05 14:26:17,657 5284 [DEBUG] - KB3118401 1.0.5
2024-03-05 14:26:17,689 5284 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-05 14:26:17,702 5284 [DEBUG] - --- End of List ---
2024-03-05 14:26:17,735 5284 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2024-03-05 14:26:18,516 5284 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2024-03-05 14:26:19,503 5284 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.7.3')
2024-03-05 14:26:19,718 5284 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.7.3') 188ms
2024-03-05 14:26:19,907 5284 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2024-03-05 14:26:20,937 5284 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2024-03-05 14:26:20,984 5284 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.7.3')
2024-03-05 14:26:21,296 5284 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-03-05 14:26:21,328 5284 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2024-03-05 14:26:21,486 5284 [DEBUG] - Attempting to delete file "".
2024-03-05 14:26:21,579 5284 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/wazuh-agent/4.7.3
2024-03-05 14:26:22,078 5284 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/wazuh-agent/4.7.3 485ms
2024-03-05 14:26:22,140 5284 [INFO ] - [NuGet] Acquiring lock for the installation of wazuh-agent 4.7.3
2024-03-05 14:26:22,219 5284 [INFO ] - [NuGet] Acquired lock for the installation of wazuh-agent 4.7.3
2024-03-05 14:26:22,687 5284 [INFO ] - [NuGet] Installed wazuh-agent 4.7.3 from https://community.chocolatey.org/api/v2/ with content hash 3WfGIvFxVCSa3KdeoqLXSDGgLWEbSXNK1WYrQPTorQTFsGN10THnC6HTUwTxZBWaKA3lN3Vl4dmpWNmwvY3quA==.
2024-03-05 14:26:22,798 5284 [INFO ] - [NuGet] Adding package 'wazuh-agent.4.7.3' to folder 'C:\ProgramData\chocolatey\lib'
2024-03-05 14:26:22,970 5284 [INFO ] - [NuGet] Added package 'wazuh-agent.4.7.3' to folder 'C:\ProgramData\chocolatey\lib'
2024-03-05 14:26:22,984 5284 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.7.3\wazuh-agent.4.7.3.nupkg".
2024-03-05 14:26:22,999 5284 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.7.3\.nupkg.metadata".
2024-03-05 14:26:23,016 5284 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.7.3\wazuh-agent.4.7.3.nupkg.sha512".
2024-03-05 14:26:23,031 5284 [INFO ] -
wazuh-agent v4.7.3 (forced)
2024-03-05 14:26:23,220 5284 [INFO ] - wazuh-agent package files install completed. Performing other installation steps.
2024-03-05 14:26:23,362 5284 [DEBUG] - Setting installer args for wazuh-agent
2024-03-05 14:26:23,375 5284 [DEBUG] - Setting package parameters for wazuh-agent
2024-03-05 14:26:23,390 5284 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1':
2024-03-05 14:26:23,439 5284 [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.3-1.msi'
$checksumPackage = 'feb366cf9c06e8aa1bd7db0715a31e017366eee0a594a8363c94da4b4c3e880d191a9c738acbfbaac74a99b253c297b2f05fb66ab6c9cdf37d0781d6cc288d92'
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-03-05 14:26:23,499 5284 [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-03-05 14:26:23,515 5284 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-03-05 14:26:24,500 5284 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-03-05 14:26:25,218 5284 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-05 14:26:25,218 5284 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-05 14:26:25,234 5284 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-05 14:26:25,234 5284 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-05 14:26:25,234 5284 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-05 14:26:25,250 5284 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-05 14:26:25,250 5284 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-05 14:26:25,264 5284 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-05 14:26:25,264 5284 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-05 14:26:25,280 5284 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-05 14:26:25,280 5284 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-05 14:26:25,297 5284 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-05 14:26:25,297 5284 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-05 14:26:25,297 5284 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-05 14:26:25,312 5284 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-05 14:26:25,312 5284 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-05 14:26:25,327 5284 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-05 14:26:25,327 5284 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-05 14:26:25,344 5284 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-05 14:26:25,344 5284 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-05 14:26:25,360 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-05 14:26:25,360 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-05 14:26:25,360 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-05 14:26:25,375 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-05 14:26:25,375 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-05 14:26:25,391 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-05 14:26:25,391 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-05 14:26:25,406 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-05 14:26:25,406 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-05 14:26:25,422 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-05 14:26:25,422 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-05 14:26:25,422 5284 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-05 14:26:25,438 5284 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-05 14:26:25,438 5284 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-05 14:26:25,454 5284 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-05 14:26:25,454 5284 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-05 14:26:25,470 5284 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-05 14:26:25,470 5284 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-05 14:26:25,484 5284 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-05 14:26:25,484 5284 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-05 14:26:25,499 5284 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-05 14:26:25,499 5284 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-05 14:26:25,514 5284 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-05 14:26:25,514 5284 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-05 14:26:25,530 5284 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-05 14:26:25,530 5284 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-05 14:26:25,546 5284 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-05 14:26:25,546 5284 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-05 14:26:25,563 5284 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-05 14:26:25,563 5284 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-05 14:26:25,579 5284 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-05 14:26:25,624 5284 [DEBUG] - Loading community extensions
2024-03-05 14:26:25,671 5284 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-03-05 14:26:25,671 5284 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-03-05 14:26:25,827 5284 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-05 14:26:25,844 5284 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-05 14:26:25,844 5284 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-05 14:26:25,844 5284 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-05 14:26:25,860 5284 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-05 14:26:25,860 5284 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-05 14:26:25,874 5284 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-05 14:26:25,874 5284 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-05 14:26:25,889 5284 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-05 14:26:25,999 5284 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-05 14:26:25,999 5284 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-05 14:26:26,017 5284 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-05 14:26:26,030 5284 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-05 14:26:26,030 5284 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-05 14:26:26,046 5284 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-05 14:26:26,046 5284 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-05 14:26:26,062 5284 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-05 14:26:26,078 5284 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-05 14:26:26,078 5284 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-05 14:26:26,093 5284 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-05 14:26:26,093 5284 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-05 14:26:26,109 5284 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-05 14:26:26,109 5284 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-05 14:26:26,124 5284 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-05 14:26:26,124 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-05 14:26:26,141 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-05 14:26:26,141 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-05 14:26:26,141 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-05 14:26:26,157 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-05 14:26:26,157 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-05 14:26:26,171 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-05 14:26:26,171 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-05 14:26:26,188 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-05 14:26:26,188 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-05 14:26:26,202 5284 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-05 14:26:26,202 5284 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-05 14:26:26,218 5284 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-05 14:26:26,218 5284 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-05 14:26:26,218 5284 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-05 14:26:26,235 5284 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-05 14:26:26,235 5284 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-05 14:26:26,249 5284 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-05 14:26:26,249 5284 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-05 14:26:26,264 5284 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-05 14:26:26,264 5284 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-05 14:26:26,281 5284 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-05 14:26:26,281 5284 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-05 14:26:26,281 5284 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-05 14:26:26,297 5284 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-05 14:26:26,297 5284 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-05 14:26:26,312 5284 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-05 14:26:26,312 5284 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-05 14:26:26,312 5284 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-05 14:26:26,329 5284 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-05 14:26:26,329 5284 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-05 14:26:26,344 5284 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-05 14:26:26,344 5284 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-05 14:26:26,359 5284 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-03-05 14:26:26,359 5284 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-03-05 14:26:26,374 5284 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-03-05 14:26:26,374 5284 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-03-05 14:26:26,390 5284 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-03-05 14:26:26,390 5284 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-03-05 14:26:26,406 5284 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-03-05 14:26:26,406 5284 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-03-05 14:26:26,422 5284 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-03-05 14:26:26,422 5284 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-03-05 14:26:26,437 5284 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-03-05 14:26:26,437 5284 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-03-05 14:26:26,452 5284 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-03-05 14:26:26,452 5284 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-03-05 14:26:26,471 5284 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-03-05 14:26:26,471 5284 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-03-05 14:26:26,484 5284 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-03-05 14:26:26,484 5284 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-03-05 14:26:26,499 5284 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-03-05 14:26:26,499 5284 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-03-05 14:26:26,499 5284 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-03-05 14:26:26,515 5284 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-03-05 14:26:26,515 5284 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-03-05 14:26:26,531 5284 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-03-05 14:26:26,531 5284 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-03-05 14:26:26,548 5284 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-03-05 14:26:26,548 5284 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-05 14:26:26,562 5284 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-03-05 14:26:26,562 5284 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-03-05 14:26:26,578 5284 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-03-05 14:26:26,578 5284 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-03-05 14:26:26,578 5284 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-03-05 14:26:26,594 5284 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-05 14:26:26,594 5284 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-03-05 14:26:26,609 5284 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-03-05 14:26:26,609 5284 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-03-05 14:26:26,625 5284 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-03-05 14:26:26,625 5284 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-05 14:26:26,642 5284 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-03-05 14:26:26,642 5284 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-05 14:26:26,658 5284 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-03-05 14:26:26,658 5284 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-03-05 14:26:26,672 5284 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-03-05 14:26:26,672 5284 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-03-05 14:26:26,687 5284 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-03-05 14:26:26,687 5284 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-03-05 14:26:26,703 5284 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-03-05 14:26:26,703 5284 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-03-05 14:26:26,719 5284 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-03-05 14:26:26,719 5284 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-03-05 14:26:26,734 5284 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-03-05 14:26:26,734 5284 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-03-05 14:26:26,750 5284 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-03-05 14:26:26,906 5284 [DEBUG] - ---------------------------Script Execution---------------------------
2024-03-05 14:26:26,937 5284 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.7.3 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-03-05 14:26:27,030 5284 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
2024-03-05 14:26:27,204 5284 [DEBUG] - Running Get-PackageParameters
2024-03-05 14:26:27,219 5284 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2024-03-05 14:26:27,297 5284 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
2024-03-05 14:26:27,312 5284 [INFO ] - VERBOSE: Dot-sourcing the script file 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
2024-03-05 14:26:27,344 5284 [INFO ] -
2024-03-05 14:26:27,531 5284 [DEBUG] - Running Install-ChocolateyPackage -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.3-1.msi' -checksum 'feb366cf9c06e8aa1bd7db0715a31e017366eee0a594a8363c94da4b4c3e880d191a9c738acbfbaac74a99b253c297b2f05fb66ab6c9cdf37d0781d6cc288d92' -checksum64 'feb366cf9c06e8aa1bd7db0715a31e017366eee0a594a8363c94da4b4c3e880d191a9c738acbfbaac74a99b253c297b2f05fb66ab6c9cdf37d0781d6cc288d92' -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.3-1.msi'
2024-03-05 14:26:27,749 5284 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'wazuh-agent' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.3\wazuh-agentInstall.msi' -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.3-1.msi' -url64bit 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.3-1.msi' -checksum 'feb366cf9c06e8aa1bd7db0715a31e017366eee0a594a8363c94da4b4c3e880d191a9c738acbfbaac74a99b253c297b2f05fb66ab6c9cdf37d0781d6cc288d92' -checksumType 'SHA512' -checksum64 'feb366cf9c06e8aa1bd7db0715a31e017366eee0a594a8363c94da4b4c3e880d191a9c738acbfbaac74a99b253c297b2f05fb66ab6c9cdf37d0781d6cc288d92' -checksumType64 'SHA512' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2024-03-05 14:26:27,828 5284 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2024-03-05 14:26:27,890 5284 [DEBUG] - CPU is 64 bit
2024-03-05 14:26:27,921 5284 [DEBUG] - Setting url to 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.3-1.msi' and bitPackage to 64
2024-03-05 14:26:28,062 5284 [DEBUG] - Running Get-WebFileName -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.3-1.msi' -defaultName 'wazuh-agentInstall.msi'
2024-03-05 14:26:28,718 5284 [DEBUG] - Using response url to determine file name. 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.3-1.msi'
2024-03-05 14:26:28,749 5284 [DEBUG] - File name determined from url is 'wazuh-agent-4.7.3-1.msi'
2024-03-05 14:26:28,827 5284 [DEBUG] - Running Get-WebHeaders -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.3-1.msi' -ErrorAction 'Stop'
2024-03-05 14:26:28,844 5284 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-03-05 14:26:28,858 5284 [DEBUG] - Request Headers:
2024-03-05 14:26:28,890 5284 [DEBUG] - 'Accept':'*/*'
2024-03-05 14:26:28,905 5284 [DEBUG] - 'User-Agent':'chocolatey command line'
2024-03-05 14:26:29,033 5284 [DEBUG] - Response Headers:
2024-03-05 14:26:29,062 5284 [DEBUG] - 'Connection':'keep-alive'
2024-03-05 14:26:29,062 5284 [DEBUG] - 'x-amz-server-side-encryption':'AES256'
2024-03-05 14:26:29,082 5284 [DEBUG] - 'x-amz-version-id':'DW7jWTYdUMFpq6uVfIUqyQXYJGDNDtaA'
2024-03-05 14:26:29,093 5284 [DEBUG] - 'X-Cache':'Hit from cloudfront'
2024-03-05 14:26:29,093 5284 [DEBUG] - 'X-Amz-Cf-Pop':'MCI50-P1'
2024-03-05 14:26:29,093 5284 [DEBUG] - 'X-Amz-Cf-Id':'Nueq3wd42zRUdDz9g7Odn_aTeiNWCzOkskIsfkJcsPjxhtmjxHpRdQ=='
2024-03-05 14:26:29,111 5284 [DEBUG] - 'Age':'85406'
2024-03-05 14:26:29,111 5284 [DEBUG] - 'Accept-Ranges':'bytes'
2024-03-05 14:26:29,126 5284 [DEBUG] - 'Content-Length':'6520832'
2024-03-05 14:26:29,126 5284 [DEBUG] - 'Content-Type':'binary/octet-stream'
2024-03-05 14:26:29,141 5284 [DEBUG] - 'Date':'Mon, 04 Mar 2024 14:43:04 GMT'
2024-03-05 14:26:29,141 5284 [DEBUG] - 'ETag':'"6ab4d93ffd5f67cc5856c64c34ef7e2b"'
2024-03-05 14:26:29,156 5284 [DEBUG] - 'Last-Modified':'Mon, 04 Mar 2024 10:55:53 GMT'
2024-03-05 14:26:29,156 5284 [DEBUG] - 'Server':'AmazonS3'
2024-03-05 14:26:29,172 5284 [DEBUG] - 'Via':'1.1 743719824f586168aad2b61f833015e8.cloudfront.net (CloudFront)'
2024-03-05 14:26:29,219 5284 [INFO ] - Downloading wazuh-agent 64 bit
from 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.3-1.msi'
2024-03-05 14:26:29,327 5284 [DEBUG] - Running Get-WebFile -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.3-1.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.3\wazuh-agent-4.7.3-1.msi' -options 'System.Collections.Hashtable'
2024-03-05 14:26:29,343 5284 [DEBUG] - Setting request timeout to 30000
2024-03-05 14:26:29,343 5284 [DEBUG] - Setting read/write timeout to 2700000
2024-03-05 14:26:29,359 5284 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-03-05 14:26:29,968 5284 [DEBUG] - Downloading https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.3-1.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.3\wazuh-agent-4.7.3-1.msi
2024-03-05 14:26:30,734 5284 [INFO ] -
2024-03-05 14:26:30,767 5284 [INFO ] - Download of wazuh-agent-4.7.3-1.msi (6.22 MB) completed.
2024-03-05 14:26:33,875 5284 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2024-03-05 14:26:33,890 5284 [DEBUG] - Verifying package provided checksum of 'feb366cf9c06e8aa1bd7db0715a31e017366eee0a594a8363c94da4b4c3e880d191a9c738acbfbaac74a99b253c297b2f05fb66ab6c9cdf37d0781d6cc288d92' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.3\wazuh-agent-4.7.3-1.msi'.
2024-03-05 14:26:33,937 5284 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.3\wazuh-agent-4.7.3-1.msi' -checksum 'feb366cf9c06e8aa1bd7db0715a31e017366eee0a594a8363c94da4b4c3e880d191a9c738acbfbaac74a99b253c297b2f05fb66ab6c9cdf37d0781d6cc288d92' -checksumType 'SHA512' -originalUrl 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.3-1.msi'
2024-03-05 14:26:34,015 5284 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2024-03-05 14:26:34,015 5284 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="feb366cf9c06e8aa1bd7db0715a31e017366eee0a594a8363c94da4b4c3e880d191a9c738acbfbaac74a99b253c297b2f05fb66ab6c9cdf37d0781d6cc288d92" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.3\wazuh-agent-4.7.3-1.msi"]
2024-03-05 14:26:35,296 5284 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="feb366cf9c06e8aa1bd7db0715a31e017366eee0a594a8363c94da4b4c3e880d191a9c738acbfbaac74a99b253c297b2f05fb66ab6c9cdf37d0781d6cc288d92" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.3\wazuh-agent-4.7.3-1.msi"] exited with '0'.
2024-03-05 14:26:35,421 5284 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'wazuh-agent' -fileType 'msi' -silentArgs ' /q' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.3\wazuh-agent-4.7.3-1.msi' -validExitCodes '0 1000 1101' -useOnlyPackageSilentArguments 'False'
2024-03-05 14:26:35,437 5284 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2024-03-05 14:26:35,453 5284 [INFO ] - Installing wazuh-agent...
2024-03-05 14:26:35,672 5284 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1000 1101' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.3' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.3\wazuh-agent-4.7.3-1.msi" /q ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2024-03-05 14:26:35,796 5284 [DEBUG] - Test-ProcessAdminRights: returning True
2024-03-05 14:26:35,859 5284 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.3\wazuh-agent-4.7.3-1.msi" /q ]. This may take a while, depending on the statements.
2024-03-05 14:26:53,468 5284 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.3\wazuh-agent-4.7.3-1.msi" /q ] exited with '0'.
2024-03-05 14:26:53,531 5284 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2024-03-05 14:26:53,531 5284 [INFO ] - wazuh-agent has been installed.
2024-03-05 14:26:53,593 5284 [DEBUG] - ----------------------------------------------------------------------
2024-03-05 14:26:53,626 5284 [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-03-05 14:26:53,640 5284 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-03-05 14:26:53,812 5284 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-03-05 14:26:53,937 5284 [INFO ] - wazuh-agent may be able to be automatically uninstalled.
2024-03-05 14:26:54,405 5284 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
2024-03-05 14:26:54,423 5284 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum '51EA4EBFD8BB29609180BFE2BE237698'
2024-03-05 14:26:54,437 5284 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum '457383EA3F95BA9C0A5E42AD3BF920FD'
2024-03-05 14:26:54,452 5284 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum '28F9408015E31305C6A801DB780CE1F7'
2024-03-05 14:26:54,452 5284 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2024-03-05 14:26:54,468 5284 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2024-03-05 14:26:54,656 5284 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.3".
2024-03-05 14:26:54,875 5284 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.3\.registry'
2024-03-05 14:26:54,954 5284 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.3\.files'
2024-03-05 14:26:55,015 5284 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.3\.extra".
2024-03-05 14:26:55,015 5284 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.3\.version".
2024-03-05 14:26:55,031 5284 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.3\.sxs".
2024-03-05 14:26:55,046 5284 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.3\.pin".
2024-03-05 14:26:55,079 5284 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-03-05 14:26:55,095 5284 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\.chocolateyPending".
2024-03-05 14:26:55,108 5284 [INFO ] - The install of wazuh-agent was successful.
2024-03-05 14:26:55,125 5284 [INFO ] - Software installed as 'msi', install location is likely default.
2024-03-05 14:26:55,204 5284 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-03-05 14:26:55,218 5284 [WARN ] -
Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
https://chocolatey.org/compare
2024-03-05 14:26:55,249 5284 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-03-05 14:26:55,282 5284 [DEBUG] - Exiting with 0
2024-03-05 14:27:14,031 4232 [DEBUG] - XmlConfiguration is now operational
2024-03-05 14:27:14,218 4232 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-05 14:27:14,234 4232 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-05 14:27:14,234 4232 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-05 14:27:14,234 4232 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-05 14:27:14,250 4232 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-05 14:27:14,250 4232 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-03-05 14:27:14,265 4232 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-05 14:27:14,265 4232 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-05 14:27:14,280 4232 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-05 14:27:14,280 4232 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-03-05 14:27:14,280 4232 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-03-05 14:27:15,374 4232 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:27:15,389 4232 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:27:15,389 4232 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:27:15,405 4232 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:27:15,405 4232 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:27:15,405 4232 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:27:15,421 4232 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:27:15,421 4232 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:27:15,437 4232 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:27:15,437 4232 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-05 14:27:15,468 4232 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-03-05 14:27:15,484 4232 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-03-05 14:27:15,484 4232 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-03-05 14:27:15,500 4232 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-03-05 14:27:15,500 4232 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-03-05 14:27:15,500 4232 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-03-05 14:27:15,516 4232 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-03-05 14:27:15,516 4232 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-03-05 14:27:15,531 4232 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-03-05 14:27:15,531 4232 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-03-05 14:27:15,531 4232 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-03-05 14:27:15,547 4232 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-03-05 14:27:15,547 4232 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-03-05 14:27:15,562 4232 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-03-05 14:27:15,562 4232 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-03-05 14:27:15,562 4232 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-03-05 14:27:15,578 4232 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-03-05 14:27:15,578 4232 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-03-05 14:27:15,578 4232 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-03-05 14:27:15,594 4232 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-03-05 14:27:15,952 4232 [INFO ] - ============================================================
2024-03-05 14:27:16,421 4232 [INFO ] - Chocolatey v2.2.2
2024-03-05 14:27:16,452 4232 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-03-05 14:27:16,468 4232 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-03-05 14:27:16,468 4232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-03-05 14:27:16,499 4232 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall wazuh-agent --version 4.7.3 -dvy --execution-timeout=2700
2024-03-05 14:27:16,499 4232 [DEBUG] - Received arguments: uninstall wazuh-agent --version 4.7.3 -dvy --execution-timeout=2700
2024-03-05 14:27:16,719 4232 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-03-05 14:27:16,764 4232 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-03-05 14:27:16,781 4232 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-03-05 14:27:16,984 4232 [DEBUG] - Performing validation checks.
2024-03-05 14:27:17,001 4232 [DEBUG] - Global Configuration Validation Checks:
2024-03-05 14:27:17,001 4232 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-03-05 14:27:17,015 4232 [DEBUG] - System State Validation Checks:
2024-03-05 14:27:17,031 4232 [DEBUG] - Reboot Requirement Checks:
2024-03-05 14:27:17,046 4232 [DEBUG] - - Pending Computer Rename = Checked
2024-03-05 14:27:17,046 4232 [DEBUG] - - Pending Component Based Servicing = Checked
2024-03-05 14:27:17,061 4232 [DEBUG] - - Pending Windows Auto Update = Checked
2024-03-05 14:27:17,061 4232 [DEBUG] - - Pending File Rename Operations = Ignored
2024-03-05 14:27:17,078 4232 [DEBUG] - - Pending Windows Package Installer = Checked
2024-03-05 14:27:17,093 4232 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-03-05 14:27:17,093 4232 [DEBUG] - Cache Folder Lockdown Checks:
2024-03-05 14:27:17,108 4232 [DEBUG] - - Elevated State = Checked
2024-03-05 14:27:17,108 4232 [DEBUG] - - Folder Exists = Checked
2024-03-05 14:27:17,124 4232 [DEBUG] - - Folder lockdown = Checked
2024-03-05 14:27:17,155 4232 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-03-05 14:27:17,202 4232 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-03-05 14:27:17,218 4232 [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-03-05 14:27:17,281 4232 [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.3'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='wazuh-agent'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-894VMEKJ0VL'|
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-03-05 14:27:17,297 4232 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2024-03-05 14:27:17,314 4232 [INFO ] - Uninstalling the following packages:
2024-03-05 14:27:17,328 4232 [INFO ] - wazuh-agent
2024-03-05 14:27:17,344 4232 [DEBUG] - Current environment values (may contain sensitive data):
2024-03-05 14:27:17,358 4232 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-03-05 14:27:17,358 4232 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-05 14:27:17,374 4232 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-05 14:27:17,374 4232 [DEBUG] - * 'ChocolateyLastPathUpdate'='133541167517528705' ('User')
2024-03-05 14:27:17,390 4232 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-03-05 14:27:17,390 4232 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-03-05 14:27:17,390 4232 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-03-05 14:27:17,406 4232 [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-03-05 14:27:17,406 4232 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-03-05 14:27:17,421 4232 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-03-05 14:27:17,421 4232 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-03-05 14:27:17,421 4232 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-03-05 14:27:17,436 4232 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-03-05 14:27:17,436 4232 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-03-05 14:27:17,453 4232 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-03-05 14:27:17,453 4232 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-03-05 14:27:17,453 4232 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-03-05 14:27:17,468 4232 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-03-05 14:27:17,468 4232 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-03-05 14:27:17,468 4232 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-03-05 14:27:17,749 4232 [DEBUG] - Running list with the following filter = ''
2024-03-05 14:27:17,765 4232 [DEBUG] - --- Start of List ---
2024-03-05 14:27:18,078 4232 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-03-05 14:27:18,718 4232 [DEBUG] - chocolatey 2.2.2
2024-03-05 14:27:18,734 4232 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-05 14:27:18,749 4232 [DEBUG] - KB2919355 1.0.20160915
2024-03-05 14:27:18,766 4232 [DEBUG] - KB2919442 1.0.20160915
2024-03-05 14:27:18,780 4232 [DEBUG] - KB2999226 1.0.20181019
2024-03-05 14:27:18,797 4232 [DEBUG] - KB3035131 1.0.3
2024-03-05 14:27:18,813 4232 [DEBUG] - KB3118401 1.0.5
2024-03-05 14:27:18,813 4232 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-05 14:27:18,984 4232 [DEBUG] - wazuh-agent 4.7.3
2024-03-05 14:27:18,984 4232 [DEBUG] - --- End of List ---
2024-03-05 14:27:19,001 4232 [DEBUG] - Running list with the following filter = ''
2024-03-05 14:27:19,001 4232 [DEBUG] - --- Start of List ---
2024-03-05 14:27:19,032 4232 [DEBUG] - chocolatey 2.2.2
2024-03-05 14:27:19,062 4232 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-05 14:27:19,077 4232 [DEBUG] - KB2919355 1.0.20160915
2024-03-05 14:27:19,077 4232 [DEBUG] - KB2919442 1.0.20160915
2024-03-05 14:27:19,093 4232 [DEBUG] - KB2999226 1.0.20181019
2024-03-05 14:27:19,109 4232 [DEBUG] - KB3035131 1.0.3
2024-03-05 14:27:19,109 4232 [DEBUG] - KB3118401 1.0.5
2024-03-05 14:27:19,124 4232 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-05 14:27:19,155 4232 [DEBUG] - wazuh-agent 4.7.3
2024-03-05 14:27:19,171 4232 [DEBUG] - --- End of List ---
2024-03-05 14:27:19,250 4232 [DEBUG] - Running list with the following filter = ''
2024-03-05 14:27:19,265 4232 [DEBUG] - --- Start of List ---
2024-03-05 14:27:19,297 4232 [DEBUG] - chocolatey 2.2.2
2024-03-05 14:27:19,313 4232 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-05 14:27:19,313 4232 [DEBUG] - KB2919355 1.0.20160915
2024-03-05 14:27:19,327 4232 [DEBUG] - KB2919442 1.0.20160915
2024-03-05 14:27:19,343 4232 [DEBUG] - KB2999226 1.0.20181019
2024-03-05 14:27:19,343 4232 [DEBUG] - KB3035131 1.0.3
2024-03-05 14:27:19,358 4232 [DEBUG] - KB3118401 1.0.5
2024-03-05 14:27:19,375 4232 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-05 14:27:19,407 4232 [DEBUG] - wazuh-agent 4.7.3
2024-03-05 14:27:19,407 4232 [DEBUG] - --- End of List ---
2024-03-05 14:27:19,468 4232 [INFO ] -
wazuh-agent v4.7.3
2024-03-05 14:27:19,514 4232 [DEBUG] - Running beforeModify step for 'wazuh-agent'
2024-03-05 14:27:19,578 4232 [DEBUG] - Backing up package files for 'wazuh-agent'
2024-03-05 14:27:19,764 4232 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent".
2024-03-05 14:27:19,781 4232 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\wazuh-agent to C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.3
2024-03-05 14:27:19,796 4232 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\wazuh-agent'
to 'C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.3'
2024-03-05 14:27:21,812 4232 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\wazuh-agent".
2024-03-05 14:27:21,828 4232 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.3\wazuh-agent.nupkg"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg".
2024-03-05 14:27:21,828 4232 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.3\wazuh-agent.nuspec"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec".
2024-03-05 14:27:21,843 4232 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\wazuh-agent\tools".
2024-03-05 14:27:21,843 4232 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.3\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1".
2024-03-05 14:27:21,859 4232 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.3\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1".
2024-03-05 14:27:21,859 4232 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.3\tools\helpers.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1".
2024-03-05 14:27:23,405 4232 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
2024-03-05 14:27:23,424 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum '51EA4EBFD8BB29609180BFE2BE237698'
2024-03-05 14:27:23,424 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum '457383EA3F95BA9C0A5E42AD3BF920FD'
2024-03-05 14:27:23,437 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum '28F9408015E31305C6A801DB780CE1F7'
2024-03-05 14:27:23,437 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2024-03-05 14:27:23,452 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2024-03-05 14:27:23,499 4232 [DEBUG] - Setting installer args for wazuh-agent
2024-03-05 14:27:23,515 4232 [DEBUG] - Setting package parameters for wazuh-agent
2024-03-05 14:27:23,515 4232 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1':
2024-03-05 14:27:23,531 4232 [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-03-05 14:27:23,579 4232 [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-03-05 14:27:23,594 4232 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-03-05 14:27:24,688 4232 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-03-05 14:27:25,312 4232 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-05 14:27:25,312 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-05 14:27:25,327 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-05 14:27:25,327 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-05 14:27:25,345 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-05 14:27:25,345 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-05 14:27:25,359 4232 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-05 14:27:25,359 4232 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-05 14:27:25,375 4232 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-05 14:27:25,375 4232 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-05 14:27:25,390 4232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-05 14:27:25,390 4232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-05 14:27:25,390 4232 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-05 14:27:25,406 4232 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-05 14:27:25,406 4232 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-05 14:27:25,421 4232 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-05 14:27:25,421 4232 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-05 14:27:25,436 4232 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-05 14:27:25,452 4232 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-05 14:27:25,452 4232 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-05 14:27:25,469 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-05 14:27:25,469 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-05 14:27:25,484 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-05 14:27:25,484 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-05 14:27:25,500 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-05 14:27:25,515 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-05 14:27:25,515 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-05 14:27:25,531 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-05 14:27:25,531 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-05 14:27:25,548 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-05 14:27:25,548 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-05 14:27:25,561 4232 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-05 14:27:25,561 4232 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-05 14:27:25,578 4232 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-05 14:27:25,578 4232 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-05 14:27:25,578 4232 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-05 14:27:25,594 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-05 14:27:25,594 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-05 14:27:25,609 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-05 14:27:25,609 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-05 14:27:25,625 4232 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-05 14:27:25,625 4232 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-05 14:27:25,641 4232 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-05 14:27:25,656 4232 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-05 14:27:25,656 4232 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-05 14:27:25,656 4232 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-05 14:27:25,671 4232 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-05 14:27:25,671 4232 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-05 14:27:25,687 4232 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-05 14:27:25,687 4232 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-05 14:27:25,702 4232 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-05 14:27:25,749 4232 [DEBUG] - Loading community extensions
2024-03-05 14:27:25,796 4232 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-03-05 14:27:25,796 4232 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-03-05 14:27:25,952 4232 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-05 14:27:25,952 4232 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-05 14:27:25,968 4232 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-05 14:27:25,968 4232 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-05 14:27:25,984 4232 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-05 14:27:25,999 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-05 14:27:25,999 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-05 14:27:25,999 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-05 14:27:26,016 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-05 14:27:26,031 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-05 14:27:26,031 4232 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-05 14:27:26,031 4232 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-05 14:27:26,047 4232 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-05 14:27:26,047 4232 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-05 14:27:26,062 4232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-05 14:27:26,062 4232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-05 14:27:26,079 4232 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-05 14:27:26,079 4232 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-05 14:27:26,093 4232 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-05 14:27:26,093 4232 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-05 14:27:26,110 4232 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-05 14:27:26,110 4232 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-05 14:27:26,124 4232 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-05 14:27:26,124 4232 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-05 14:27:26,124 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-05 14:27:26,139 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-05 14:27:26,139 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-05 14:27:26,155 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-05 14:27:26,155 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-05 14:27:26,171 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-05 14:27:26,171 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-05 14:27:26,187 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-05 14:27:26,187 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-05 14:27:26,203 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-05 14:27:26,219 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-05 14:27:26,219 4232 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-05 14:27:26,219 4232 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-05 14:27:26,234 4232 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-05 14:27:26,234 4232 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-05 14:27:26,250 4232 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-05 14:27:26,250 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-05 14:27:26,265 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-05 14:27:26,265 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-05 14:27:26,281 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-05 14:27:26,281 4232 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-05 14:27:26,296 4232 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-05 14:27:26,296 4232 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-05 14:27:26,312 4232 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-05 14:27:26,312 4232 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-05 14:27:26,312 4232 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-05 14:27:26,329 4232 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-05 14:27:26,329 4232 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-05 14:27:26,343 4232 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-05 14:27:26,343 4232 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-05 14:27:26,358 4232 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-05 14:27:26,358 4232 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-05 14:27:26,374 4232 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-05 14:27:26,374 4232 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-03-05 14:27:26,390 4232 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-03-05 14:27:26,390 4232 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-03-05 14:27:26,405 4232 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-03-05 14:27:26,405 4232 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-03-05 14:27:26,421 4232 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-03-05 14:27:26,421 4232 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-03-05 14:27:26,437 4232 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-03-05 14:27:26,437 4232 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-03-05 14:27:26,452 4232 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-03-05 14:27:26,452 4232 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-03-05 14:27:26,452 4232 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-03-05 14:27:26,469 4232 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-03-05 14:27:26,469 4232 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-03-05 14:27:26,485 4232 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-03-05 14:27:26,485 4232 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-03-05 14:27:26,499 4232 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-03-05 14:27:26,499 4232 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-03-05 14:27:26,514 4232 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-03-05 14:27:26,514 4232 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-03-05 14:27:26,530 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-03-05 14:27:26,530 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-03-05 14:27:26,547 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-03-05 14:27:26,547 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-03-05 14:27:26,562 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-03-05 14:27:26,562 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-03-05 14:27:26,577 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-05 14:27:26,577 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-03-05 14:27:26,593 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-03-05 14:27:26,593 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-03-05 14:27:26,609 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-03-05 14:27:26,609 4232 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-03-05 14:27:26,626 4232 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-05 14:27:26,626 4232 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-03-05 14:27:26,641 4232 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-03-05 14:27:26,641 4232 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-03-05 14:27:26,656 4232 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-03-05 14:27:26,656 4232 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-05 14:27:26,656 4232 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-03-05 14:27:26,671 4232 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-05 14:27:26,671 4232 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-03-05 14:27:26,687 4232 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-03-05 14:27:26,687 4232 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-03-05 14:27:26,781 4232 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-03-05 14:27:26,781 4232 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-03-05 14:27:26,796 4232 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-03-05 14:27:26,796 4232 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-03-05 14:27:26,812 4232 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-03-05 14:27:26,812 4232 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-03-05 14:27:26,828 4232 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-03-05 14:27:26,828 4232 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-03-05 14:27:26,843 4232 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-03-05 14:27:26,843 4232 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-03-05 14:27:27,031 4232 [DEBUG] - ---------------------------Script Execution---------------------------
2024-03-05 14:27:27,078 4232 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.7.3 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-03-05 14:27:27,155 4232 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
2024-03-05 14:27:27,219 4232 [WARN ] - WARNING: wazuh-agent has already been uninstalled by other means.
2024-03-05 14:27:27,265 4232 [DEBUG] - ----------------------------------------------------------------------
2024-03-05 14:27:27,280 4232 [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-03-05 14:27:27,327 4232 [INFO ] - Running auto uninstaller...
2024-03-05 14:27:27,343 4232 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2024-03-05 14:27:29,375 4232 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{8DD4A697-4C1B-4CB1-BB19-1F5FB031CF53}' for 'Wazuh Agent'
2024-03-05 14:27:29,437 4232 [DEBUG] - Uninstaller path is 'MsiExec.exe'
2024-03-05 14:27:29,452 4232 [DEBUG] - Installer type is 'MsiInstaller'
2024-03-05 14:27:29,468 4232 [DEBUG] - Setting up uninstall logging directory at C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.3
2024-03-05 14:27:29,468 4232 [DEBUG] - Args are '/X{8DD4A697-4C1B-4CB1-BB19-1F5FB031CF53} /qn /norestart'
2024-03-05 14:27:29,484 4232 [DEBUG] - Calling command ['"MsiExec.exe" /X{8DD4A697-4C1B-4CB1-BB19-1F5FB031CF53} /qn /norestart']
2024-03-05 14:27:40,437 4232 [DEBUG] - Command ['"MsiExec.exe" /X{8DD4A697-4C1B-4CB1-BB19-1F5FB031CF53} /qn /norestart'] exited with '0'
2024-03-05 14:27:40,453 4232 [INFO ] - Auto uninstaller has successfully uninstalled wazuh-agent or detected previous uninstall.
2024-03-05 14:27:40,453 4232 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-03-05 14:27:40,608 4232 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-03-05 14:27:40,625 4232 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent".
2024-03-05 14:27:40,655 4232 [DEBUG] - Ensuring removal of installation files.
2024-03-05 14:27:40,671 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum '51EA4EBFD8BB29609180BFE2BE237698'
2024-03-05 14:27:40,671 4232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg".
2024-03-05 14:27:40,671 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum '457383EA3F95BA9C0A5E42AD3BF920FD'
2024-03-05 14:27:40,688 4232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec".
2024-03-05 14:27:40,703 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum '28F9408015E31305C6A801DB780CE1F7'
2024-03-05 14:27:40,703 4232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1".
2024-03-05 14:27:40,733 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2024-03-05 14:27:40,733 4232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1".
2024-03-05 14:27:40,733 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2024-03-05 14:27:40,751 4232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1".
2024-03-05 14:27:40,765 4232 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\wazuh-agent".
2024-03-05 14:27:40,765 4232 [INFO ] - wazuh-agent has been successfully uninstalled.
2024-03-05 14:27:40,781 4232 [DEBUG] - Removing nupkg if it still exists.
2024-03-05 14:27:40,781 4232 [DEBUG] - Ensuring removal of installation files.
2024-03-05 14:27:40,858 4232 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-03-05 14:27:40,858 4232 [WARN ] -
Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
https://chocolatey.org/compare
2024-03-05 14:27:40,874 4232 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-03-05 14:27:40,890 4232 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment