Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created November 28, 2023 14:20
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/c0c36d3b0fb7c2744e6ac2163a8b434c to your computer and use it in GitHub Desktop.
Save choco-bot/c0c36d3b0fb7c2744e6ac2163a8b434c to your computer and use it in GitHub Desktop.
wazuh-agent v4.7.0 - 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-1384702346-3140577724-707214389-1000</user>
<keys>
<key installerType="Msi" displayName="Wazuh Agent" displayVersion="4.7.0">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2127A8F6-4D4C-4E53-928F-F20DA19B71DF}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{2127A8F6-4D4C-4E53-928F-F20DA19B71DF}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Wazuh, Inc.]]></Publisher>
<InstallDate>20231128</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.0\]]></InstallSource>
<Language>1033</Language>
<Version>67567616</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\70252.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

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

  • https://community.chocolatey.org/packages/wazuh-agent/4.7.0
  • Tested 28 Nov 2023 14:20:40 +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="1DA03ED477C72C0D80A4B4B4CC5C34B7" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec" checksum="B505E0D9EAD459D87A5A6E8B616C1650" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1" checksum="DF4006D74DDAFD6DE71A1A05E08717E6" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1" checksum="E64EA2365BF83508C2E5F4D2E40253BB" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1" checksum="C7DA559B5059ADC05A97BE553DB2573F" />
