|
2023-06-15 15:42:39,694 2188 [DEBUG] - XmlConfiguration is now operational
|
|
2023-06-15 15:42:39,851 2188 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-06-15 15:42:39,865 2188 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-06-15 15:42:39,865 2188 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-06-15 15:42:39,865 2188 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-06-15 15:42:39,865 2188 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-06-15 15:42:39,881 2188 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-06-15 15:42:40,146 2188 [DEBUG] - Registering new command 'templates' in assembly 'choco'
|
|
2023-06-15 15:42:40,146 2188 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-06-15 15:42:40,162 2188 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-06-15 15:42:40,162 2188 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-06-15 15:42:40,162 2188 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-06-15 15:42:40,162 2188 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-06-15 15:42:40,177 2188 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-06-15 15:42:40,177 2188 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-06-15 15:42:40,177 2188 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-06-15 15:42:40,177 2188 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-06-15 15:42:40,193 2188 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-06-15 15:42:40,193 2188 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-06-15 15:42:40,193 2188 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-06-15 15:42:40,193 2188 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-06-15 15:42:40,209 2188 [DEBUG] - Registering new command 'sources' in assembly 'choco'
|
|
2023-06-15 15:42:40,209 2188 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-06-15 15:42:40,209 2188 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-06-15 15:42:40,209 2188 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-06-15 15:42:40,475 2188 [INFO ] - ============================================================
|
|
2023-06-15 15:42:40,834 2188 [INFO ] - Chocolatey v1.3.0
|
|
2023-06-15 15:42:40,850 2188 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-06-15 15:42:40,865 2188 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-06-15 15:42:40,865 2188 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-06-15 15:42:40,896 2188 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install wazuh-agent --version 4.4.4 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-06-15 15:42:40,912 2188 [DEBUG] - Received arguments: install wazuh-agent --version 4.4.4 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-06-15 15:42:41,069 2188 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-06-15 15:42:41,100 2188 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-06-15 15:42:41,131 2188 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-06-15 15:42:41,256 2188 [DEBUG] - Performing validation checks.
|
|
2023-06-15 15:42:41,272 2188 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-06-15 15:42:41,288 2188 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-06-15 15:42:41,303 2188 [DEBUG] - System State Validation Checks:
|
|
2023-06-15 15:42:41,319 2188 [DEBUG] - Reboot Requirement Checks:
|
|
2023-06-15 15:42:41,334 2188 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-06-15 15:42:41,334 2188 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-06-15 15:42:41,350 2188 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-06-15 15:42:41,350 2188 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-06-15 15:42:41,365 2188 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-06-15 15:42:41,365 2188 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-06-15 15:42:41,397 2188 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
|
|
2023-06-15 15:42:41,459 2188 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-06-15 15:42:41,459 2188 [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-06-15 15:42:41,506 2188 [DEBUG] - Configuration: CommandName='install'|
|
|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
|
|
ContainsLegacyPackageInstalls='True'|
|
|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
|
|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
|
|
SourceType='normal'|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.4.4'|AllVersions='False'|SkipPackageInstallProvider='False'|
|
|
SkipHookScripts='False'|PackageNames='wazuh-agent'|Prerelease='False'|
|
|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
|
|
ApplyPackageParametersToDependencies='False'|
|
|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
|
|
AllowMultipleVersions='False'|AllowDowngrade='True'|
|
|
ForceDependencies='False'|PinPackage='False'|
|
|
Information.PlatformType='Windows'|
|
|
Information.PlatformVersion='10.0.17763.0'|
|
|
Information.PlatformName='Windows Server 2016'|
|
|
Information.ChocolateyVersion='1.3.0.0'|
|
|
Information.ChocolateyProductVersion='1.3.0'|
|
|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-E01OJL73OHS'|
|
|
Information.IsUserAdministrator='True'|
|
|
Information.IsUserSystemAccount='False'|
|
|
Information.IsUserRemoteDesktop='False'|
|
|
Information.IsUserRemote='True'|
|
|
Information.IsProcessElevated='True'|
|
|
Information.IsLicensedVersion='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'|
|
|
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.Remove='False'|PinCommand.Command='unknown'|
|
|
OutdatedCommand.IgnorePinned='False'|
|
|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
|
|
TemplateCommand.Command='unknown'|
|
|
2023-06-15 15:42:41,537 2188 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2023-06-15 15:42:41,552 2188 [INFO ] - Installing the following packages:
|
|
2023-06-15 15:42:41,568 2188 [INFO ] - wazuh-agent
|
|
2023-06-15 15:42:41,568 2188 [INFO ] - By installing, you accept licenses for the packages.
|
|
2023-06-15 15:42:41,584 2188 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-06-15 15:42:41,599 2188 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-06-15 15:42:41,599 2188 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-06-15 15:42:41,615 2188 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-06-15 15:42:41,615 2188 [DEBUG] - * 'ChocolateyLastPathUpdate'='133313044997557277' ('User')
|
|
2023-06-15 15:42:41,631 2188 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-06-15 15:42:41,631 2188 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-06-15 15:42:41,646 2188 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-06-15 15:42:41,646 2188 [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-06-15 15:42:41,646 2188 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-06-15 15:42:41,662 2188 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-06-15 15:42:41,662 2188 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-06-15 15:42:41,677 2188 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-06-15 15:42:41,677 2188 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-06-15 15:42:41,693 2188 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-06-15 15:42:41,693 2188 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-06-15 15:42:41,709 2188 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
|
|
2023-06-15 15:42:41,709 2188 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-06-15 15:42:41,724 2188 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
|
|
2023-06-15 15:42:41,724 2188 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
|
|
2023-06-15 15:42:41,724 2188 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-06-15 15:42:43,834 2188 [INFO ] - [NuGet] Installing 'wazuh-agent 4.4.4'.
|
|
2023-06-15 15:42:43,850 2188 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'wazuh-agent\tools'.
|
|
2023-06-15 15:42:43,881 2188 [DEBUG] - [NuGet] Added file 'helpers.ps1' to folder 'wazuh-agent\tools'.
|
|
2023-06-15 15:42:43,896 2188 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'wazuh-agent\tools'.
|
|
2023-06-15 15:42:43,913 2188 [DEBUG] - [NuGet] Added file 'wazuh-agent.nupkg' to folder 'wazuh-agent'.
|
|
2023-06-15 15:42:44,256 2188 [DEBUG] - [NuGet] Added file 'wazuh-agent.nuspec' to folder 'wazuh-agent'.
|
|
2023-06-15 15:42:44,272 2188 [INFO ] - [NuGet] Successfully installed 'wazuh-agent 4.4.4'.
|
|
2023-06-15 15:42:44,272 2188 [INFO ] -
|
|
wazuh-agent v4.4.4 (forced)
|
|
2023-06-15 15:42:44,304 2188 [INFO ] - wazuh-agent package files install completed. Performing other installation steps.
|
|
2023-06-15 15:42:44,380 2188 [DEBUG] - Setting installer args for wazuh-agent
|
|
2023-06-15 15:42:44,396 2188 [DEBUG] - Setting package parameters for wazuh-agent
|
|
2023-06-15 15:42:44,396 2188 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1':
|
|
2023-06-15 15:42:44,412 2188 [DEBUG] - $ErrorActionPreference = 'Stop'; |
|
$PackageParameters = Get-PackageParameters |
|
|
|
$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)" |
|
$urlPackage = 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.4.4-1.msi' |
|
$checksumPackage = 'e9af0a989067d8ff6d5326bce68308cd1b5a57654ad50bcac3edbb656adfc982f33c031df5fb2e0b0469953194cbb813f502470fd4f700ca33a7b6789e4515d8' |
|
|
|
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-06-15 15:42:44,474 2188 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & 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-06-15 15:42:44,506 2188 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-06-15 15:42:45,131 2188 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-06-15 15:42:45,600 2188 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-06-15 15:42:45,616 2188 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-06-15 15:42:45,616 2188 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-06-15 15:42:45,631 2188 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-06-15 15:42:45,631 2188 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-06-15 15:42:45,646 2188 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-06-15 15:42:45,646 2188 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-06-15 15:42:45,662 2188 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-06-15 15:42:45,662 2188 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-06-15 15:42:45,677 2188 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-06-15 15:42:45,677 2188 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-06-15 15:42:45,693 2188 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-06-15 15:42:45,709 2188 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-06-15 15:42:45,709 2188 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-06-15 15:42:45,709 2188 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-06-15 15:42:45,725 2188 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-06-15 15:42:45,725 2188 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-06-15 15:42:45,740 2188 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-06-15 15:42:45,740 2188 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-06-15 15:42:45,756 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-06-15 15:42:45,756 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-06-15 15:42:45,756 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-06-15 15:42:45,802 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-06-15 15:42:45,802 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-06-15 15:42:45,818 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-06-15 15:42:45,834 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-06-15 15:42:45,834 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-06-15 15:42:45,849 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-06-15 15:42:45,849 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-06-15 15:42:45,865 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-06-15 15:42:45,865 2188 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-06-15 15:42:45,880 2188 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-06-15 15:42:45,880 2188 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-06-15 15:42:45,896 2188 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-06-15 15:42:45,912 2188 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-06-15 15:42:45,912 2188 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-06-15 15:42:45,927 2188 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-06-15 15:42:45,943 2188 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-06-15 15:42:45,943 2188 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-06-15 15:42:45,959 2188 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-06-15 15:42:45,959 2188 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-06-15 15:42:45,974 2188 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-06-15 15:42:45,974 2188 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-06-15 15:42:45,990 2188 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-06-15 15:42:45,990 2188 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-06-15 15:42:46,006 2188 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-06-15 15:42:46,006 2188 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-06-15 15:42:46,021 2188 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-06-15 15:42:46,021 2188 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-06-15 15:42:46,037 2188 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-06-15 15:42:46,069 2188 [DEBUG] - Loading community extensions
|
|
2023-06-15 15:42:46,101 2188 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-06-15 15:42:46,116 2188 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-06-15 15:42:46,224 2188 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-06-15 15:42:46,240 2188 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-06-15 15:42:46,240 2188 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-06-15 15:42:46,255 2188 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-06-15 15:42:46,255 2188 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-06-15 15:42:46,271 2188 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-06-15 15:42:46,271 2188 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-06-15 15:42:46,287 2188 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-06-15 15:42:46,287 2188 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-06-15 15:42:46,287 2188 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-06-15 15:42:46,303 2188 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-06-15 15:42:46,319 2188 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-06-15 15:42:46,319 2188 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-06-15 15:42:46,333 2188 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-06-15 15:42:46,333 2188 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-06-15 15:42:46,333 2188 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-06-15 15:42:46,349 2188 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-06-15 15:42:46,349 2188 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-06-15 15:42:46,365 2188 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-06-15 15:42:46,365 2188 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-06-15 15:42:46,381 2188 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-06-15 15:42:46,381 2188 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-06-15 15:42:46,381 2188 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-06-15 15:42:46,397 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-06-15 15:42:46,397 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-06-15 15:42:46,412 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-06-15 15:42:46,412 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-06-15 15:42:46,428 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-06-15 15:42:46,428 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-06-15 15:42:46,443 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-06-15 15:42:46,443 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-06-15 15:42:46,458 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-06-15 15:42:46,458 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-06-15 15:42:46,474 2188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-06-15 15:42:46,490 2188 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-06-15 15:42:46,490 2188 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-06-15 15:42:46,506 2188 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-06-15 15:42:46,506 2188 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-06-15 15:42:46,521 2188 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-06-15 15:42:46,521 2188 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-06-15 15:42:46,537 2188 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-06-15 15:42:46,552 2188 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-06-15 15:42:46,552 2188 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-06-15 15:42:46,585 2188 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-06-15 15:42:46,585 2188 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-06-15 15:42:46,599 2188 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-06-15 15:42:46,599 2188 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-06-15 15:42:46,615 2188 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-06-15 15:42:46,615 2188 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-06-15 15:42:46,631 2188 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-06-15 15:42:46,631 2188 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-06-15 15:42:46,631 2188 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-06-15 15:42:46,647 2188 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-06-15 15:42:46,662 2188 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-06-15 15:42:46,662 2188 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-06-15 15:42:46,677 2188 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-06-15 15:42:46,677 2188 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-06-15 15:42:46,693 2188 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-06-15 15:42:46,693 2188 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-06-15 15:42:46,709 2188 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-06-15 15:42:46,709 2188 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-06-15 15:42:46,725 2188 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-06-15 15:42:46,725 2188 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-06-15 15:42:46,740 2188 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-06-15 15:42:46,755 2188 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-06-15 15:42:46,755 2188 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-06-15 15:42:46,771 2188 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-06-15 15:42:46,771 2188 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-06-15 15:42:46,771 2188 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-06-15 15:42:46,787 2188 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-06-15 15:42:46,787 2188 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-06-15 15:42:46,802 2188 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-06-15 15:42:46,802 2188 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-06-15 15:42:46,818 2188 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-06-15 15:42:46,818 2188 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-06-15 15:42:46,833 2188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-06-15 15:42:46,833 2188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-06-15 15:42:46,849 2188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-06-15 15:42:46,849 2188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-06-15 15:42:46,865 2188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-06-15 15:42:46,865 2188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-06-15 15:42:46,865 2188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-06-15 15:42:46,881 2188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-06-15 15:42:46,881 2188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-06-15 15:42:46,897 2188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-06-15 15:42:46,897 2188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-06-15 15:42:46,912 2188 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-06-15 15:42:46,912 2188 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-06-15 15:42:46,928 2188 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-06-15 15:42:46,928 2188 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-06-15 15:42:46,944 2188 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-06-15 15:42:46,944 2188 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-06-15 15:42:46,944 2188 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-06-15 15:42:46,959 2188 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-06-15 15:42:46,959 2188 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-06-15 15:42:46,974 2188 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-06-15 15:42:46,974 2188 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-06-15 15:42:46,990 2188 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-06-15 15:42:46,990 2188 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-06-15 15:42:47,006 2188 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-06-15 15:42:47,006 2188 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-06-15 15:42:47,021 2188 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-06-15 15:42:47,021 2188 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-06-15 15:42:47,037 2188 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-06-15 15:42:47,052 2188 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-06-15 15:42:47,052 2188 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-06-15 15:42:47,068 2188 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-06-15 15:42:47,068 2188 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-06-15 15:42:47,162 2188 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-06-15 15:42:47,208 2188 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.4.4 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-06-15 15:42:47,272 2188 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
|
|
2023-06-15 15:42:47,365 2188 [DEBUG] - Running Get-PackageParameters
|
|
2023-06-15 15:42:47,365 2188 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
|
|
2023-06-15 15:42:47,396 2188 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
|
|
2023-06-15 15:42:47,412 2188 [INFO ] - VERBOSE: Dot-sourcing the script file 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
|
|
2023-06-15 15:42:47,428 2188 [INFO ] -
|
|
2023-06-15 15:42:47,522 2188 [DEBUG] - Running Install-ChocolateyPackage -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.4.4-1.msi' -checksum 'e9af0a989067d8ff6d5326bce68308cd1b5a57654ad50bcac3edbb656adfc982f33c031df5fb2e0b0469953194cbb813f502470fd4f700ca33a7b6789e4515d8' -checksum64 'e9af0a989067d8ff6d5326bce68308cd1b5a57654ad50bcac3edbb656adfc982f33c031df5fb2e0b0469953194cbb813f502470fd4f700ca33a7b6789e4515d8' -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.4.4-1.msi'
|
|
2023-06-15 15:42:47,694 2188 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'wazuh-agent' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.4.4\wazuh-agentInstall.msi' -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.4.4-1.msi' -url64bit 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.4.4-1.msi' -checksum 'e9af0a989067d8ff6d5326bce68308cd1b5a57654ad50bcac3edbb656adfc982f33c031df5fb2e0b0469953194cbb813f502470fd4f700ca33a7b6789e4515d8' -checksumType 'SHA512' -checksum64 'e9af0a989067d8ff6d5326bce68308cd1b5a57654ad50bcac3edbb656adfc982f33c031df5fb2e0b0469953194cbb813f502470fd4f700ca33a7b6789e4515d8' -checksumType64 'SHA512' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
|
|
2023-06-15 15:42:47,834 2188 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
|
|
2023-06-15 15:42:47,866 2188 [DEBUG] - CPU is 64 bit
|
|
2023-06-15 15:42:47,896 2188 [DEBUG] - Setting url to 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.4.4-1.msi' and bitPackage to 64
|
|
2023-06-15 15:42:47,975 2188 [DEBUG] - Running Get-WebFileName -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.4.4-1.msi' -defaultName 'wazuh-agentInstall.msi'
|
|
2023-06-15 15:42:48,491 2188 [DEBUG] - Using response url to determine file name. 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.4.4-1.msi'
|
|
2023-06-15 15:42:48,507 2188 [DEBUG] - File name determined from url is 'wazuh-agent-4.4.4-1.msi'
|
|
2023-06-15 15:42:48,584 2188 [DEBUG] - Running Get-WebHeaders -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.4.4-1.msi' -ErrorAction 'Stop'
|
|
2023-06-15 15:42:48,600 2188 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
|
|
2023-06-15 15:42:48,615 2188 [DEBUG] - Request Headers:
|
|
2023-06-15 15:42:48,633 2188 [DEBUG] - 'Accept':'*/*'
|
|
2023-06-15 15:42:48,646 2188 [DEBUG] - 'User-Agent':'chocolatey command line'
|
|
2023-06-15 15:42:48,740 2188 [DEBUG] - Response Headers:
|
|
2023-06-15 15:42:48,756 2188 [DEBUG] - 'Connection':'keep-alive'
|
|
2023-06-15 15:42:48,756 2188 [DEBUG] - 'x-amz-server-side-encryption':'AES256'
|
|
2023-06-15 15:42:48,771 2188 [DEBUG] - 'x-amz-version-id':'RmDIVMXGcVPDitw3qhHTTAj.nKBnM.E_'
|
|
2023-06-15 15:42:48,771 2188 [DEBUG] - 'X-Cache':'Hit from cloudfront'
|
|
2023-06-15 15:42:48,787 2188 [DEBUG] - 'X-Amz-Cf-Pop':'MCI50-P1'
|
|
2023-06-15 15:42:48,802 2188 [DEBUG] - 'X-Amz-Cf-Id':'nicaZRCNRgrkJ0m7P8xV4TDaNQ3A6A7r0ETKKvjRk7Ymnua49If15g=='
|
|
2023-06-15 15:42:48,802 2188 [DEBUG] - 'Age':'67396'
|
|
2023-06-15 15:42:48,802 2188 [DEBUG] - 'Accept-Ranges':'bytes'
|
|
2023-06-15 15:42:48,818 2188 [DEBUG] - 'Content-Length':'5394432'
|
|
2023-06-15 15:42:48,834 2188 [DEBUG] - 'Content-Type':'binary/octet-stream'
|
|
2023-06-15 15:42:48,849 2188 [DEBUG] - 'Date':'Thu, 15 Jun 2023 13:56:07 GMT'
|
|
2023-06-15 15:42:48,849 2188 [DEBUG] - 'ETag':'"a03806b7302767d0470d65d3f103fabb"'
|
|
2023-06-15 15:42:48,865 2188 [DEBUG] - 'Last-Modified':'Tue, 13 Jun 2023 17:11:43 GMT'
|
|
2023-06-15 15:42:48,865 2188 [DEBUG] - 'Server':'AmazonS3'
|
|
2023-06-15 15:42:48,881 2188 [DEBUG] - 'Via':'1.1 a36784ff7c56b2a89d489b06238a089e.cloudfront.net (CloudFront)'
|
|
2023-06-15 15:42:48,912 2188 [INFO ] - Downloading wazuh-agent 64 bit
|
|
from 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.4.4-1.msi'
|
|
2023-06-15 13:56:07,727 2188 [DEBUG] - Running Get-WebFile -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.4.4-1.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.4.4\wazuh-agent-4.4.4-1.msi' -options 'System.Collections.Hashtable'
|
|
2023-06-15 13:56:07,744 2188 [DEBUG] - Setting request timeout to 30000
|
|
2023-06-15 13:56:07,744 2188 [DEBUG] - Setting read/write timeout to 2700000
|
|
2023-06-15 13:56:07,759 2188 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
|
|
2023-06-15 13:56:08,196 2188 [DEBUG] - Downloading https://packages.wazuh.com/4.x/windows/wazuh-agent-4.4.4-1.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.4.4\wazuh-agent-4.4.4-1.msi
|
|
2023-06-15 13:56:08,915 2188 [INFO ] -
|
|
2023-06-15 13:56:08,946 2188 [INFO ] - Download of wazuh-agent-4.4.4-1.msi (5.14 MB) completed.
|
|
2023-06-15 13:56:12,008 2188 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
|
|
2023-06-15 13:56:12,024 2188 [DEBUG] - Verifying package provided checksum of 'e9af0a989067d8ff6d5326bce68308cd1b5a57654ad50bcac3edbb656adfc982f33c031df5fb2e0b0469953194cbb813f502470fd4f700ca33a7b6789e4515d8' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.4.4\wazuh-agent-4.4.4-1.msi'.
|
|
2023-06-15 13:56:12,055 2188 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.4.4\wazuh-agent-4.4.4-1.msi' -checksum 'e9af0a989067d8ff6d5326bce68308cd1b5a57654ad50bcac3edbb656adfc982f33c031df5fb2e0b0469953194cbb813f502470fd4f700ca33a7b6789e4515d8' -checksumType 'SHA512' -originalUrl 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.4.4-1.msi'
|
|
2023-06-15 13:56:12,071 2188 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
|
|
2023-06-15 13:56:12,087 2188 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="e9af0a989067d8ff6d5326bce68308cd1b5a57654ad50bcac3edbb656adfc982f33c031df5fb2e0b0469953194cbb813f502470fd4f700ca33a7b6789e4515d8" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.4.4\wazuh-agent-4.4.4-1.msi"]
|
|
2023-06-15 13:56:12,321 2188 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="e9af0a989067d8ff6d5326bce68308cd1b5a57654ad50bcac3edbb656adfc982f33c031df5fb2e0b0469953194cbb813f502470fd4f700ca33a7b6789e4515d8" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.4.4\wazuh-agent-4.4.4-1.msi"] exited with '0'.
|
|
2023-06-15 13:56:12,415 2188 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'wazuh-agent' -fileType 'msi' -silentArgs ' /q' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.4.4\wazuh-agent-4.4.4-1.msi' -validExitCodes '0 1000 1101' -useOnlyPackageSilentArguments 'False'
|
|
2023-06-15 13:56:12,415 2188 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2023-06-15 13:56:12,446 2188 [INFO ] - Installing wazuh-agent...
|
|
2023-06-15 13:56:12,587 2188 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1000 1101' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.4.4' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.4.4\wazuh-agent-4.4.4-1.msi" /q ' -exeToRun 'C:\Windows\System32\msiexec.exe'
|
|
2023-06-15 13:56:12,681 2188 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-06-15 13:56:12,743 2188 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.4.4\wazuh-agent-4.4.4-1.msi" /q ]. This may take a while, depending on the statements.
|
|
2023-06-15 13:56:20,072 2188 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.4.4\wazuh-agent-4.4.4-1.msi" /q ] exited with '0'.
|
|
2023-06-15 13:56:20,117 2188 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2023-06-15 13:56:20,134 2188 [INFO ] - wazuh-agent has been installed.
|
|
2023-06-15 13:56:20,149 2188 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-06-15 13:56:20,164 2188 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & 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-06-15 13:56:20,181 2188 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-06-15 13:56:20,274 2188 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-06-15 13:56:20,321 2188 [INFO ] - wazuh-agent may be able to be automatically uninstalled.
|
|
2023-06-15 13:56:20,493 2188 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
|
|
2023-06-15 13:56:20,508 2188 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
|
|
with checksum '32B3C2415699B9D07D8CDC47ADE4D576'
|
|
2023-06-15 13:56:20,508 2188 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
|
|
with checksum '34763886DB8A54861D9CF36EF6ED7CE5'
|
|
2023-06-15 13:56:20,524 2188 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
|
|
with checksum 'FB32699A08C1EFB6C772CAAE3105B061'
|
|
2023-06-15 13:56:20,524 2188 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
|
|
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
|
|
2023-06-15 13:56:20,539 2188 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
|
|
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
|
|
2023-06-15 13:56:20,602 2188 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.4.4".
|
|
2023-06-15 13:56:20,666 2188 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.4.4\.registry'
|
|
2023-06-15 13:56:20,696 2188 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.4.4\.files'
|
|
2023-06-15 13:56:20,712 2188 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.4.4\.extra".
|
|
2023-06-15 13:56:20,727 2188 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.4.4\.version".
|
|
2023-06-15 13:56:20,742 2188 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.4.4\.sxs".
|
|
2023-06-15 13:56:20,742 2188 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.4.4\.pin".
|
|
2023-06-15 13:56:20,758 2188 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-06-15 13:56:20,774 2188 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\.chocolateyPending".
|
|
2023-06-15 13:56:20,790 2188 [INFO ] - The install of wazuh-agent was successful.
|
|
2023-06-15 13:56:20,790 2188 [INFO ] - Software installed as 'msi', install location is likely default.
|
|
2023-06-15 13:56:20,805 2188 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\wazuh-agent.4.4.4.nupkg".
|
|
2023-06-15 13:56:20,836 2188 [WARN ] -
|
|
Chocolatey installed 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-06-15 13:56:20,852 2188 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-06-15 13:56:20,900 2188 [DEBUG] - Exiting with 0
|