Skip to content

Commit

Permalink
Refactor setup-agent.ps1 to update Wazuh agent installation script UR…
Browse files Browse the repository at this point in the history
…L Add wazuh agent install on Windows #3
  • Loading branch information
bengo237 committed Oct 10, 2024
1 parent 33ab0af commit a0ee2a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup-agent.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ function Ensure-Dependencies {
function Install-WazuhAgent {
Log-Info "Installing Wazuh agent"

$InstallerUrl = "https://packages.wazuh.com/4.x/windows/wazuh-agent-$WAZUH_AGENT_VERSION.win64.msi"
$InstallerPath = "$TEMP_DIR\wazuh-agent-$WAZUH_AGENT_VERSION.msi"
$InstallerUrl = "https://raw.githubusercontent.com/ADORSYS-GIS/wazuh-agent/refs/heads/wazuh-agent-win/scripts/install.ps1"
$InstallerPath = "$TEMP_DIR\install.ps1"

# Download Wazuh agent installer
Invoke-WebRequest -Uri $InstallerUrl -OutFile $InstallerPath
Expand Down

0 comments on commit a0ee2a7

Please sign in to comment.