[ZBX-22030] Silent Install with MSI doesn't take into account SERVER property Created: 2022 Dec 05  Updated: 2024 Apr 10  Resolved: 2023 Jan 23

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 6.2.6
Fix Version/s: 6.4 (plan)

Type: Problem report Priority: Major
Reporter: WILLEPOTTE Christian Assignee: Michael Veksler
Resolution: Fixed Votes: 2
Labels: regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows Server 2012R2


Attachments: Text File Zabbix-msi_old.log     File zabbix_agent-6.4.0-x64.msi     File zabbix_agent-6.4.2-x64.msi     File zabbix_agent2-6.4.0-x64.msi.7z.001     File zabbix_agent2-6.4.0-x64.msi.7z.002     File zabbix_agent2-6.4.2-x64.msi.7z.001     File zabbix_agent2-6.4.2-x64.msi.7z.002    
Issue Links:
Duplicate
Sub-task
depends on ZBX-22092 Agent/Agent 2 cmd install doesn't all... Closed
depends on ZBX-22018 Windows Zabbix Agent 2 6.2.4 & 6.2.5 ... Closed
Team: Team B
Sprint: Sprint 95 (Dec 2022), Sprint 96 (Jan 2023)
Story Points: 0.25

 Description   

Silent Install of Zabbix Client zabbix_agent2-6.2.6-windows-amd64-openssl.msi, looks like the issue not present in zabbix_agent2-6.0.7-windows-amd64-openssl.msi.

When I set the SERVER property on the silent command line (Command Line: SERVER=aztprdzabbix52.armony.net,dunsupzabpro53.armony.net ServerActive=dunsupzabpro53.armony.net HOSTMETADATA=Windows_Server HOSTNAME=DUN-QAT-S1WINTL HOSTINTERFACE=DUN-QAT-S1WINTL.armony.net) the SERVER is set to 'none' at the end of the installation.

It looks like it's linked to the CustomAction SetServerLocInit which set back SERVER property to none. This custom action is not launched when you're running the installation via the GUI

From the log file

MSI (s) (C4:7C) [16:01:56:314]: Doing action: SetServerLocInit
Action ended 16:01:56: SetWIX_IS_NETFRAMEWORK_40_OR_LATER_INSTALLED. Return value 1.
MSI (s) (C4:7C) [16:01:56:315]: PROPERTY CHANGE: Modifying SERVER property. Its current value is 'aztprdzabbix52.armony.net,dunsupzabpro53.armony.net'. Its new value: 'none'.

 



 Comments   
Comment by Marina Generalova [ 2023 Jan 16 ]

Updated list of supported parameters for Windows agent installation from MSI in 6.4 documentation.

Generated at Mon Jun 02 17:00:53 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.