[ZBX-20476] MSI package requires Microsoft .NET Framework 4 installed on older Win hosts Created: 2022 Jan 24  Updated: 2024 Apr 10  Resolved: 2022 Nov 08

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Documentation (D)
Affects Version/s: 5.0.19
Fix Version/s: 6.4 (plan)

Type: Problem report Priority: Trivial
Reporter: Oleksii Zagorskyi Assignee: Michael Veksler
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

windows msi


Attachments: PNG File error.png    
Issue Links:
Duplicate
Sub-task
depends on ZBXNEXT-7791 Include Sender and Get utilities to Z... Closed
Team: Team B
Sprint: Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022), Sprint 92 (Sep 2022), Sprint 93 (Oct 2022), Sprint 94 (Nov 2022)
Story Points: 0.75

 Description   

I used zabbix_agent-5.0.19-windows-i386-openssl.msi

It appeared to be that zabbix agent MSI package requires to have "Microsoft .NET Framework 4" installed on your windows box.
Official MS link to download https://www.microsoft.com/en-US/download/details.aspx?id=17718

If it's missing, GUI wizard fails at the end with an unknown error, see picture attached.

If run installation from command line, it will complain this way:

MSI (s) (C4:EC) [15:40:29:886]: Executing op: CustomActionSchedule(Action=AgentService_Register,ActionType=3073,Source=BinaryData,Target=QuietExecAndMsgOut,CustomActionData="C:\Program Files\Zabbix Agent\zabbix_agentd.exe" --config "C:\Program Files\Zabbix Agent\zabbix_agentd.conf" --install)
MSI (s) (C4:E4) [15:40:29:886]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI2F7.tmp, Entrypoint: QuietExecAndMsgOut
SFXCA: Extracting custom action to temporary directory: C:\WINDOWS\Installer\MSI2F7.tmp-\
SFXCA: Failed to get requested CLR info. Error code 0x80131700
SFXCA: Ensure that the proper version of the .NET Framework is installed, or that there is a matching supportedRuntime element in CustomAction.config. If you are binding to .NET 4 or greater add useLegacyV2RuntimeActivationPolicy=true to the <startup> element.
...

Installing .NET Framework 4 resolves agent installation issue.

This requirement detail could be added to zabbix documentation
https://www.zabbix.com/documentation/5.0/en/manual/installation/install_from_packages/win_msi



 Comments   
Comment by Natalija Burisina (Inactive) [ 2022 Nov 01 ]

Documentation updated:

Comment by Michael Veksler [ 2022 Nov 02 ]

Closing this as a part of ZBXNEXT-7791 for now, if you have any more questions, feel free to reopen this ticket!

Generated at Mon May 12 07:30:46 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.