Hello. I am trying to install the Wazuh agent on a Windows Server 2019 datacenter, but whether I use PowerShell or download the .msi, I get the same error.
The same .msi and/or command has worked on other servers.
Product: Wazuh Agent -- Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action CheckSvcRunning script error -2147217358, SWbemObjectSet: Call cancelled Line 363, Column 5,
Hello Facu.
What is the exact PowerShell command you are using for the installation?
Are you running PowerShell with administrator permissions?
Which agent version are you trying to install?
Hello, I have consulted internally with the team and this appears to be a problem related to the WMI repository, which we use to check if Wazuh services are active.
Reviewing issues, I found the following, where exactly the same error occurs, and apparently there is a simple solution that users have reported:
https://github.com/wazuh/wazuh/issues/15216#issuecomment-1362166877
Try it and let us know how it went.
In any case, as a second step, you can also check that WMI is active on that system.
Hi. I am using the command provided by Wazuh in the Agents tab.
Yes, I am using PowerShell with administrator permissions.
The version I want to install is 4.12.0.
I will check the git provided and keep you updated.
Did you have any luck with this? Were you able to install the agent?