</files>
</fileSnapshot>
2023-11-28 14:18:18,500 5612 [DEBUG] - XmlConfiguration is now operational
2023-11-28 14:18:18,796 5612 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-11-28 14:18:18,811 5612 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-11-28 14:18:18,829 5612 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-11-28 14:18:18,843 5612 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-11-28 14:18:18,843 5612 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-11-28 14:18:18,859 5612 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-11-28 14:18:18,859 5612 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-11-28 14:18:18,874 5612 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-11-28 14:18:18,874 5612 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-11-28 14:18:18,890 5612 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-11-28 14:18:18,890 5612 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-11-28 14:18:19,904 5612 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:18:19,920 5612 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:18:19,920 5612 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:18:19,920 5612 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:18:19,936 5612 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:18:19,936 5612 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:18:19,952 5612 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:18:19,952 5612 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:18:19,952 5612 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:18:19,967 5612 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:18:20,000 5612 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-11-28 14:18:20,032 5612 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-11-28 14:18:20,048 5612 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-11-28 14:18:20,061 5612 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-11-28 14:18:20,061 5612 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-11-28 14:18:20,061 5612 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-11-28 14:18:20,077 5612 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-11-28 14:18:20,110 5612 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-11-28 14:18:20,110 5612 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-11-28 14:18:20,126 5612 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-11-28 14:18:20,126 5612 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-11-28 14:18:20,140 5612 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-11-28 14:18:20,140 5612 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-11-28 14:18:20,155 5612 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-11-28 14:18:20,155 5612 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-11-28 14:18:20,155 5612 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-11-28 14:18:20,171 5612 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-11-28 14:18:20,186 5612 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-11-28 14:18:20,203 5612 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-11-28 14:18:20,234 5612 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-11-28 14:18:20,718 5612 [INFO ] - ============================================================
2023-11-28 14:18:21,688 5612 [INFO ] - Chocolatey v2.2.2
2023-11-28 14:18:21,735 5612 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-11-28 14:18:21,779 5612 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-11-28 14:18:21,779 5612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-11-28 14:18:21,827 5612 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install wazuh-agent --version 4.7.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-11-28 14:18:21,827 5612 [DEBUG] - Received arguments: install wazuh-agent --version 4.7.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-11-28 14:18:22,097 5612 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-11-28 14:18:22,193 5612 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-11-28 14:18:22,259 5612 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-11-28 14:18:22,610 5612 [DEBUG] - Performing validation checks.
2023-11-28 14:18:22,626 5612 [DEBUG] - Global Configuration Validation Checks:
2023-11-28 14:18:22,642 5612 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-11-28 14:18:22,656 5612 [DEBUG] - System State Validation Checks:
2023-11-28 14:18:22,670 5612 [DEBUG] - Reboot Requirement Checks:
2023-11-28 14:18:22,735 5612 [DEBUG] - - Pending Computer Rename = Checked
2023-11-28 14:18:22,766 5612 [DEBUG] - - Pending Component Based Servicing = Checked
2023-11-28 14:18:22,784 5612 [DEBUG] - - Pending Windows Auto Update = Checked
2023-11-28 14:18:22,784 5612 [DEBUG] - - Pending File Rename Operations = Ignored
2023-11-28 14:18:22,798 5612 [DEBUG] - - Pending Windows Package Installer = Checked
2023-11-28 14:18:22,844 5612 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-11-28 14:18:22,875 5612 [DEBUG] - Cache Folder Lockdown Checks:
2023-11-28 14:18:22,875 5612 [DEBUG] - - Elevated State = Checked
2023-11-28 14:18:22,907 5612 [DEBUG] - - Folder Exists = Checked
2023-11-28 14:18:22,940 5612 [DEBUG] - - Folder lockdown = Checked
2023-11-28 14:18:22,953 5612 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-11-28 14:18:23,062 5612 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-11-28 14:18:23,062 5612 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-11-28 14:18:23,157 5612 [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.0'|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-5NF0LLRJ83V'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2023-11-28 14:18:23,157 5612 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-11-28 14:18:23,221 5612 [INFO ] - Installing the following packages:
2023-11-28 14:18:23,234 5612 [INFO ] - wazuh-agent
2023-11-28 14:18:23,249 5612 [INFO ] - By installing, you accept licenses for the packages.
2023-11-28 14:18:23,280 5612 [DEBUG] - Current environment values (may contain sensitive data):
2023-11-28 14:18:23,295 5612 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-11-28 14:18:23,314 5612 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-11-28 14:18:23,329 5612 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-11-28 14:18:23,329 5612 [DEBUG] - * 'ChocolateyLastPathUpdate'='133456476384407588' ('User')
2023-11-28 14:18:23,343 5612 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-11-28 14:18:23,343 5612 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-11-28 14:18:23,359 5612 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-11-28 14:18:23,375 5612 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-11-28 14:18:23,375 5612 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-11-28 14:18:23,390 5612 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-11-28 14:18:23,390 5612 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-11-28 14:18:23,407 5612 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-11-28 14:18:23,420 5612 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-11-28 14:18:23,420 5612 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-11-28 14:18:23,420 5612 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-11-28 14:18:23,438 5612 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2023-11-28 14:18:23,452 5612 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-11-28 14:18:23,452 5612 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2023-11-28 14:18:23,469 5612 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2023-11-28 14:18:23,483 5612 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-11-28 14:18:24,281 5612 [DEBUG] - Running list with the following filter = ''
2023-11-28 14:18:24,281 5612 [DEBUG] - --- Start of List ---
2023-11-28 14:18:24,374 5612 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-11-28 14:18:25,112 5612 [DEBUG] - chocolatey 2.2.2
2023-11-28 14:18:25,155 5612 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2023-11-28 14:18:25,173 5612 [DEBUG] - KB2919355 1.0.20160915
2023-11-28 14:18:25,173 5612 [DEBUG] - KB2919442 1.0.20160915
2023-11-28 14:18:25,190 5612 [DEBUG] - KB2999226 1.0.20181019
2023-11-28 14:18:25,218 5612 [DEBUG] - KB3035131 1.0.3
2023-11-28 14:18:25,233 5612 [DEBUG] - KB3118401 1.0.5
2023-11-28 14:18:25,280 5612 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2023-11-28 14:18:25,280 5612 [DEBUG] - --- End of List ---
2023-11-28 14:18:25,328 5612 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2023-11-28 14:18:26,249 5612 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2023-11-28 14:18:27,473 5612 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.7.0')
2023-11-28 14:18:27,737 5612 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.7.0') 250ms
2023-11-28 14:18:27,998 5612 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2023-11-28 14:18:28,860 5612 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2023-11-28 14:18:28,891 5612 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.7.0')
2023-11-28 14:18:29,190 5612 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2023-11-28 14:18:29,250 5612 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2023-11-28 14:18:29,337 5612 [DEBUG] - Attempting to delete file "".
2023-11-28 14:18:29,406 5612 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/wazuh-agent/4.7.0
2023-11-28 14:18:30,237 5612 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/wazuh-agent/4.7.0 812ms
2023-11-28 14:18:30,405 5612 [INFO ] - [NuGet] Acquiring lock for the installation of wazuh-agent 4.7.0
2023-11-28 14:18:30,639 5612 [INFO ] - [NuGet] Acquired lock for the installation of wazuh-agent 4.7.0
2023-11-28 14:18:31,283 5612 [INFO ] - [NuGet] Installed wazuh-agent 4.7.0 from https://community.chocolatey.org/api/v2/ with content hash DyAQjItVIgoBzXmkkF+14jP1QJIUmFnb7nKp5ZSMz5GDrNY+p9uk/ALl5CnXoErR3pVpp9gmoOxo4qCny7LGKQ==.
2023-11-28 14:18:31,377 5612 [INFO ] - [NuGet] Adding package 'wazuh-agent.4.7.0' to folder 'C:\ProgramData\chocolatey\lib'
2023-11-28 14:18:31,566 5612 [INFO ] - [NuGet] Added package 'wazuh-agent.4.7.0' to folder 'C:\ProgramData\chocolatey\lib'
2023-11-28 14:18:31,612 5612 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.7.0\wazuh-agent.4.7.0.nupkg".
2023-11-28 14:18:31,625 5612 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.7.0\.nupkg.metadata".
2023-11-28 14:18:31,642 5612 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.7.0\wazuh-agent.4.7.0.nupkg.sha512".
2023-11-28 14:18:31,656 5612 [INFO ] -
wazuh-agent v4.7.0 (forced)
2023-11-28 14:18:31,769 5612 [INFO ] - wazuh-agent package files install completed. Performing other installation steps.
2023-11-28 14:18:31,878 5612 [DEBUG] - Setting installer args for wazuh-agent
2023-11-28 14:18:31,893 5612 [DEBUG] - Setting package parameters for wazuh-agent
2023-11-28 14:18:31,915 5612 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1':
2023-11-28 14:18:31,951 5612 [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.0-1.msi'
$checksumPackage = 'fede82d16c27c8d947bcb8dfba95314afb8578707afd6ee2ba4d3891d0f5404d226a3fd9a2ffafbfad63d4259376a66a0d5456ef721c831e2bcd12ec0d9de6f3'
Import-Module -Name "$($toolsDir)\helpers.ps1"
$args = ""
if ($PackageParameters['ApplicationFolder']) {
$args = $args + " APPLICATIONFOLDER=" + $PackageParameters['ApplicationFolder']
}
if ($PackageParameters['Manager']) {
$args = $args + " WAZUH_MANAGER=" + $PackageParameters['Manager']
}
if ($PackageParameters['ManagerPort']) {
$args = $args + " WAZUH_MANAGER_PORT=" + $PackageParameters['ManagerPort']
}
if ($PackageParameters['Protocol']) {
$args = $args + " WAZUH_PROTOCOL=" + $PackageParameters['Protocol']
}
if ($PackageParameters['RegistrationServer']) {
$args = $args + " WAZUH_REGISTRATION_SERVER=" + $PackageParameters['RegistrationServer']
}
if ($PackageParameters['RegistrationPort']) {
$args = $args + " WAZUH_REGISTRATION_SERVER=" + $PackageParameters['RegistrationPort']
}
if ($PackageParameters['RegistrationPassword']) {
$args = $args + " WAZUH_REGISTRATION_PASSWORD=" + $PackageParameters['RegistrationPassword']
}
if ($PackageParameters['KeepAliveInterval']) {
$args = $args + " WAZUH_KEEP_ALIVE_INTERVAL=" + $PackageParameters['KeepAliveInterval']
}
if ($PackageParameters['TimeReconnect']) {
$args = $args + " WAZUH_TIME_RECONNECT=" + $PackageParameters['TimeReconnect']
}
if ($PackageParameters['RegistrationCA']) {
$args = $args + " WAZUH_REGISTRATION_CA=" + $PackageParameters['RegistrationCA']
}
if ($PackageParameters['RegistrationCertificate']) {
$args = $args + " WAZUH_REGISTRATION_CERTIFICATE=" + $PackageParameters['RegistrationCertificate']
}
if ($PackageParameters['RegistrationKey']) {
$args = $args + " WAZUH_REGISTRATION_KEY=" + $PackageParameters['RegistrationKey']
}
if ($PackageParameters['AgentName']) {
$args = $args + " WAZUH_AGENT_NAME=" + $PackageParameters['AgentName']
}
if ($PackageParameters['AgentGroup']) {
$args = $args + " WAZUH_AGENT_GROUP=" + $PackageParameters['AgentGroup']
}
Write-Output $args
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'msi'
url = $urlPackage
checksum = $checksumPackage
checksumType = 'SHA512'
url64 = $urlPackage
checksum64 = $checksumPackage
checksumType64 = 'SHA512'
silentArgs = "$($args) /q"
ValidExitCodes = @(0, 1000, 1101)
}
Install-ChocolateyPackage @packageArgs
if ($PackageParameters.CleanStartmenu) {
Remove-FileItem `
-Path "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\OSSEC"
}
2023-11-28 14:18:32,030 5612 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-11-28 14:18:32,047 5612 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-11-28 14:18:33,423 5612 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-11-28 14:18:34,329 5612 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-11-28 14:18:34,342 5612 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-11-28 14:18:34,342 5612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-11-28 14:18:34,374 5612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-11-28 14:18:34,374 5612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-11-28 14:18:34,389 5612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-11-28 14:18:34,406 5612 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-11-28 14:18:34,406 5612 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-11-28 14:18:34,406 5612 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-11-28 14:18:34,423 5612 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-11-28 14:18:34,437 5612 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-11-28 14:18:34,437 5612 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-11-28 14:18:34,453 5612 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-11-28 14:18:34,468 5612 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-11-28 14:18:34,485 5612 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-11-28 14:18:34,503 5612 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-11-28 14:18:34,532 5612 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-11-28 14:18:34,532 5612 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-11-28 14:18:34,547 5612 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-11-28 14:18:34,547 5612 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-11-28 14:18:34,547 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-11-28 14:18:34,582 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-11-28 14:18:34,595 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-11-28 14:18:34,609 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-11-28 14:18:34,609 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-11-28 14:18:34,640 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-11-28 14:18:34,640 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-11-28 14:18:34,655 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-11-28 14:18:34,655 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-11-28 14:18:34,671 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-11-28 14:18:34,688 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-11-28 14:18:34,688 5612 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-11-28 14:18:34,703 5612 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-11-28 14:18:34,718 5612 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-11-28 14:18:34,718 5612 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-11-28 14:18:34,733 5612 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-11-28 14:18:34,750 5612 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-11-28 14:18:34,750 5612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-11-28 14:18:34,766 5612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-11-28 14:18:34,781 5612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-11-28 14:18:34,781 5612 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-11-28 14:18:34,797 5612 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-11-28 14:18:34,814 5612 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-11-28 14:18:34,814 5612 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-11-28 14:18:34,828 5612 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-11-28 14:18:34,844 5612 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-11-28 14:18:34,860 5612 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-11-28 14:18:34,860 5612 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-11-28 14:18:34,875 5612 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-11-28 14:18:34,890 5612 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-11-28 14:18:34,907 5612 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-11-28 14:18:34,952 5612 [DEBUG] - Loading community extensions
2023-11-28 14:18:35,014 5612 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-11-28 14:18:35,035 5612 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-11-28 14:18:35,275 5612 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-11-28 14:18:35,301 5612 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-11-28 14:18:35,312 5612 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-11-28 14:18:35,328 5612 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-11-28 14:18:35,328 5612 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-11-28 14:18:35,361 5612 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-11-28 14:18:35,375 5612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-11-28 14:18:35,389 5612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-11-28 14:18:35,389 5612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-11-28 14:18:35,405 5612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-11-28 14:18:35,421 5612 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-11-28 14:18:35,438 5612 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-11-28 14:18:35,438 5612 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-11-28 14:18:35,452 5612 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-11-28 14:18:35,452 5612 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-11-28 14:18:35,468 5612 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-11-28 14:18:35,483 5612 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-11-28 14:18:35,483 5612 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-11-28 14:18:35,499 5612 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-11-28 14:18:35,515 5612 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-11-28 14:18:35,515 5612 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-11-28 14:18:35,531 5612 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-11-28 14:18:35,547 5612 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-11-28 14:18:35,547 5612 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-11-28 14:18:35,562 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-11-28 14:18:35,580 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-11-28 14:18:35,609 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-11-28 14:18:35,609 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-11-28 14:18:35,629 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-11-28 14:18:35,640 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-11-28 14:18:35,656 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-11-28 14:18:35,672 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-11-28 14:18:35,672 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-11-28 14:18:35,686 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-11-28 14:18:35,703 5612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-11-28 14:18:35,718 5612 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-11-28 14:18:35,734 5612 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-11-28 14:18:35,734 5612 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-11-28 14:18:35,749 5612 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-11-28 14:18:35,765 5612 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-11-28 14:18:35,765 5612 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-11-28 14:18:35,780 5612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-11-28 14:18:35,780 5612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-11-28 14:18:35,796 5612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-11-28 14:18:35,812 5612 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-11-28 14:18:35,812 5612 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-11-28 14:18:35,828 5612 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-11-28 14:18:35,844 5612 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-11-28 14:18:35,844 5612 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-11-28 14:18:35,858 5612 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-11-28 14:18:35,875 5612 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-11-28 14:18:35,875 5612 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-11-28 14:18:35,890 5612 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-11-28 14:18:35,906 5612 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-11-28 14:18:35,906 5612 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-11-28 14:18:35,921 5612 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-11-28 14:18:35,921 5612 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-11-28 14:18:35,938 5612 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-11-28 14:18:35,952 5612 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-11-28 14:18:35,952 5612 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-11-28 14:18:35,969 5612 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-11-28 14:18:35,985 5612 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-11-28 14:18:35,985 5612 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-11-28 14:18:36,001 5612 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-11-28 14:18:36,015 5612 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-11-28 14:18:36,031 5612 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-11-28 14:18:36,031 5612 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-11-28 14:18:36,065 5612 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-11-28 14:18:36,065 5612 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-11-28 14:18:36,078 5612 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-11-28 14:18:36,093 5612 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-11-28 14:18:36,110 5612 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-11-28 14:18:36,110 5612 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-11-28 14:18:36,125 5612 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-11-28 14:18:36,140 5612 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-11-28 14:18:36,156 5612 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-11-28 14:18:36,156 5612 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-11-28 14:18:36,172 5612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-11-28 14:18:36,187 5612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-11-28 14:18:36,203 5612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-11-28 14:18:36,203 5612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-11-28 14:18:36,218 5612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-11-28 14:18:36,218 5612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-11-28 14:18:36,234 5612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-11-28 14:18:36,251 5612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-11-28 14:18:36,251 5612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-11-28 14:18:36,282 5612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-11-28 14:18:36,282 5612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-11-28 14:18:36,297 5612 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-11-28 14:18:36,297 5612 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-11-28 14:18:36,328 5612 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-11-28 14:18:36,328 5612 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-11-28 14:18:36,343 5612 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-11-28 14:18:36,360 5612 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-11-28 14:18:36,360 5612 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-11-28 14:18:36,377 5612 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-11-28 14:18:36,391 5612 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-11-28 14:18:36,406 5612 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-11-28 14:18:36,406 5612 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-11-28 14:18:36,421 5612 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-11-28 14:18:36,439 5612 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-11-28 14:18:36,453 5612 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-11-28 14:18:36,469 5612 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-11-28 14:18:36,469 5612 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-11-28 14:18:36,484 5612 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-11-28 14:18:36,532 5612 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-11-28 14:18:36,563 5612 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-11-28 14:18:36,563 5612 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-11-28 14:18:36,577 5612 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-11-28 14:18:36,594 5612 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-11-28 14:18:36,862 5612 [DEBUG] - ---------------------------Script Execution---------------------------
2023-11-28 14:18:36,921 5612 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.7.0 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-11-28 14:18:37,035 5612 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
2023-11-28 14:18:37,283 5612 [DEBUG] - Running Get-PackageParameters
2023-11-28 14:18:37,315 5612 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2023-11-28 14:18:37,427 5612 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
2023-11-28 14:18:37,445 5612 [INFO ] - VERBOSE: Dot-sourcing the script file 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
2023-11-28 14:18:37,483 5612 [INFO ] -
2023-11-28 14:18:37,847 5612 [DEBUG] - Running Install-ChocolateyPackage -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.0-1.msi' -checksum 'fede82d16c27c8d947bcb8dfba95314afb8578707afd6ee2ba4d3891d0f5404d226a3fd9a2ffafbfad63d4259376a66a0d5456ef721c831e2bcd12ec0d9de6f3' -checksum64 'fede82d16c27c8d947bcb8dfba95314afb8578707afd6ee2ba4d3891d0f5404d226a3fd9a2ffafbfad63d4259376a66a0d5456ef721c831e2bcd12ec0d9de6f3' -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.0-1.msi'
2023-11-28 14:18:38,198 5612 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'wazuh-agent' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.0\wazuh-agentInstall.msi' -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.0-1.msi' -url64bit 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.0-1.msi' -checksum 'fede82d16c27c8d947bcb8dfba95314afb8578707afd6ee2ba4d3891d0f5404d226a3fd9a2ffafbfad63d4259376a66a0d5456ef721c831e2bcd12ec0d9de6f3' -checksumType 'SHA512' -checksum64 'fede82d16c27c8d947bcb8dfba95314afb8578707afd6ee2ba4d3891d0f5404d226a3fd9a2ffafbfad63d4259376a66a0d5456ef721c831e2bcd12ec0d9de6f3' -checksumType64 'SHA512' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2023-11-28 14:18:38,342 5612 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-11-28 14:18:38,420 5612 [DEBUG] - CPU is 64 bit
2023-11-28 14:18:38,486 5612 [DEBUG] - Setting url to 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.0-1.msi' and bitPackage to 64
2023-11-28 14:18:38,656 5612 [DEBUG] - Running Get-WebFileName -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.0-1.msi' -defaultName 'wazuh-agentInstall.msi'
2023-11-28 14:18:39,705 5612 [DEBUG] - Using response url to determine file name. 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.0-1.msi'
2023-11-28 14:18:39,749 5612 [DEBUG] - File name determined from url is 'wazuh-agent-4.7.0-1.msi'
2023-11-28 14:18:39,865 5612 [DEBUG] - Running Get-WebHeaders -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.0-1.msi' -ErrorAction 'Stop'
2023-11-28 14:18:39,908 5612 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-11-28 14:18:39,920 5612 [DEBUG] - Request Headers:
2023-11-28 14:18:39,967 5612 [DEBUG] - 'Accept':'*/*'
2023-11-28 14:18:40,002 5612 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-11-28 14:18:40,133 5612 [DEBUG] - Response Headers:
2023-11-28 14:18:40,186 5612 [DEBUG] - 'Connection':'keep-alive'
2023-11-28 14:18:40,205 5612 [DEBUG] - 'x-amz-server-side-encryption':'AES256'
2023-11-28 14:18:40,219 5612 [DEBUG] - 'x-amz-version-id':'e6hd.Dr.I_pg6XNALzwzv6ZrBruZqSwb'
2023-11-28 14:18:40,238 5612 [DEBUG] - 'X-Cache':'Hit from cloudfront'
2023-11-28 14:18:40,249 5612 [DEBUG] - 'X-Amz-Cf-Pop':'MCI50-P1'
2023-11-28 14:18:40,264 5612 [DEBUG] - 'X-Amz-Cf-Id':'r8l1pyqwXum3FZrxkoVF_uQtWCjpJVIfwvn96og4eVO4JJQhZ1-DwQ=='
2023-11-28 14:18:40,264 5612 [DEBUG] - 'Age':'82058'
2023-11-28 14:18:40,282 5612 [DEBUG] - 'Accept-Ranges':'bytes'
2023-11-28 14:18:40,296 5612 [DEBUG] - 'Content-Length':'6524928'
2023-11-28 14:18:40,311 5612 [DEBUG] - 'Content-Type':'binary/octet-stream'
2023-11-28 14:18:40,326 5612 [DEBUG] - 'Date':'Mon, 27 Nov 2023 15:31:03 GMT'
2023-11-28 14:18:40,326 5612 [DEBUG] - 'ETag':'"fd3de1502c7d3d3af83c576a4f2b4741"'
2023-11-28 14:18:40,342 5612 [DEBUG] - 'Last-Modified':'Mon, 27 Nov 2023 11:20:51 GMT'
2023-11-28 14:18:40,359 5612 [DEBUG] - 'Server':'AmazonS3'
2023-11-28 14:18:40,359 5612 [DEBUG] - 'Via':'1.1 ff4f8b900d2302ebd04eade9aec50642.cloudfront.net (CloudFront)'
2023-11-28 14:18:40,421 5612 [INFO ] - Downloading wazuh-agent 64 bit
from 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.0-1.msi'
2023-11-28 14:18:40,545 5612 [DEBUG] - Running Get-WebFile -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.0-1.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.0\wazuh-agent-4.7.0-1.msi' -options 'System.Collections.Hashtable'
2023-11-28 14:18:40,579 5612 [DEBUG] - Setting request timeout to 30000
2023-11-28 14:18:40,660 5612 [DEBUG] - Setting read/write timeout to 2700000
2023-11-28 14:18:40,688 5612 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-11-28 14:18:41,546 5612 [DEBUG] - Downloading https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.0-1.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.0\wazuh-agent-4.7.0-1.msi
2023-11-28 14:18:42,625 5612 [INFO ] -
2023-11-28 14:18:42,640 5612 [INFO ] - Download of wazuh-agent-4.7.0-1.msi (6.22 MB) completed.
2023-11-28 14:18:45,851 5612 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-11-28 14:18:45,892 5612 [DEBUG] - Verifying package provided checksum of 'fede82d16c27c8d947bcb8dfba95314afb8578707afd6ee2ba4d3891d0f5404d226a3fd9a2ffafbfad63d4259376a66a0d5456ef721c831e2bcd12ec0d9de6f3' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.0\wazuh-agent-4.7.0-1.msi'.
2023-11-28 14:18:45,954 5612 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.0\wazuh-agent-4.7.0-1.msi' -checksum 'fede82d16c27c8d947bcb8dfba95314afb8578707afd6ee2ba4d3891d0f5404d226a3fd9a2ffafbfad63d4259376a66a0d5456ef721c831e2bcd12ec0d9de6f3' -checksumType 'SHA512' -originalUrl 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.0-1.msi'
2023-11-28 14:18:46,001 5612 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-11-28 14:18:46,031 5612 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="fede82d16c27c8d947bcb8dfba95314afb8578707afd6ee2ba4d3891d0f5404d226a3fd9a2ffafbfad63d4259376a66a0d5456ef721c831e2bcd12ec0d9de6f3" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.0\wazuh-agent-4.7.0-1.msi"]
2023-11-28 14:18:49,865 5612 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="fede82d16c27c8d947bcb8dfba95314afb8578707afd6ee2ba4d3891d0f5404d226a3fd9a2ffafbfad63d4259376a66a0d5456ef721c831e2bcd12ec0d9de6f3" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.0\wazuh-agent-4.7.0-1.msi"] exited with '0'.
2023-11-28 14:18:50,047 5612 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'wazuh-agent' -fileType 'msi' -silentArgs ' /q' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.0\wazuh-agent-4.7.0-1.msi' -validExitCodes '0 1000 1101' -useOnlyPackageSilentArguments 'False'
2023-11-28 14:18:50,081 5612 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-11-28 14:18:50,094 5612 [INFO ] - Installing wazuh-agent...
2023-11-28 14:18:50,380 5612 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1000 1101' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.0' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.0\wazuh-agent-4.7.0-1.msi" /q ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-11-28 14:18:50,533 5612 [DEBUG] - Test-ProcessAdminRights: returning True
2023-11-28 14:18:50,595 5612 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.0\wazuh-agent-4.7.0-1.msi" /q ]. This may take a while, depending on the statements.
2023-11-28 14:19:27,890 5612 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.0\wazuh-agent-4.7.0-1.msi" /q ] exited with '0'.
2023-11-28 14:19:27,968 5612 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-11-28 14:19:27,999 5612 [INFO ] - wazuh-agent has been installed.
2023-11-28 14:19:28,061 5612 [DEBUG] - ----------------------------------------------------------------------
2023-11-28 14:19:28,077 5612 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-11-28 14:19:28,110 5612 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-11-28 14:19:28,327 5612 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-11-28 14:19:28,453 5612 [INFO ] - wazuh-agent may be able to be automatically uninstalled.
2023-11-28 14:19:28,736 5612 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
2023-11-28 14:19:28,752 5612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum '1DA03ED477C72C0D80A4B4B4CC5C34B7'
2023-11-28 14:19:28,766 5612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum 'B505E0D9EAD459D87A5A6E8B616C1650'
2023-11-28 14:19:28,782 5612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum 'DF4006D74DDAFD6DE71A1A05E08717E6'
2023-11-28 14:19:28,782 5612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2023-11-28 14:19:28,796 5612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2023-11-28 14:19:28,878 5612 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.0".
2023-11-28 14:19:28,999 5612 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.0\.registry'
2023-11-28 14:19:29,061 5612 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.0\.files'
2023-11-28 14:19:29,108 5612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.0\.extra".
2023-11-28 14:19:29,125 5612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.0\.version".
2023-11-28 14:19:29,125 5612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.0\.sxs".
2023-11-28 14:19:29,140 5612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.0\.pin".
2023-11-28 14:19:29,170 5612 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-11-28 14:19:29,170 5612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\.chocolateyPending".
2023-11-28 14:19:29,203 5612 [INFO ] - The install of wazuh-agent was successful.
2023-11-28 14:19:29,219 5612 [INFO ] - Software installed as 'msi', install location is likely default.
2023-11-28 14:19:29,248 5612 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-11-28 14:19:29,288 5612 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-11-28 14:19:29,328 5612 [DEBUG] - Exiting with 0
2023-11-28 14:19:55,031 4772 [DEBUG] - XmlConfiguration is now operational
2023-11-28 14:19:55,436 4772 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-11-28 14:19:55,454 4772 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-11-28 14:19:55,468 4772 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-11-28 14:19:55,468 4772 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-11-28 14:19:55,484 4772 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-11-28 14:19:55,500 4772 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-11-28 14:19:55,515 4772 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-11-28 14:19:55,515 4772 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-11-28 14:19:55,530 4772 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-11-28 14:19:55,530 4772 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-11-28 14:19:55,545 4772 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-11-28 14:19:56,967 4772 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:19:56,983 4772 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:19:56,983 4772 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:19:56,999 4772 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:19:57,015 4772 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:19:57,015 4772 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:19:57,015 4772 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:19:57,031 4772 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:19:57,031 4772 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:19:57,046 4772 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-28 14:19:57,077 4772 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-11-28 14:19:57,093 4772 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-11-28 14:19:57,093 4772 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-11-28 14:19:57,108 4772 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-11-28 14:19:57,124 4772 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-11-28 14:19:57,124 4772 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-11-28 14:19:57,140 4772 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-11-28 14:19:57,140 4772 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-11-28 14:19:57,156 4772 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-11-28 14:19:57,172 4772 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-11-28 14:19:57,172 4772 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-11-28 14:19:57,187 4772 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-11-28 14:19:57,204 4772 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-11-28 14:19:57,204 4772 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-11-28 14:19:57,234 4772 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-11-28 14:19:57,234 4772 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-11-28 14:19:57,249 4772 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-11-28 14:19:57,265 4772 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-11-28 14:19:57,281 4772 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-11-28 14:19:57,296 4772 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-11-28 14:19:57,733 4772 [INFO ] - ============================================================
2023-11-28 14:19:58,456 4772 [INFO ] - Chocolatey v2.2.2
2023-11-28 14:19:58,577 4772 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-11-28 14:19:58,641 4772 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-11-28 14:19:58,689 4772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-11-28 14:19:58,748 4772 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall wazuh-agent --version 4.7.0 -dvy --execution-timeout=2700
2023-11-28 14:19:58,796 4772 [DEBUG] - Received arguments: uninstall wazuh-agent --version 4.7.0 -dvy --execution-timeout=2700
2023-11-28 14:19:59,147 4772 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-11-28 14:19:59,201 4772 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-11-28 14:19:59,249 4772 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-11-28 14:19:59,469 4772 [DEBUG] - Performing validation checks.
2023-11-28 14:19:59,514 4772 [DEBUG] - Global Configuration Validation Checks:
2023-11-28 14:19:59,577 4772 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-11-28 14:19:59,641 4772 [DEBUG] - System State Validation Checks:
2023-11-28 14:19:59,677 4772 [DEBUG] - Reboot Requirement Checks:
2023-11-28 14:19:59,687 4772 [DEBUG] - - Pending Computer Rename = Checked
2023-11-28 14:19:59,703 4772 [DEBUG] - - Pending Component Based Servicing = Checked
2023-11-28 14:19:59,720 4772 [DEBUG] - - Pending Windows Auto Update = Checked
2023-11-28 14:19:59,734 4772 [DEBUG] - - Pending File Rename Operations = Ignored
2023-11-28 14:19:59,764 4772 [DEBUG] - - Pending Windows Package Installer = Checked
2023-11-28 14:19:59,815 4772 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-11-28 14:19:59,861 4772 [DEBUG] - Cache Folder Lockdown Checks:
2023-11-28 14:19:59,921 4772 [DEBUG] - - Elevated State = Checked
2023-11-28 14:19:59,937 4772 [DEBUG] - - Folder Exists = Checked
2023-11-28 14:19:59,968 4772 [DEBUG] - - Folder lockdown = Checked
2023-11-28 14:19:59,999 4772 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-11-28 14:20:00,109 4772 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-11-28 14:20:00,124 4772 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-11-28 14:20:00,234 4772 [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.0'|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-5NF0LLRJ83V'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2023-11-28 14:20:00,283 4772 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-11-28 14:20:00,405 4772 [INFO ] - Uninstalling the following packages:
2023-11-28 14:20:00,437 4772 [INFO ] - wazuh-agent
2023-11-28 14:20:00,514 4772 [DEBUG] - Current environment values (may contain sensitive data):
2023-11-28 14:20:00,530 4772 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-11-28 14:20:00,563 4772 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-11-28 14:20:00,563 4772 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-11-28 14:20:00,593 4772 [DEBUG] - * 'ChocolateyLastPathUpdate'='133456476384407588' ('User')
2023-11-28 14:20:00,608 4772 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-11-28 14:20:00,608 4772 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-11-28 14:20:00,625 4772 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-11-28 14:20:00,657 4772 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-11-28 14:20:00,673 4772 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-11-28 14:20:00,687 4772 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-11-28 14:20:00,702 4772 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-11-28 14:20:00,718 4772 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-11-28 14:20:00,750 4772 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-11-28 14:20:00,767 4772 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-11-28 14:20:00,781 4772 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-11-28 14:20:00,813 4772 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2023-11-28 14:20:00,828 4772 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-11-28 14:20:00,843 4772 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2023-11-28 14:20:00,860 4772 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2023-11-28 14:20:00,874 4772 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-11-28 14:20:01,194 4772 [DEBUG] - Running list with the following filter = ''
2023-11-28 14:20:01,235 4772 [DEBUG] - --- Start of List ---
2023-11-28 14:20:02,076 4772 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-11-28 14:20:02,968 4772 [DEBUG] - chocolatey 2.2.2
2023-11-28 14:20:03,015 4772 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2023-11-28 14:20:03,108 4772 [DEBUG] - KB2919355 1.0.20160915
2023-11-28 14:20:03,126 4772 [DEBUG] - KB2919442 1.0.20160915
2023-11-28 14:20:03,157 4772 [DEBUG] - KB2999226 1.0.20181019
2023-11-28 14:20:03,187 4772 [DEBUG] - KB3035131 1.0.3
2023-11-28 14:20:03,203 4772 [DEBUG] - KB3118401 1.0.5
2023-11-28 14:20:03,219 4772 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2023-11-28 14:20:03,627 4772 [DEBUG] - wazuh-agent 4.7.0
2023-11-28 14:20:03,656 4772 [DEBUG] - --- End of List ---
2023-11-28 14:20:03,671 4772 [DEBUG] - Running list with the following filter = ''
2023-11-28 14:20:03,687 4772 [DEBUG] - --- Start of List ---
2023-11-28 14:20:03,751 4772 [DEBUG] - chocolatey 2.2.2
2023-11-28 14:20:03,796 4772 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2023-11-28 14:20:03,877 4772 [DEBUG] - KB2919355 1.0.20160915
2023-11-28 14:20:03,954 4772 [DEBUG] - KB2919442 1.0.20160915
2023-11-28 14:20:04,031 4772 [DEBUG] - KB2999226 1.0.20181019
2023-11-28 14:20:04,077 4772 [DEBUG] - KB3035131 1.0.3
2023-11-28 14:20:04,092 4772 [DEBUG] - KB3118401 1.0.5
2023-11-28 14:20:04,125 4772 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2023-11-28 14:20:04,248 4772 [DEBUG] - wazuh-agent 4.7.0
2023-11-28 14:20:04,264 4772 [DEBUG] - --- End of List ---
2023-11-28 14:20:04,515 4772 [DEBUG] - Running list with the following filter = ''
2023-11-28 14:20:04,562 4772 [DEBUG] - --- Start of List ---
2023-11-28 14:20:04,687 4772 [DEBUG] - chocolatey 2.2.2
2023-11-28 14:20:04,768 4772 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2023-11-28 14:20:04,811 4772 [DEBUG] - KB2919355 1.0.20160915
2023-11-28 14:20:04,859 4772 [DEBUG] - KB2919442 1.0.20160915
2023-11-28 14:20:04,908 4772 [DEBUG] - KB2999226 1.0.20181019
2023-11-28 14:20:04,969 4772 [DEBUG] - KB3035131 1.0.3
2023-11-28 14:20:05,016 4772 [DEBUG] - KB3118401 1.0.5
2023-11-28 14:20:05,077 4772 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2023-11-28 14:20:05,208 4772 [DEBUG] - wazuh-agent 4.7.0
2023-11-28 14:20:05,221 4772 [DEBUG] - --- End of List ---
2023-11-28 14:20:05,389 4772 [INFO ] -
wazuh-agent v4.7.0
2023-11-28 14:20:05,499 4772 [DEBUG] - Running beforeModify step for 'wazuh-agent'
2023-11-28 14:20:05,563 4772 [DEBUG] - Backing up package files for 'wazuh-agent'
2023-11-28 14:20:06,090 4772 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent".
2023-11-28 14:20:06,123 4772 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\wazuh-agent to C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.0
2023-11-28 14:20:06,147 4772 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\wazuh-agent'
to 'C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.0'
2023-11-28 14:20:08,189 4772 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\wazuh-agent".
2023-11-28 14:20:08,235 4772 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.0\wazuh-agent.nupkg"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg".
2023-11-28 14:20:08,266 4772 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.0\wazuh-agent.nuspec"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec".
2023-11-28 14:20:08,281 4772 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\wazuh-agent\tools".
2023-11-28 14:20:08,296 4772 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.0\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1".
2023-11-28 14:20:08,296 4772 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.0\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1".
2023-11-28 14:20:08,313 4772 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.0\tools\helpers.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1".
2023-11-28 14:20:09,905 4772 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
2023-11-28 14:20:09,936 4772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum '1DA03ED477C72C0D80A4B4B4CC5C34B7'
2023-11-28 14:20:09,951 4772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum 'B505E0D9EAD459D87A5A6E8B616C1650'
2023-11-28 14:20:09,999 4772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum 'DF4006D74DDAFD6DE71A1A05E08717E6'
2023-11-28 14:20:10,030 4772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2023-11-28 14:20:10,078 4772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2023-11-28 14:20:10,202 4772 [DEBUG] - Setting installer args for wazuh-agent
2023-11-28 14:20:10,255 4772 [DEBUG] - Setting package parameters for wazuh-agent
2023-11-28 14:20:10,296 4772 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1':
2023-11-28 14:20:10,331 4772 [DEBUG] - $ErrorActionPreference = 'Stop';
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = ''
fileType = ''
silentArgs = ''
validExitCodes = @(0, 3010, 1605, 1614, 1641)
}
if ($key.Count -eq 1) {
$key | ForEach-Object {
$packageArgs['file'] = "$($_.UninstallString)"
if ($packageArgs['fileType'] -eq 'MSI') {
$packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
$packageArgs['file'] = ''
}
Uninstall-ChocolateyPackage @packageArgs
}
} elseif ($key.Count -eq 0) {
Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
Write-Warning "$($key.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert package maintainer the following keys were matched:"
$key | ForEach-Object {Write-Warning "- $($_.DisplayName)"}
}
# Custom settings from package
## Remove files and folders
if (Get-Item -Path "<Path>" -ErrorAction SilentlyContinue) {
Remove-Item `
-Path "<Path>" `
-Recurse
Write-Output `
-InputObject "Remove Shortcut <Path>"
}
2023-11-28 14:20:10,421 4772 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-11-28 14:20:10,453 4772 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-11-28 14:20:12,020 4772 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-11-28 14:20:12,905 4772 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-11-28 14:20:12,921 4772 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-11-28 14:20:12,937 4772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-11-28 14:20:12,937 4772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-11-28 14:20:12,955 4772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-11-28 14:20:12,968 4772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-11-28 14:20:12,985 4772 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-11-28 14:20:12,985 4772 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-11-28 14:20:12,999 4772 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-11-28 14:20:13,014 4772 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-11-28 14:20:13,031 4772 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-11-28 14:20:13,048 4772 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-11-28 14:20:13,063 4772 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-11-28 14:20:13,077 4772 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-11-28 14:20:13,077 4772 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-11-28 14:20:13,094 4772 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-11-28 14:20:13,109 4772 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-11-28 14:20:13,156 4772 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-11-28 14:20:13,171 4772 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-11-28 14:20:13,187 4772 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-11-28 14:20:13,218 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-11-28 14:20:13,218 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-11-28 14:20:13,234 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-11-28 14:20:13,266 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-11-28 14:20:13,281 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-11-28 14:20:13,281 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-11-28 14:20:13,298 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-11-28 14:20:13,329 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-11-28 14:20:13,346 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-11-28 14:20:13,346 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-11-28 14:20:13,364 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-11-28 14:20:13,405 4772 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-11-28 14:20:13,405 4772 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-11-28 14:20:13,420 4772 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-11-28 14:20:13,436 4772 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-11-28 14:20:13,436 4772 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-11-28 14:20:13,452 4772 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-11-28 14:20:13,469 4772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-11-28 14:20:13,483 4772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-11-28 14:20:13,499 4772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-11-28 14:20:13,531 4772 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-11-28 14:20:13,546 4772 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-11-28 14:20:13,569 4772 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-11-28 14:20:13,569 4772 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-11-28 14:20:13,596 4772 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-11-28 14:20:13,610 4772 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-11-28 14:20:13,610 4772 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-11-28 14:20:13,624 4772 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-11-28 14:20:13,641 4772 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-11-28 14:20:13,655 4772 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-11-28 14:20:13,670 4772 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-11-28 14:20:13,734 4772 [DEBUG] - Loading community extensions
2023-11-28 14:20:13,827 4772 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-11-28 14:20:13,843 4772 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-11-28 14:20:14,031 4772 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-11-28 14:20:14,049 4772 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-11-28 14:20:14,068 4772 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-11-28 14:20:14,126 4772 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-11-28 14:20:14,192 4772 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-11-28 14:20:14,201 4772 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-11-28 14:20:14,201 4772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-11-28 14:20:14,234 4772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-11-28 14:20:14,249 4772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-11-28 14:20:14,266 4772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-11-28 14:20:14,281 4772 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-11-28 14:20:14,296 4772 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-11-28 14:20:14,314 4772 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-11-28 14:20:14,328 4772 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-11-28 14:20:14,345 4772 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-11-28 14:20:14,357 4772 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-11-28 14:20:14,376 4772 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-11-28 14:20:14,390 4772 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-11-28 14:20:14,406 4772 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-11-28 14:20:14,420 4772 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-11-28 14:20:14,420 4772 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-11-28 14:20:14,437 4772 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-11-28 14:20:14,452 4772 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-11-28 14:20:14,469 4772 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-11-28 14:20:14,484 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-11-28 14:20:14,484 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-11-28 14:20:14,504 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-11-28 14:20:14,514 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-11-28 14:20:14,530 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-11-28 14:20:14,546 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-11-28 14:20:14,562 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-11-28 14:20:14,562 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-11-28 14:20:14,577 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-11-28 14:20:14,594 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-11-28 14:20:14,609 4772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-11-28 14:20:14,609 4772 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-11-28 14:20:14,624 4772 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-11-28 14:20:14,639 4772 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-11-28 14:20:14,656 4772 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-11-28 14:20:14,672 4772 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-11-28 14:20:14,672 4772 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-11-28 14:20:14,686 4772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-11-28 14:20:14,702 4772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-11-28 14:20:14,718 4772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-11-28 14:20:14,733 4772 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-11-28 14:20:14,733 4772 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-11-28 14:20:14,751 4772 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-11-28 14:20:14,766 4772 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-11-28 14:20:14,781 4772 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-11-28 14:20:14,781 4772 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-11-28 14:20:14,797 4772 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-11-28 14:20:14,812 4772 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-11-28 14:20:14,828 4772 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-11-28 14:20:14,843 4772 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-11-28 14:20:14,859 4772 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-11-28 14:20:14,859 4772 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-11-28 14:20:14,875 4772 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-11-28 14:20:14,891 4772 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-11-28 14:20:14,906 4772 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-11-28 14:20:14,921 4772 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-11-28 14:20:14,921 4772 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-11-28 14:20:14,936 4772 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-11-28 14:20:14,952 4772 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-11-28 14:20:14,967 4772 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-11-28 14:20:14,984 4772 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-11-28 14:20:14,984 4772 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-11-28 14:20:15,000 4772 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-11-28 14:20:15,016 4772 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-11-28 14:20:15,030 4772 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-11-28 14:20:15,045 4772 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-11-28 14:20:15,063 4772 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-11-28 14:20:15,076 4772 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-11-28 14:20:15,092 4772 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-11-28 14:20:15,092 4772 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-11-28 14:20:15,108 4772 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-11-28 14:20:15,108 4772 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-11-28 14:20:15,108 4772 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-11-28 14:20:15,140 4772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-11-28 14:20:15,158 4772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-11-28 14:20:15,172 4772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-11-28 14:20:15,172 4772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-11-28 14:20:15,187 4772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-11-28 14:20:15,202 4772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-11-28 14:20:15,219 4772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-11-28 14:20:15,233 4772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-11-28 14:20:15,233 4772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-11-28 14:20:15,249 4772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-11-28 14:20:15,265 4772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-11-28 14:20:15,265 4772 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-11-28 14:20:15,281 4772 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-11-28 14:20:15,297 4772 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-11-28 14:20:15,311 4772 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-11-28 14:20:15,327 4772 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-11-28 14:20:15,343 4772 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-11-28 14:20:15,360 4772 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-11-28 14:20:15,360 4772 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-11-28 14:20:15,374 4772 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-11-28 14:20:15,390 4772 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-11-28 14:20:15,406 4772 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-11-28 14:20:15,406 4772 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-11-28 14:20:15,420 4772 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-11-28 14:20:15,436 4772 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-11-28 14:20:15,502 4772 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-11-28 14:20:15,531 4772 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-11-28 14:20:15,547 4772 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-11-28 14:20:15,562 4772 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-11-28 14:20:15,577 4772 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-11-28 14:20:15,593 4772 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-11-28 14:20:15,608 4772 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-11-28 14:20:15,608 4772 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-11-28 14:20:15,846 4772 [DEBUG] - ---------------------------Script Execution---------------------------
2023-11-28 14:20:15,936 4772 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.7.0 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-11-28 14:20:16,047 4772 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
2023-11-28 14:20:16,161 4772 [WARN ] - WARNING: wazuh-agent has already been uninstalled by other means.
2023-11-28 14:20:16,251 4772 [DEBUG] - ----------------------------------------------------------------------
2023-11-28 14:20:16,280 4772 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-11-28 14:20:16,452 4772 [INFO ] - Running auto uninstaller...
2023-11-28 14:20:16,452 4772 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-11-28 14:20:18,546 4772 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{2127A8F6-4D4C-4E53-928F-F20DA19B71DF}' for 'Wazuh Agent'
2023-11-28 14:20:18,702 4772 [DEBUG] - Uninstaller path is 'MsiExec.exe'
2023-11-28 14:20:18,789 4772 [DEBUG] - Installer type is 'MsiInstaller'
2023-11-28 14:20:18,797 4772 [DEBUG] - Setting up uninstall logging directory at C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.0
2023-11-28 14:20:18,797 4772 [DEBUG] - Args are '/X{2127A8F6-4D4C-4E53-928F-F20DA19B71DF} /qn /norestart'
2023-11-28 14:20:18,827 4772 [DEBUG] - Calling command ['"MsiExec.exe" /X{2127A8F6-4D4C-4E53-928F-F20DA19B71DF} /qn /norestart']
2023-11-28 14:20:39,063 4772 [DEBUG] - Command ['"MsiExec.exe" /X{2127A8F6-4D4C-4E53-928F-F20DA19B71DF} /qn /norestart'] exited with '0'
2023-11-28 14:20:39,095 4772 [INFO ] - Auto uninstaller has successfully uninstalled wazuh-agent or detected previous uninstall.
2023-11-28 14:20:39,095 4772 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-11-28 14:20:39,313 4772 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-11-28 14:20:39,344 4772 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent".
2023-11-28 14:20:39,376 4772 [DEBUG] - Ensuring removal of installation files.
2023-11-28 14:20:39,390 4772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum '1DA03ED477C72C0D80A4B4B4CC5C34B7'
2023-11-28 14:20:39,406 4772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg".
2023-11-28 14:20:39,422 4772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum 'B505E0D9EAD459D87A5A6E8B616C1650'
2023-11-28 14:20:39,438 4772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec".
2023-11-28 14:20:39,438 4772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum 'DF4006D74DDAFD6DE71A1A05E08717E6'
2023-11-28 14:20:39,455 4772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1".
2023-11-28 14:20:39,471 4772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2023-11-28 14:20:39,548 4772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1".
2023-11-28 14:20:39,578 4772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2023-11-28 14:20:39,626 4772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1".
2023-11-28 14:20:39,657 4772 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\wazuh-agent".
2023-11-28 14:20:39,687 4772 [INFO ] - wazuh-agent has been successfully uninstalled.
2023-11-28 14:20:39,720 4772 [DEBUG] - Removing nupkg if it still exists.
2023-11-28 14:20:39,766 4772 [DEBUG] - Ensuring removal of installation files.
2023-11-28 14:20:39,970 4772 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-11-28 14:20:40,006 4772 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-11-28 14:20:40,017 4772 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment