|
2023-09-08 13:46:44,167 1276 [DEBUG] - XmlConfiguration is now operational
|
|
2023-09-08 13:46:44,325 1276 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-09-08 13:46:44,340 1276 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-09-08 13:46:44,340 1276 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-09-08 13:46:44,340 1276 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-09-08 13:46:44,355 1276 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-09-08 13:46:44,355 1276 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2023-09-08 13:46:44,355 1276 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-09-08 13:46:44,355 1276 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-09-08 13:46:44,371 1276 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-09-08 13:46:44,371 1276 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-09-08 13:46:44,371 1276 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-09-08 13:46:45,199 1276 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-09-08 13:46:45,261 1276 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-09-08 13:46:45,261 1276 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-09-08 13:46:45,261 1276 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-09-08 13:46:45,277 1276 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-09-08 13:46:45,277 1276 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-09-08 13:46:45,277 1276 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-09-08 13:46:45,293 1276 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-09-08 13:46:45,293 1276 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-09-08 13:46:45,310 1276 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-09-08 13:46:45,339 1276 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2023-09-08 13:46:45,339 1276 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-09-08 13:46:45,339 1276 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2023-09-08 13:46:45,355 1276 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-09-08 13:46:45,355 1276 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-09-08 13:46:45,370 1276 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-09-08 13:46:45,370 1276 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-09-08 13:46:45,370 1276 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-09-08 13:46:45,386 1276 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-09-08 13:46:45,386 1276 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-09-08 13:46:45,386 1276 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-09-08 13:46:45,386 1276 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-09-08 13:46:45,401 1276 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-09-08 13:46:45,401 1276 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-09-08 13:46:45,401 1276 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2023-09-08 13:46:45,401 1276 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-09-08 13:46:45,417 1276 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-09-08 13:46:45,417 1276 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2023-09-08 13:46:45,417 1276 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-09-08 13:46:45,433 1276 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-09-08 13:46:45,716 1276 [INFO ] - ============================================================
|
|
2023-09-08 13:46:46,417 1276 [INFO ] - Chocolatey v2.2.2
|
|
2023-09-08 13:46:46,606 1276 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-09-08 13:46:46,620 1276 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-09-08 13:46:46,620 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-09-08 13:46:46,653 1276 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install wazuh-agent --version 4.5.2 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-09-08 13:46:46,668 1276 [DEBUG] - Received arguments: install wazuh-agent --version 4.5.2 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-09-08 13:46:46,856 1276 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-09-08 13:46:46,902 1276 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-09-08 13:46:46,917 1276 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-09-08 13:46:47,153 1276 [DEBUG] - Performing validation checks.
|
|
2023-09-08 13:46:47,168 1276 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-09-08 13:46:47,184 1276 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-09-08 13:46:47,199 1276 [DEBUG] - System State Validation Checks:
|
|
2023-09-08 13:46:47,199 1276 [DEBUG] - Reboot Requirement Checks:
|
|
2023-09-08 13:46:47,215 1276 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-09-08 13:46:47,232 1276 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-09-08 13:46:47,245 1276 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-09-08 13:46:47,261 1276 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-09-08 13:46:47,261 1276 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-09-08 13:46:47,277 1276 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-09-08 13:46:47,293 1276 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2023-09-08 13:46:47,309 1276 [DEBUG] - - Elevated State = Checked
|
|
2023-09-08 13:46:47,323 1276 [DEBUG] - - Folder Exists = Checked
|
|
2023-09-08 13:46:47,339 1276 [DEBUG] - - Folder lockdown = Checked
|
|
2023-09-08 13:46:47,355 1276 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2023-09-08 13:46:47,418 1276 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-09-08 13:46:47,433 1276 [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-09-08 13:46:47,495 1276 [DEBUG] - Configuration: CommandName='install'|
|
|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
|
|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
|
|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
|
|
SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|Verbose='True'|
|
|
Trace='False'|Force='True'|Noop='False'|HelpRequested='False'|
|
|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
|
|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
|
|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='wazuh-agent'|
|
|
Version='4.5.2'|AllVersions='False'|SkipPackageInstallProvider='False'|
|
|
SkipHookScripts='False'|PackageNames='wazuh-agent'|Prerelease='False'|
|
|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
|
|
ApplyPackageParametersToDependencies='False'|
|
|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
|
|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
|
|
ForceDependencies='False'|PinPackage='False'|
|
|
Information.PlatformType='Windows'|
|
|
Information.PlatformVersion='10.0.17763.0'|
|
|
Information.PlatformName='Windows Server 2016'|
|
|
Information.ChocolateyVersion='2.2.2.0'|
|
|
Information.ChocolateyProductVersion='2.2.2'|
|
|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-O6SJJU656NT'|
|
|
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-09-08 13:46:47,527 1276 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2023-09-08 13:46:47,543 1276 [INFO ] - Installing the following packages:
|
|
2023-09-08 13:46:47,559 1276 [INFO ] - wazuh-agent
|
|
2023-09-08 13:46:47,573 1276 [INFO ] - By installing, you accept licenses for the packages.
|
|
2023-09-08 13:46:47,590 1276 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-09-08 13:46:47,605 1276 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-09-08 13:46:47,605 1276 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-09-08 13:46:47,621 1276 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-09-08 13:46:47,636 1276 [DEBUG] - * 'ChocolateyLastPathUpdate'='133386503224216999' ('User')
|
|
2023-09-08 13:46:47,636 1276 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-09-08 13:46:47,652 1276 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-09-08 13:46:47,698 1276 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-09-08 13:46:47,698 1276 [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-09-08 13:46:47,714 1276 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-09-08 13:46:47,730 1276 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-09-08 13:46:47,730 1276 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-09-08 13:46:47,746 1276 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-09-08 13:46:47,746 1276 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-09-08 13:46:47,761 1276 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-09-08 13:46:47,761 1276 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-09-08 13:46:47,776 1276 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
|
|
2023-09-08 13:46:47,776 1276 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-09-08 13:46:47,792 1276 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
|
|
2023-09-08 13:46:47,792 1276 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
|
|
2023-09-08 13:46:47,792 1276 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-09-08 13:46:48,386 1276 [DEBUG] - Running list with the following filter = ''
|
|
2023-09-08 13:46:48,418 1276 [DEBUG] - --- Start of List ---
|
|
2023-09-08 13:46:48,481 1276 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2023-09-08 13:46:49,011 1276 [DEBUG] - chocolatey 2.2.2
|
|
2023-09-08 13:46:49,042 1276 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-09-08 13:46:49,042 1276 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-09-08 13:46:49,058 1276 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-09-08 13:46:49,075 1276 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-09-08 13:46:49,090 1276 [DEBUG] - KB3035131 1.0.3
|
|
2023-09-08 13:46:49,105 1276 [DEBUG] - KB3118401 1.0.5
|
|
2023-09-08 13:46:49,105 1276 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-09-08 13:46:49,121 1276 [DEBUG] - --- End of List ---
|
|
2023-09-08 13:46:49,136 1276 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2023-09-08 13:46:49,964 1276 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2023-09-08 13:46:50,590 1276 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.5.2')
|
|
2023-09-08 13:46:50,839 1276 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.5.2') 242ms
|
|
2023-09-08 13:46:50,980 1276 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2023-09-08 13:46:51,777 1276 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2023-09-08 13:46:51,793 1276 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.5.2')
|
|
2023-09-08 13:46:52,027 1276 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2023-09-08 13:46:52,043 1276 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2023-09-08 13:46:52,106 1276 [DEBUG] - Attempting to delete file "".
|
|
2023-09-08 13:46:52,152 1276 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/wazuh-agent/4.5.2
|
|
2023-09-08 13:46:52,605 1276 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/wazuh-agent/4.5.2 451ms
|
|
2023-09-08 13:46:52,652 1276 [INFO ] - [NuGet] Acquiring lock for the installation of wazuh-agent 4.5.2
|
|
2023-09-08 13:46:52,715 1276 [INFO ] - [NuGet] Acquired lock for the installation of wazuh-agent 4.5.2
|
|
2023-09-08 13:46:53,121 1276 [INFO ] - [NuGet] Installed wazuh-agent 4.5.2 from https://community.chocolatey.org/api/v2/ with content hash 7VP8UgYPOMVLRjaKNenM8xg1VVchMRpSUoE64XmaGlIPWpCDrpAJxeLpyJrtbcavYEk0gw8cymbX/k8B5vp6Zg==.
|
|
2023-09-08 13:46:53,183 1276 [INFO ] - [NuGet] Adding package 'wazuh-agent.4.5.2' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-09-08 13:46:53,292 1276 [INFO ] - [NuGet] Added package 'wazuh-agent.4.5.2' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-09-08 13:46:53,308 1276 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.5.2\wazuh-agent.4.5.2.nupkg".
|
|
2023-09-08 13:46:53,324 1276 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.5.2\.nupkg.metadata".
|
|
2023-09-08 13:46:53,324 1276 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.5.2\wazuh-agent.4.5.2.nupkg.sha512".
|
|
2023-09-08 13:46:53,324 1276 [INFO ] -
|
|
wazuh-agent v4.5.2 (forced)
|
|
2023-09-08 13:46:53,417 1276 [INFO ] - wazuh-agent package files install completed. Performing other installation steps.
|
|
2023-09-08 13:46:53,511 1276 [DEBUG] - Setting installer args for wazuh-agent
|
|
2023-09-08 13:46:53,511 1276 [DEBUG] - Setting package parameters for wazuh-agent
|
|
2023-09-08 13:46:53,527 1276 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1':
|
|
2023-09-08 13:46:53,542 1276 [DEBUG] - $ErrorActionPreference = 'Stop'; |
|
$PackageParameters = Get-PackageParameters |
|
|
|
$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)" |
|
$urlPackage = 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.2-1.msi' |
|
$checksumPackage = 'b4f47a8efaea8af8be45f58e8329e1954712fb76ecb5efa26f4c0abcb93aa60b41259896a1d147ea03aa6b06cba1cdb0ad4550f2e2e4369073633347bbd4dca5' |
|
|
|
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-09-08 13:46:53,606 1276 [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-09-08 13:46:53,620 1276 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-09-08 13:46:54,386 1276 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-09-08 13:46:54,902 1276 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-09-08 13:46:54,902 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-09-08 13:46:54,918 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-09-08 13:46:54,918 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-09-08 13:46:54,934 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-09-08 13:46:54,951 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-09-08 13:46:54,951 1276 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-09-08 13:46:54,965 1276 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-09-08 13:46:54,965 1276 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-09-08 13:46:54,995 1276 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-09-08 13:46:55,011 1276 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-09-08 13:46:55,011 1276 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-09-08 13:46:55,027 1276 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-09-08 13:46:55,027 1276 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-09-08 13:46:55,027 1276 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-09-08 13:46:55,042 1276 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-09-08 13:46:55,042 1276 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-09-08 13:46:55,058 1276 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-09-08 13:46:55,058 1276 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-09-08 13:46:55,074 1276 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-09-08 13:46:55,089 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-09-08 13:46:55,089 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-09-08 13:46:55,105 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-09-08 13:46:55,105 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-09-08 13:46:55,105 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-09-08 13:46:55,121 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-09-08 13:46:55,121 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-09-08 13:46:55,136 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-09-08 13:46:55,136 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-09-08 13:46:55,152 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-09-08 13:46:55,152 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-09-08 13:46:55,167 1276 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-09-08 13:46:55,167 1276 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-09-08 13:46:55,183 1276 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-09-08 13:46:55,183 1276 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-09-08 13:46:55,199 1276 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-09-08 13:46:55,199 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-09-08 13:46:55,214 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-09-08 13:46:55,214 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-09-08 13:46:55,230 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-09-08 13:46:55,230 1276 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-09-08 13:46:55,246 1276 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-09-08 13:46:55,262 1276 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-09-08 13:46:55,262 1276 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-09-08 13:46:55,277 1276 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-09-08 13:46:55,277 1276 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-09-08 13:46:55,292 1276 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-09-08 13:46:55,292 1276 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-09-08 13:46:55,308 1276 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-09-08 13:46:55,308 1276 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-09-08 13:46:55,324 1276 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-09-08 13:46:55,386 1276 [DEBUG] - Loading community extensions
|
|
2023-09-08 13:46:55,434 1276 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-09-08 13:46:55,434 1276 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-09-08 13:46:55,543 1276 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-09-08 13:46:55,559 1276 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-09-08 13:46:55,574 1276 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-09-08 13:46:55,574 1276 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-09-08 13:46:55,589 1276 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-09-08 13:46:55,589 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-09-08 13:46:55,589 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-09-08 13:46:55,605 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-09-08 13:46:55,605 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-09-08 13:46:55,621 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-09-08 13:46:55,621 1276 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-09-08 13:46:55,636 1276 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-09-08 13:46:55,636 1276 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-09-08 13:46:55,652 1276 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-09-08 13:46:55,668 1276 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-09-08 13:46:55,668 1276 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-09-08 13:46:55,683 1276 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-09-08 13:46:55,698 1276 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-09-08 13:46:55,698 1276 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-09-08 13:46:55,714 1276 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-09-08 13:46:55,714 1276 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-09-08 13:46:55,714 1276 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-09-08 13:46:55,730 1276 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-09-08 13:46:55,730 1276 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-09-08 13:46:55,746 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-09-08 13:46:55,746 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-09-08 13:46:55,761 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-09-08 13:46:55,761 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-09-08 13:46:55,777 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-09-08 13:46:55,792 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-09-08 13:46:55,792 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-09-08 13:46:55,807 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-09-08 13:46:55,808 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-09-08 13:46:55,808 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-09-08 13:46:55,840 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-09-08 13:46:55,840 1276 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-09-08 13:46:55,854 1276 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-09-08 13:46:55,854 1276 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-09-08 13:46:55,871 1276 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-09-08 13:46:55,871 1276 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-09-08 13:46:55,871 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-09-08 13:46:55,886 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-09-08 13:46:55,886 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-09-08 13:46:55,902 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-09-08 13:46:55,902 1276 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-09-08 13:46:55,917 1276 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-09-08 13:46:55,917 1276 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-09-08 13:46:55,933 1276 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-09-08 13:46:55,948 1276 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-09-08 13:46:55,948 1276 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-09-08 13:46:55,948 1276 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-09-08 13:46:55,965 1276 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-09-08 13:46:55,980 1276 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-09-08 13:46:55,980 1276 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-09-08 13:46:55,996 1276 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-09-08 13:46:56,011 1276 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-09-08 13:46:56,011 1276 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-09-08 13:46:56,027 1276 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-09-08 13:46:56,027 1276 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-09-08 13:46:56,042 1276 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-09-08 13:46:56,042 1276 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-09-08 13:46:56,058 1276 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-09-08 13:46:56,058 1276 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-09-08 13:46:56,074 1276 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-09-08 13:46:56,074 1276 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-09-08 13:46:56,089 1276 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-09-08 13:46:56,089 1276 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-09-08 13:46:56,105 1276 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-09-08 13:46:56,105 1276 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-09-08 13:46:56,120 1276 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-09-08 13:46:56,120 1276 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-09-08 13:46:56,136 1276 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-09-08 13:46:56,152 1276 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-09-08 13:46:56,152 1276 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-09-08 13:46:56,167 1276 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-09-08 13:46:56,167 1276 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-09-08 13:46:56,183 1276 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-09-08 13:46:56,183 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-09-08 13:46:56,198 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-09-08 13:46:56,198 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-09-08 13:46:56,215 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-09-08 13:46:56,215 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-09-08 13:46:56,230 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-09-08 13:46:56,230 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-09-08 13:46:56,246 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-09-08 13:46:56,246 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-09-08 13:46:56,261 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-09-08 13:46:56,261 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-09-08 13:46:56,261 1276 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-09-08 13:46:56,277 1276 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-09-08 13:46:56,292 1276 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-09-08 13:46:56,292 1276 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-09-08 13:46:56,308 1276 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-09-08 13:46:56,324 1276 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-09-08 13:46:56,324 1276 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-09-08 13:46:56,339 1276 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-09-08 13:46:56,339 1276 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-09-08 13:46:56,339 1276 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-09-08 13:46:56,355 1276 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-09-08 13:46:56,371 1276 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-09-08 13:46:56,371 1276 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-09-08 13:46:56,386 1276 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-09-08 13:46:56,386 1276 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-09-08 13:46:56,402 1276 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-09-08 13:46:56,417 1276 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-09-08 13:46:56,417 1276 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-09-08 13:46:56,417 1276 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-09-08 13:46:56,433 1276 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-09-08 13:46:56,433 1276 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-09-08 13:46:56,448 1276 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-09-08 13:46:56,574 1276 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-09-08 13:46:56,590 1276 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.5.2 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-09-08 13:46:56,683 1276 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
|
|
2023-09-08 13:46:56,840 1276 [DEBUG] - Running Get-PackageParameters
|
|
2023-09-08 13:46:56,855 1276 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
|
|
2023-09-08 13:46:56,917 1276 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
|
|
2023-09-08 13:46:56,933 1276 [INFO ] - VERBOSE: Dot-sourcing the script file 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
|
|
2023-09-08 13:46:56,949 1276 [INFO ] -
|
|
2023-09-08 13:46:57,058 1276 [DEBUG] - Running Install-ChocolateyPackage -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.2-1.msi' -checksum 'b4f47a8efaea8af8be45f58e8329e1954712fb76ecb5efa26f4c0abcb93aa60b41259896a1d147ea03aa6b06cba1cdb0ad4550f2e2e4369073633347bbd4dca5' -checksum64 'b4f47a8efaea8af8be45f58e8329e1954712fb76ecb5efa26f4c0abcb93aa60b41259896a1d147ea03aa6b06cba1cdb0ad4550f2e2e4369073633347bbd4dca5' -silentArgs ' /q' -packageName 'wazuh-agent' -checksumType 'SHA512' -fileType 'msi' -validExitCodes '0 1000 1101' -checksumType64 'SHA512' -url64bit 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.2-1.msi'
|
|
2023-09-08 13:46:57,230 1276 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'wazuh-agent' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.2\wazuh-agentInstall.msi' -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.2-1.msi' -url64bit 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.2-1.msi' -checksum 'b4f47a8efaea8af8be45f58e8329e1954712fb76ecb5efa26f4c0abcb93aa60b41259896a1d147ea03aa6b06cba1cdb0ad4550f2e2e4369073633347bbd4dca5' -checksumType 'SHA512' -checksum64 'b4f47a8efaea8af8be45f58e8329e1954712fb76ecb5efa26f4c0abcb93aa60b41259896a1d147ea03aa6b06cba1cdb0ad4550f2e2e4369073633347bbd4dca5' -checksumType64 'SHA512' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
|
|
2023-09-08 13:46:57,386 1276 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
|
|
2023-09-08 13:46:57,433 1276 [DEBUG] - CPU is 64 bit
|
|
2023-09-08 13:46:57,449 1276 [DEBUG] - Setting url to 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.2-1.msi' and bitPackage to 64
|
|
2023-09-08 13:46:57,543 1276 [DEBUG] - Running Get-WebFileName -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.2-1.msi' -defaultName 'wazuh-agentInstall.msi'
|
|
2023-09-08 13:46:58,058 1276 [DEBUG] - Using response url to determine file name. 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.2-1.msi'
|
|
2023-09-08 13:46:58,074 1276 [DEBUG] - File name determined from url is 'wazuh-agent-4.5.2-1.msi'
|
|
2023-09-08 13:46:58,168 1276 [DEBUG] - Running Get-WebHeaders -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.2-1.msi' -ErrorAction 'Stop'
|
|
2023-09-08 13:46:58,199 1276 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
|
|
2023-09-08 13:46:58,199 1276 [DEBUG] - Request Headers:
|
|
2023-09-08 13:46:58,214 1276 [DEBUG] - 'Accept':'*/*'
|
|
2023-09-08 13:46:58,245 1276 [DEBUG] - 'User-Agent':'chocolatey command line'
|
|
2023-09-08 13:46:58,448 1276 [DEBUG] - Response Headers:
|
|
2023-09-08 13:46:58,448 1276 [DEBUG] - 'Connection':'keep-alive'
|
|
2023-09-08 13:46:58,465 1276 [DEBUG] - 'x-amz-server-side-encryption':'AES256'
|
|
2023-09-08 13:46:58,480 1276 [DEBUG] - 'x-amz-version-id':'lS0EowCBMaF14dylNfi8HzWyNfIr0h5A'
|
|
2023-09-08 13:46:58,496 1276 [DEBUG] - 'X-Cache':'Hit from cloudfront'
|
|
2023-09-08 13:46:58,528 1276 [DEBUG] - 'X-Amz-Cf-Pop':'MCI50-P1'
|
|
2023-09-08 13:46:58,561 1276 [DEBUG] - 'X-Amz-Cf-Id':'uRSGEGBPET8i6U7wrcNWbsYv0Xy-6lqWvq1lquQ4Yw1V6sIad2ds6Q=='
|
|
2023-09-08 13:46:58,561 1276 [DEBUG] - 'Age':'73080'
|
|
2023-09-08 13:46:58,573 1276 [DEBUG] - 'Accept-Ranges':'bytes'
|
|
2023-09-08 13:46:58,573 1276 [DEBUG] - 'Content-Length':'6332416'
|
|
2023-09-08 13:46:58,589 1276 [DEBUG] - 'Content-Type':'binary/octet-stream'
|
|
2023-09-08 13:46:58,589 1276 [DEBUG] - 'Date':'Thu, 07 Sep 2023 17:28:59 GMT'
|
|
2023-09-08 13:46:58,605 1276 [DEBUG] - 'ETag':'"5b39b4ef4c6f6126a99435c4da7657b4"'
|
|
2023-09-08 13:46:58,605 1276 [DEBUG] - 'Last-Modified':'Wed, 06 Sep 2023 14:11:20 GMT'
|
|
2023-09-08 13:46:58,620 1276 [DEBUG] - 'Server':'AmazonS3'
|
|
2023-09-08 13:46:58,620 1276 [DEBUG] - 'Via':'1.1 bfbe7bdc48654fe20a464e560b6ba3f8.cloudfront.net (CloudFront)'
|
|
2023-09-08 13:46:58,683 1276 [INFO ] - Downloading wazuh-agent 64 bit
|
|
from 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.2-1.msi'
|
|
2023-09-08 13:46:58,745 1276 [DEBUG] - Running Get-WebFile -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.2-1.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.2\wazuh-agent-4.5.2-1.msi' -options 'System.Collections.Hashtable'
|
|
2023-09-08 13:46:58,762 1276 [DEBUG] - Setting request timeout to 30000
|
|
2023-09-08 13:46:58,777 1276 [DEBUG] - Setting read/write timeout to 2700000
|
|
2023-09-08 13:46:58,777 1276 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
|
|
2023-09-08 13:46:59,340 1276 [DEBUG] - Downloading https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.2-1.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.2\wazuh-agent-4.5.2-1.msi
|
|
2023-09-08 13:47:00,152 1276 [INFO ] -
|
|
2023-09-08 13:47:00,152 1276 [INFO ] - Download of wazuh-agent-4.5.2-1.msi (6.04 MB) completed.
|
|
2023-09-08 13:47:03,230 1276 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
|
|
2023-09-08 13:47:03,230 1276 [DEBUG] - Verifying package provided checksum of 'b4f47a8efaea8af8be45f58e8329e1954712fb76ecb5efa26f4c0abcb93aa60b41259896a1d147ea03aa6b06cba1cdb0ad4550f2e2e4369073633347bbd4dca5' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.2\wazuh-agent-4.5.2-1.msi'.
|
|
2023-09-08 13:47:03,278 1276 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.2\wazuh-agent-4.5.2-1.msi' -checksum 'b4f47a8efaea8af8be45f58e8329e1954712fb76ecb5efa26f4c0abcb93aa60b41259896a1d147ea03aa6b06cba1cdb0ad4550f2e2e4369073633347bbd4dca5' -checksumType 'SHA512' -originalUrl 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.2-1.msi'
|
|
2023-09-08 13:47:03,309 1276 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
|
|
2023-09-08 13:47:03,309 1276 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="b4f47a8efaea8af8be45f58e8329e1954712fb76ecb5efa26f4c0abcb93aa60b41259896a1d147ea03aa6b06cba1cdb0ad4550f2e2e4369073633347bbd4dca5" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.2\wazuh-agent-4.5.2-1.msi"]
|
|
2023-09-08 13:47:04,309 1276 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="b4f47a8efaea8af8be45f58e8329e1954712fb76ecb5efa26f4c0abcb93aa60b41259896a1d147ea03aa6b06cba1cdb0ad4550f2e2e4369073633347bbd4dca5" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.2\wazuh-agent-4.5.2-1.msi"] exited with '0'.
|
|
2023-09-08 13:47:04,387 1276 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'wazuh-agent' -fileType 'msi' -silentArgs ' /q' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.2\wazuh-agent-4.5.2-1.msi' -validExitCodes '0 1000 1101' -useOnlyPackageSilentArguments 'False'
|
|
2023-09-08 13:47:04,402 1276 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2023-09-08 13:47:04,417 1276 [INFO ] - Installing wazuh-agent...
|
|
2023-09-08 13:47:04,558 1276 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1000 1101' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.2' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.2\wazuh-agent-4.5.2-1.msi" /q ' -exeToRun 'C:\Windows\System32\msiexec.exe'
|
|
2023-09-08 13:47:04,636 1276 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-09-08 13:47:04,668 1276 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.2\wazuh-agent-4.5.2-1.msi" /q ]. This may take a while, depending on the statements.
|
|
2023-09-08 13:47:11,840 1276 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.2\wazuh-agent-4.5.2-1.msi" /q ] exited with '0'.
|
|
2023-09-08 13:47:11,886 1276 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2023-09-08 13:47:11,902 1276 [INFO ] - wazuh-agent has been installed.
|
|
2023-09-08 13:47:11,918 1276 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-09-08 13:47:11,949 1276 [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-09-08 13:47:11,965 1276 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-09-08 13:47:12,074 1276 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-09-08 13:47:12,121 1276 [INFO ] - wazuh-agent may be able to be automatically uninstalled.
|
|
2023-09-08 13:47:12,309 1276 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
|
|
2023-09-08 13:47:12,324 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
|
|
with checksum 'BB47750213D1B1F334F9C43EE8B311EA'
|
|
2023-09-08 13:47:12,324 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
|
|
with checksum '4A75C48EB04447998DB663F1EA249312'
|
|
2023-09-08 13:47:12,339 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
|
|
with checksum '66068A60E30B9F64010DC7DB7456C9E2'
|
|
2023-09-08 13:47:12,339 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
|
|
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
|
|
2023-09-08 13:47:12,355 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
|
|
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
|
|
2023-09-08 13:47:12,434 1276 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.2".
|
|
2023-09-08 13:47:12,497 1276 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.2\.registry'
|
|
2023-09-08 13:47:12,589 1276 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.2\.files'
|
|
2023-09-08 13:47:12,605 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.2\.extra".
|
|
2023-09-08 13:47:12,605 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.2\.version".
|
|
2023-09-08 13:47:12,605 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.2\.sxs".
|
|
2023-09-08 13:47:12,621 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.2\.pin".
|
|
2023-09-08 13:47:12,637 1276 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-09-08 13:47:12,637 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\.chocolateyPending".
|
|
2023-09-08 13:47:12,652 1276 [INFO ] - The install of wazuh-agent was successful.
|
|
2023-09-08 13:47:12,667 1276 [INFO ] - Software installed as 'msi', install location is likely default.
|
|
2023-09-08 13:47:12,699 1276 [WARN ] -
|
|
Chocolatey installed 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-09-08 13:47:12,714 1276 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-09-08 13:47:12,745 1276 [DEBUG] - Exiting with 0
|