|
2024-01-11 13:51:50,091 808 [DEBUG] - XmlConfiguration is now operational
|
|
2024-01-11 13:51:50,279 808 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-01-11 13:51:50,279 808 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-01-11 13:51:50,295 808 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-01-11 13:51:50,295 808 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-01-11 13:51:50,310 808 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-01-11 13:51:50,310 808 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2024-01-11 13:51:50,326 808 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-01-11 13:51:50,326 808 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-01-11 13:51:50,326 808 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-01-11 13:51:50,341 808 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-01-11 13:51:50,341 808 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-01-11 13:51:51,278 808 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-01-11 13:51:51,294 808 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-01-11 13:51:51,294 808 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-01-11 13:51:51,310 808 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-01-11 13:51:51,310 808 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-01-11 13:51:51,325 808 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-01-11 13:51:51,325 808 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-01-11 13:51:51,325 808 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-01-11 13:51:51,341 808 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-01-11 13:51:51,341 808 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-01-11 13:51:51,373 808 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2024-01-11 13:51:51,387 808 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2024-01-11 13:51:51,387 808 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2024-01-11 13:51:51,403 808 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2024-01-11 13:51:51,403 808 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2024-01-11 13:51:51,419 808 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2024-01-11 13:51:51,419 808 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2024-01-11 13:51:51,419 808 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2024-01-11 13:51:51,434 808 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2024-01-11 13:51:51,434 808 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2024-01-11 13:51:51,434 808 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2024-01-11 13:51:51,450 808 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2024-01-11 13:51:51,450 808 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2024-01-11 13:51:51,450 808 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2024-01-11 13:51:51,467 808 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2024-01-11 13:51:51,467 808 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2024-01-11 13:51:51,482 808 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2024-01-11 13:51:51,482 808 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2024-01-11 13:51:51,500 808 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2024-01-11 13:51:51,500 808 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2024-01-11 13:51:51,856 808 [INFO ] - ============================================================
|
|
2024-01-11 13:51:52,297 808 [INFO ] - Chocolatey v2.2.2
|
|
2024-01-11 13:51:52,341 808 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2024-01-11 13:51:52,341 808 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2024-01-11 13:51:52,357 808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2024-01-11 13:51:52,403 808 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install wazuh-agent --version 4.7.2 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-01-11 13:51:52,403 808 [DEBUG] - Received arguments: install wazuh-agent --version 4.7.2 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-01-11 13:51:52,607 808 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2024-01-11 13:51:52,639 808 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2024-01-11 13:51:52,669 808 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2024-01-11 13:51:52,887 808 [DEBUG] - Performing validation checks.
|
|
2024-01-11 13:51:52,903 808 [DEBUG] - Global Configuration Validation Checks:
|
|
2024-01-11 13:51:52,919 808 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2024-01-11 13:51:52,934 808 [DEBUG] - System State Validation Checks:
|
|
2024-01-11 13:51:52,951 808 [DEBUG] - Reboot Requirement Checks:
|
|
2024-01-11 13:51:52,951 808 [DEBUG] - - Pending Computer Rename = Checked
|
|
2024-01-11 13:51:52,966 808 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2024-01-11 13:51:52,983 808 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2024-01-11 13:51:52,998 808 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2024-01-11 13:51:52,998 808 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2024-01-11 13:51:53,013 808 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2024-01-11 13:51:53,029 808 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2024-01-11 13:51:53,029 808 [DEBUG] - - Elevated State = Checked
|
|
2024-01-11 13:51:53,044 808 [DEBUG] - - Folder Exists = Checked
|
|
2024-01-11 13:51:53,169 808 [DEBUG] - - Folder lockdown = Checked
|
|
2024-01-11 13:51:53,186 808 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2024-01-11 13:51:53,231 808 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2024-01-11 13:51:53,247 808 [DEBUG] -
|
|
NOTE: Hiding sensitive configuration data! Please double and triple
|
|
check to be sure no sensitive data is shown, especially if copying
|
|
output to a gist for review.
|
|
2024-01-11 13:51:53,309 808 [DEBUG] - Configuration: CommandName='install'|
|
|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
|
|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
|
|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
|
|
SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|Verbose='True'|
|
|
Trace='False'|Force='True'|Noop='False'|HelpRequested='False'|
|
|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
|
|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
|
|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='wazuh-agent'|
|
|
Version='4.7.2'|AllVersions='False'|SkipPackageInstallProvider='False'|
|
|
SkipHookScripts='False'|PackageNames='wazuh-agent'|Prerelease='False'|
|
|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
|
|
ApplyPackageParametersToDependencies='False'|
|
|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
|
|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
|
|
ForceDependencies='False'|PinPackage='False'|
|
|
Information.PlatformType='Windows'|
|
|
Information.PlatformVersion='10.0.17763.0'|
|
|
Information.PlatformName='Windows Server 2016'|
|
|
Information.ChocolateyVersion='2.2.2.0'|
|
|
Information.ChocolateyProductVersion='2.2.2'|
|
|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-A26USK61H9C'|
|
|
Information.IsUserAdministrator='True'|
|
|
Information.IsUserSystemAccount='False'|
|
|
Information.IsUserRemoteDesktop='False'|
|
|
Information.IsUserRemote='True'|
|
|
Information.IsProcessElevated='True'|
|
|
Information.IsLicensedVersion='False'|
|
|
Information.IsLicensedAssemblyLoaded='False'|
|
|
Information.LicenseType='Foss'|
|
|
Information.CurrentDirectory='C:\Users\vagrant'|
|
|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
|
|
Features.AllowEmptyChecksums='False'|
|
|
Features.AllowEmptyChecksumsSecure='True'|
|
|
Features.FailOnAutoUninstaller='False'|
|
|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
|
|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
|
|
Features.VirusCheck='False'|
|
|
Features.FailOnInvalidOrMissingLicense='False'|
|
|
Features.IgnoreInvalidOptionsSwitches='True'|
|
|
Features.UsePackageExitCodes='True'|
|
|
Features.UseEnhancedExitCodes='False'|
|
|
Features.UseFipsCompliantChecksums='False'|
|
|
Features.ShowNonElevatedWarnings='True'|
|
|
Features.ShowDownloadProgress='False'|
|
|
Features.StopOnFirstPackageFailure='False'|
|
|
Features.UseRememberedArgumentsForUpgrades='False'|
|
|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
|
|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
|
|
Features.RemovePackageInformationOnUninstall='False'|
|
|
Features.ExitOnRebootDetected='False'|
|
|
Features.LogValidationResultsOnWarnings='True'|
|
|
Features.UsePackageRepositoryOptimizations='True'|
|
|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
|
|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
|
|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
|
|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
|
|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
|
|
ListCommand.DownloadCacheAvailable='False'|
|
|
ListCommand.NotBroken='False'|
|
|
ListCommand.IncludeVersionOverrides='False'|
|
|
ListCommand.ExplicitPageSize='False'|
|
|
ListCommand.ExplicitSource='False'|
|
|
UpgradeCommand.FailOnUnfound='False'|
|
|
UpgradeCommand.FailOnNotInstalled='False'|
|
|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
|
|
UpgradeCommand.ExcludePrerelease='False'|
|
|
NewCommand.AutomaticPackage='False'|
|
|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
|
|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
|
|
SourceCommand.AllowSelfService='False'|
|
|
SourceCommand.VisibleToAdminsOnly='False'|
|
|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
|
|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
|
|
OutdatedCommand.IgnorePinned='False'|
|
|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
|
|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
|
|
CacheCommand.RemoveExpiredItemsOnly='False'|
|
|
2024-01-11 13:51:53,325 808 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2024-01-11 13:51:53,357 808 [INFO ] - Installing the following packages:
|
|
2024-01-11 13:51:53,372 808 [INFO ] - wazuh-agent
|
|
2024-01-11 13:51:53,372 808 [INFO ] - By installing, you accept licenses for the packages.
|
|
2024-01-11 13:51:53,403 808 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2024-01-11 13:51:53,418 808 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2024-01-11 13:51:53,418 808 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-01-11 13:51:53,434 808 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-01-11 13:51:53,434 808 [DEBUG] - * 'ChocolateyLastPathUpdate'='133494487506024004' ('User')
|
|
2024-01-11 13:51:53,451 808 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2024-01-11 13:51:53,451 808 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2024-01-11 13:51:53,451 808 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2024-01-11 13:51:53,467 808 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
|
|
2024-01-11 13:51:53,482 808 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2024-01-11 13:51:53,482 808 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2024-01-11 13:51:53,499 808 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2024-01-11 13:51:53,499 808 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-01-11 13:51:53,512 808 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-01-11 13:51:53,529 808 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2024-01-11 13:51:53,529 808 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2024-01-11 13:51:53,545 808 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
|
|
2024-01-11 13:51:53,545 808 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2024-01-11 13:51:53,559 808 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2024-01-11 13:51:53,559 808 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2024-01-11 13:51:53,576 808 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2024-01-11 13:51:54,231 808 [DEBUG] - Running list with the following filter = ''
|
|
2024-01-11 13:51:54,231 808 [DEBUG] - --- Start of List ---
|
|
2024-01-11 13:51:54,294 808 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2024-01-11 13:51:54,888 808 [DEBUG] - chocolatey 2.2.2
|
|
2024-01-11 13:51:54,903 808 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2024-01-11 13:51:54,918 808 [DEBUG] - KB2919355 1.0.20160915
|
|
2024-01-11 13:51:54,918 808 [DEBUG] - KB2919442 1.0.20160915
|
|
2024-01-11 13:51:54,935 808 [DEBUG] - KB2999226 1.0.20181019
|
|
2024-01-11 13:51:54,950 808 [DEBUG] - KB3035131 1.0.3
|
|
2024-01-11 13:51:54,966 808 [DEBUG] - KB3118401 1.0.5
|
|
2024-01-11 13:51:54,997 808 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
|
|
2024-01-11 13:51:55,012 808 [DEBUG] - --- End of List ---
|
|
2024-01-11 13:51:55,031 808 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2024-01-11 13:51:55,747 808 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2024-01-11 13:51:56,450 808 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.7.2')
|
|
2024-01-11 13:51:56,700 808 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.7.2') 237ms
|
|
2024-01-11 13:51:56,902 808 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2024-01-11 13:51:57,622 808 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2024-01-11 13:51:57,637 808 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.7.2')
|
|
2024-01-11 13:51:57,887 808 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2024-01-11 13:51:57,918 808 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2024-01-11 13:51:57,981 808 [DEBUG] - Attempting to delete file "".
|
|
2024-01-11 13:51:58,043 808 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/wazuh-agent/4.7.2
|
|
2024-01-11 13:51:58,527 808 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/wazuh-agent/4.7.2 478ms
|
|
2024-01-11 13:51:58,605 808 [INFO ] - [NuGet] Acquiring lock for the installation of wazuh-agent 4.7.2
|
|
2024-01-11 13:51:58,700 808 [INFO ] - [NuGet] Acquired lock for the installation of wazuh-agent 4.7.2
|
|
2024-01-11 13:51:59,200 808 [INFO ] - [NuGet] Installed wazuh-agent 4.7.2 from https://community.chocolatey.org/api/v2/ with content hash uXwg8ifqws+ujeAtS1jcEdILV9EVPLGFBtqn5nP/xGl3OLt/lOc++6/rrELax5ipMqFUAjmTHax8SEbJih1crA==.
|
|
2024-01-11 13:51:59,278 808 [INFO ] - [NuGet] Adding package 'wazuh-agent.4.7.2' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-01-11 13:51:59,387 808 [INFO ] - [NuGet] Added package 'wazuh-agent.4.7.2' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-01-11 13:51:59,403 808 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.7.2\wazuh-agent.4.7.2.nupkg".
|
|
2024-01-11 13:51:59,403 808 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.7.2\.nupkg.metadata".
|
|
2024-01-11 13:51:59,420 808 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.7.2\wazuh-agent.4.7.2.nupkg.sha512".
|
|
2024-01-11 13:51:59,434 808 [INFO ] -
|
|
wazuh-agent v4.7.2 (forced)
|
|
2024-01-11 13:51:59,543 808 [INFO ] - wazuh-agent package files install completed. Performing other installation steps.
|
|
2024-01-11 13:51:59,636 808 [DEBUG] - Setting installer args for wazuh-agent
|
|
2024-01-11 13:51:59,654 808 [DEBUG] - Setting package parameters for wazuh-agent
|
|
2024-01-11 13:51:59,654 808 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1':
|
|
2024-01-11 13:51:59,685 808 [DEBUG] - $ErrorActionPreference = 'Stop'; |
|
$PackageParameters = Get-PackageParameters |
|
|
|
$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)" |
|
$urlPackage = 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi' |
|
$checksumPackage = '83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325' |
|
|
|
Import-Module -Name "$($toolsDir)\helpers.ps1" |
|
|
|
$args = "" |
|
|
|
if ($PackageParameters['ApplicationFolder']) { |
|
$args = $args + " APPLICATIONFOLDER=" + $PackageParameters['ApplicationFolder'] |
|
} |
|
|
|
if ($PackageParameters['Manager']) { |
|
$args = $args + " WAZUH_MANAGER=" + $PackageParameters['Manager'] |
|
} |
|
|
|
if ($PackageParameters['ManagerPort']) { |
|
$args = $args + " WAZUH_MANAGER_PORT=" + $PackageParameters['ManagerPort'] |
|
} |
|
|
|
if ($PackageParameters['Protocol']) { |
|
$args = $args + " WAZUH_PROTOCOL=" + $PackageParameters['Protocol'] |
|
} |
|
|
|
if ($PackageParameters['RegistrationServer']) { |
|
$args = $args + " WAZUH_REGISTRATION_SERVER=" + $PackageParameters['RegistrationServer'] |
|
} |
|
|
|
if ($PackageParameters['RegistrationPort']) { |
|
$args = $args + " WAZUH_REGISTRATION_SERVER=" + $PackageParameters['RegistrationPort'] |
|
} |
|
|
|
if ($PackageParameters['RegistrationPassword']) { |
|
$args = $args + " WAZUH_REGISTRATION_PASSWORD=" + $PackageParameters['RegistrationPassword'] |
|
} |
|
|
|
if ($PackageParameters['KeepAliveInterval']) { |
|
$args = $args + " WAZUH_KEEP_ALIVE_INTERVAL=" + $PackageParameters['KeepAliveInterval'] |
|
} |
|
|
|
if ($PackageParameters['TimeReconnect']) { |
|
$args = $args + " WAZUH_TIME_RECONNECT=" + $PackageParameters['TimeReconnect'] |
|
} |
|
|
|
if ($PackageParameters['RegistrationCA']) { |
|
$args = $args + " WAZUH_REGISTRATION_CA=" + $PackageParameters['RegistrationCA'] |
|
} |
|
|
|
if ($PackageParameters['RegistrationCertificate']) { |
|
$args = $args + " WAZUH_REGISTRATION_CERTIFICATE=" + $PackageParameters['RegistrationCertificate'] |
|
} |
|
|
|
if ($PackageParameters['RegistrationKey']) { |
|
$args = $args + " WAZUH_REGISTRATION_KEY=" + $PackageParameters['RegistrationKey'] |
|
} |
|
|
|
if ($PackageParameters['AgentName']) { |
|
$args = $args + " WAZUH_AGENT_NAME=" + $PackageParameters['AgentName'] |
|
} |
|
|
|
if ($PackageParameters['AgentGroup']) { |
|
$args = $args + " WAZUH_AGENT_GROUP=" + $PackageParameters['AgentGroup'] |
|
} |
|
|
|
Write-Output $args |
|
|
|
$packageArgs = @{ |
|
packageName = $env:ChocolateyPackageName |
|
fileType = 'msi' |
|
url = $urlPackage |
|
checksum = $checksumPackage |
|
checksumType = 'SHA512' |
|
url64 = $urlPackage |
|
checksum64 = $checksumPackage |
|
checksumType64 = 'SHA512' |
|
silentArgs = "$($args) /q" |
|
ValidExitCodes = @(0, 1000, 1101) |
|
} |
|
|
|
Install-ChocolateyPackage @packageArgs |
|
|
|
if ($PackageParameters.CleanStartmenu) { |
|
Remove-FileItem ` |
|
-Path "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\OSSEC" |
|
} |
|
|
|
2024-01-11 13:51:59,731 808 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2024-01-11 13:51:59,747 808 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-01-11 13:52:00,714 808 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2024-01-11 13:52:01,372 808 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-01-11 13:52:01,372 808 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-01-11 13:52:01,387 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-01-11 13:52:01,387 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-01-11 13:52:01,402 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-01-11 13:52:01,402 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-01-11 13:52:01,419 808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-01-11 13:52:01,419 808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-01-11 13:52:01,434 808 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-01-11 13:52:01,434 808 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-01-11 13:52:01,449 808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-01-11 13:52:01,449 808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-01-11 13:52:01,465 808 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-01-11 13:52:01,480 808 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-01-11 13:52:01,498 808 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-01-11 13:52:01,498 808 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-01-11 13:52:01,512 808 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-01-11 13:52:01,512 808 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-01-11 13:52:01,528 808 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-01-11 13:52:01,528 808 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-01-11 13:52:01,543 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-01-11 13:52:01,543 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-01-11 13:52:01,559 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-01-11 13:52:01,559 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-01-11 13:52:01,574 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-01-11 13:52:01,590 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-01-11 13:52:01,590 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-01-11 13:52:01,607 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-01-11 13:52:01,607 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-01-11 13:52:01,623 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-01-11 13:52:01,636 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-01-11 13:52:01,636 808 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-01-11 13:52:01,652 808 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-01-11 13:52:01,652 808 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-01-11 13:52:01,669 808 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-01-11 13:52:01,687 808 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-01-11 13:52:01,699 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-01-11 13:52:01,699 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-01-11 13:52:01,699 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-01-11 13:52:01,716 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-01-11 13:52:01,716 808 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-01-11 13:52:01,732 808 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-01-11 13:52:01,732 808 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-01-11 13:52:01,748 808 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-01-11 13:52:01,763 808 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-01-11 13:52:01,763 808 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-01-11 13:52:01,778 808 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-01-11 13:52:01,778 808 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-01-11 13:52:01,793 808 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-01-11 13:52:01,793 808 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-01-11 13:52:01,809 808 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-01-11 13:52:01,856 808 [DEBUG] - Loading community extensions
|
|
2024-01-11 13:52:01,904 808 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-01-11 13:52:01,917 808 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-01-11 13:52:02,075 808 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-01-11 13:52:02,075 808 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-01-11 13:52:02,089 808 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-01-11 13:52:02,089 808 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-01-11 13:52:02,106 808 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-01-11 13:52:02,106 808 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-01-11 13:52:02,121 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-01-11 13:52:02,121 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-01-11 13:52:02,137 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-01-11 13:52:02,137 808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-01-11 13:52:02,152 808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-01-11 13:52:02,152 808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-01-11 13:52:02,169 808 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-01-11 13:52:02,169 808 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-01-11 13:52:02,184 808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-01-11 13:52:02,184 808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-01-11 13:52:02,200 808 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-01-11 13:52:02,200 808 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-01-11 13:52:02,215 808 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-01-11 13:52:02,215 808 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-01-11 13:52:02,231 808 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-01-11 13:52:02,231 808 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-01-11 13:52:02,246 808 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-01-11 13:52:02,246 808 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-01-11 13:52:02,261 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-01-11 13:52:02,261 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-01-11 13:52:02,277 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-01-11 13:52:02,277 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-01-11 13:52:02,277 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-01-11 13:52:02,294 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-01-11 13:52:02,308 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-01-11 13:52:02,308 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-01-11 13:52:02,325 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-01-11 13:52:02,325 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-01-11 13:52:02,341 808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-01-11 13:52:02,341 808 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-01-11 13:52:02,357 808 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-01-11 13:52:02,357 808 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-01-11 13:52:02,387 808 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-01-11 13:52:02,387 808 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-01-11 13:52:02,406 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-01-11 13:52:02,417 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-01-11 13:52:02,417 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-01-11 13:52:02,434 808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-01-11 13:52:02,434 808 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-01-11 13:52:02,450 808 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-01-11 13:52:02,450 808 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-01-11 13:52:02,464 808 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-01-11 13:52:02,464 808 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-01-11 13:52:02,481 808 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-01-11 13:52:02,481 808 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-01-11 13:52:02,496 808 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-01-11 13:52:02,496 808 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-01-11 13:52:02,513 808 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-01-11 13:52:02,513 808 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-01-11 13:52:02,530 808 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-01-11 13:52:02,543 808 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-01-11 13:52:02,543 808 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-01-11 13:52:02,559 808 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-01-11 13:52:02,559 808 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-01-11 13:52:02,574 808 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-01-11 13:52:02,574 808 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-01-11 13:52:02,638 808 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-01-11 13:52:02,638 808 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2024-01-11 13:52:02,653 808 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2024-01-11 13:52:02,653 808 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-01-11 13:52:02,668 808 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-01-11 13:52:02,684 808 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-01-11 13:52:02,684 808 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-01-11 13:52:02,701 808 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-01-11 13:52:02,716 808 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-01-11 13:52:02,716 808 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-01-11 13:52:02,731 808 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-01-11 13:52:02,731 808 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-01-11 13:52:02,747 808 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-01-11 13:52:02,762 808 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-01-11 13:52:02,762 808 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-01-11 13:52:02,777 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-01-11 13:52:02,794 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-01-11 13:52:02,808 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-01-11 13:52:02,808 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-01-11 13:52:02,824 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-01-11 13:52:02,824 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2024-01-11 13:52:02,840 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-01-11 13:52:02,840 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-01-11 13:52:02,857 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-01-11 13:52:02,857 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-01-11 13:52:02,871 808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-01-11 13:52:02,871 808 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-01-11 13:52:02,887 808 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-01-11 13:52:02,904 808 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2024-01-11 13:52:02,904 808 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-01-11 13:52:02,919 808 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-01-11 13:52:02,919 808 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2024-01-11 13:52:02,933 808 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-01-11 13:52:02,933 808 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-01-11 13:52:02,949 808 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-01-11 13:52:02,949 808 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-01-11 13:52:02,965 808 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-01-11 13:52:02,965 808 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2024-01-11 13:52:02,980 808 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-01-11 13:52:02,980 808 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-01-11 13:52:02,996 808 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-01-11 13:52:02,996 808 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-01-11 13:52:03,012 808 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-01-11 13:52:03,012 808 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-01-11 13:52:03,029 808 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-01-11 13:52:03,029 808 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-01-11 13:52:03,043 808 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-01-11 13:52:03,043 808 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-01-11 13:52:03,199 808 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-01-11 13:52:03,230 808 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.7.2 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2024-01-11 13:52:03,308 808 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
|
|
2024-01-11 13:52:03,464 808 [DEBUG] - Running Get-PackageParameters
|
|
2024-01-11 13:52:03,481 808 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
|
|
2024-01-11 13:52:03,542 808 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
|
|
2024-01-11 13:52:03,542 808 [INFO ] - VERBOSE: Dot-sourcing the script file 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
|
|
2024-01-11 13:52:03,574 808 [INFO ] -
|
|
2024-01-11 13:52:03,794 808 [DEBUG] - Running Install-ChocolateyPackage -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi' -checksum '83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325' -checksum64 '83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325' -silentArgs ' /q' -packageName 'wazuh-agent' -checksumType 'SHA512' -fileType 'msi' -validExitCodes '0 1000 1101' -checksumType64 'SHA512' -url64bit 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi'
|
|
2024-01-11 13:52:03,998 808 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'wazuh-agent' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agentInstall.msi' -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi' -url64bit 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi' -checksum '83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325' -checksumType 'SHA512' -checksum64 '83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325' -checksumType64 'SHA512' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
|
|
2024-01-11 13:52:04,074 808 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
|
|
2024-01-11 13:52:04,136 808 [DEBUG] - CPU is 64 bit
|
|
2024-01-11 13:52:04,168 808 [DEBUG] - Setting url to 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi' and bitPackage to 64
|
|
2024-01-11 13:52:04,308 808 [DEBUG] - Running Get-WebFileName -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi' -defaultName 'wazuh-agentInstall.msi'
|
|
2024-01-11 13:52:04,965 808 [DEBUG] - Using response url to determine file name. 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi'
|
|
2024-01-11 13:52:05,003 808 [DEBUG] - File name determined from url is 'wazuh-agent-4.7.2-1.msi'
|
|
2024-01-11 13:52:05,074 808 [DEBUG] - Running Get-WebHeaders -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi' -ErrorAction 'Stop'
|
|
2024-01-11 13:52:05,090 808 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
|
|
2024-01-11 13:52:05,108 808 [DEBUG] - Request Headers:
|
|
2024-01-11 13:52:05,138 808 [DEBUG] - 'Accept':'*/*'
|
|
2024-01-11 13:52:05,153 808 [DEBUG] - 'User-Agent':'chocolatey command line'
|
|
2024-01-11 13:52:05,230 808 [DEBUG] - Response Headers:
|
|
2024-01-11 13:52:05,246 808 [DEBUG] - 'Connection':'keep-alive'
|
|
2024-01-11 13:52:05,263 808 [DEBUG] - 'x-amz-server-side-encryption':'AES256'
|
|
2024-01-11 13:52:05,277 808 [DEBUG] - 'x-amz-version-id':'cDWVL4oIOpXzHlX2lFKqmjya1i9F22lz'
|
|
2024-01-11 13:52:05,277 808 [DEBUG] - 'X-Cache':'Hit from cloudfront'
|
|
2024-01-11 13:52:05,293 808 [DEBUG] - 'X-Amz-Cf-Pop':'MCI50-P1'
|
|
2024-01-11 13:52:05,310 808 [DEBUG] - 'X-Amz-Cf-Id':'9QrXFxSLLnOgZwJKKe2Ev-Ccno7ZDm2LRphgp840dNnuf8fMuEhxnQ=='
|
|
2024-01-11 13:52:05,345 808 [DEBUG] - 'Age':'82376'
|
|
2024-01-11 13:52:05,359 808 [DEBUG] - 'Accept-Ranges':'bytes'
|
|
2024-01-11 13:52:05,370 808 [DEBUG] - 'Content-Length':'6520832'
|
|
2024-01-11 13:52:05,370 808 [DEBUG] - 'Content-Type':'binary/octet-stream'
|
|
2024-01-11 13:52:05,386 808 [DEBUG] - 'Date':'Wed, 10 Jan 2024 14:59:10 GMT'
|
|
2024-01-11 13:52:05,386 808 [DEBUG] - 'ETag':'"d80ba3d1c6a4f65a355d1f2b0022f206"'
|
|
2024-01-11 13:52:05,403 808 [DEBUG] - 'Last-Modified':'Wed, 10 Jan 2024 12:02:26 GMT'
|
|
2024-01-11 13:52:05,403 808 [DEBUG] - 'Server':'AmazonS3'
|
|
2024-01-11 13:52:05,419 808 [DEBUG] - 'Via':'1.1 82449b7d38c9033f4ad6078c031b24ea.cloudfront.net (CloudFront)'
|
|
2024-01-11 13:52:05,464 808 [INFO ] - Downloading wazuh-agent 64 bit
|
|
from 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi'
|
|
2024-01-11 13:52:05,621 808 [DEBUG] - Running Get-WebFile -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi' -options 'System.Collections.Hashtable'
|
|
2024-01-11 13:52:05,637 808 [DEBUG] - Setting request timeout to 30000
|
|
2024-01-11 13:52:05,637 808 [DEBUG] - Setting read/write timeout to 2700000
|
|
2024-01-11 13:52:05,653 808 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
|
|
2024-01-11 13:52:06,215 808 [DEBUG] - Downloading https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi
|
|
2024-01-11 13:52:06,996 808 [INFO ] -
|
|
2024-01-11 13:52:07,011 808 [INFO ] - Download of wazuh-agent-4.7.2-1.msi (6.22 MB) completed.
|
|
2024-01-11 13:52:10,105 808 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
|
|
2024-01-11 13:52:10,123 808 [DEBUG] - Verifying package provided checksum of '83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi'.
|
|
2024-01-11 13:52:10,156 808 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi' -checksum '83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325' -checksumType 'SHA512' -originalUrl 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.2-1.msi'
|
|
2024-01-11 13:52:10,199 808 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
|
|
2024-01-11 13:52:10,219 808 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi"]
|
|
2024-01-11 13:52:11,558 808 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="83c6656aecdf67c665942ec958f7e64b032fe9b3ef3f69fd6e89eef5168f130ca10ec6f77898db11052e15a58e418297cdc0788a92aac7a88b45ad30f60a0325" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi"] exited with '0'.
|
|
2024-01-11 13:52:11,699 808 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'wazuh-agent' -fileType 'msi' -silentArgs ' /q' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi' -validExitCodes '0 1000 1101' -useOnlyPackageSilentArguments 'False'
|
|
2024-01-11 13:52:11,699 808 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2024-01-11 13:52:11,730 808 [INFO ] - Installing wazuh-agent...
|
|
2024-01-11 13:52:11,933 808 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1000 1101' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi" /q ' -exeToRun 'C:\Windows\System32\msiexec.exe'
|
|
2024-01-11 13:52:12,058 808 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2024-01-11 13:52:12,105 808 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi" /q ]. This may take a while, depending on the statements.
|
|
2024-01-11 13:52:32,136 808 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.2\wazuh-agent-4.7.2-1.msi" /q ] exited with '0'.
|
|
2024-01-11 13:52:32,230 808 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2024-01-11 13:52:32,245 808 [INFO ] - wazuh-agent has been installed.
|
|
2024-01-11 13:52:32,292 808 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-01-11 13:52:32,308 808 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2024-01-11 13:52:32,323 808 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2024-01-11 13:52:32,511 808 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2024-01-11 13:52:32,574 808 [INFO ] - wazuh-agent may be able to be automatically uninstalled.
|
|
2024-01-11 13:52:32,824 808 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
|
|
2024-01-11 13:52:32,839 808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
|
|
with checksum '668AF91CB5FE29A030D057C0E5E0BBD4'
|
|
2024-01-11 13:52:32,839 808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
|
|
with checksum '46AF32A7F4E1D96DBD22553D4336F8C1'
|
|
2024-01-11 13:52:32,856 808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
|
|
with checksum '5F330DB3726B929ECAB370F9B32B8F0B'
|
|
2024-01-11 13:52:32,856 808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
|
|
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
|
|
2024-01-11 13:52:32,870 808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
|
|
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
|
|
2024-01-11 13:52:32,949 808 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.2".
|
|
2024-01-11 13:52:33,026 808 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.2\.registry'
|
|
2024-01-11 13:52:33,073 808 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.2\.files'
|
|
2024-01-11 13:52:33,090 808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.2\.extra".
|
|
2024-01-11 13:52:33,106 808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.2\.version".
|
|
2024-01-11 13:52:33,120 808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.2\.sxs".
|
|
2024-01-11 13:52:33,120 808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.2\.pin".
|
|
2024-01-11 13:52:33,137 808 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-01-11 13:52:33,152 808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\.chocolateyPending".
|
|
2024-01-11 13:52:33,167 808 [INFO ] - The install of wazuh-agent was successful.
|
|
2024-01-11 13:52:33,167 808 [INFO ] - Software installed as 'msi', install location is likely default.
|
|
2024-01-11 13:52:33,214 808 [WARN ] -
|
|
Chocolatey installed 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2024-01-11 13:52:33,230 808 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2024-01-11 13:52:33,323 808 [DEBUG] - Exiting with 0
|