Ad Widget

Collapse

Zabbix Windows Agent deployment with MST file (agent version 4.4.5)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ldum
    Junior Member
    • May 2020
    • 1

    #1

    Zabbix Windows Agent deployment with MST file (agent version 4.4.5)

    Hello,
    I'm trying to deploy on my Windows servers the agent from and MSI+MST created with ORCA.
    I did add some options in the property table (such the zabbix server address), but I still getting a 1603 windows installer error...

    If I try my command "msiexec /i zabbix_agent.msi SERVER.myserver.domain..." it works...
    If I try "msiexec /i zabbix_agent.msi TRANSFORMS=mytransform.mst", I get the following error in log:

    MSI (s) (70:5C) [11:43:27:113]: Executing op: CustomActionSchedule(Action=AgentService_Register, ActionType=3073,Source=BinaryData,Target=WixQuietE xec64,CustomActionData="C:\Program Files\Zabbix Agent\zabbix_agentd.exe" --config "C:\Program Files\Zabbix Agent\zabbix_agentd.conf" --install)
    MSI (s) (70:2C) [11:43:27:117]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI7E5B.tmp, Entrypoint: WixQuietExec64
    WixQuietExec64: Error 0x80070001: Command line returned an error.
    WixQuietExec64: Error 0x80070001: QuietExec64 Failed
    WixQuietExec64: Error 0x80070001: Failed in ExecCommon method

    Does the Zabbix MSI installer file supports MST transforms?
    Do I have to declare my options in others fields than the property table?


    Thanks for your help.


  • Onge
    Junior Member
    • Jun 2020
    • 3

    #2
    Hi!

    I'm aware this post is over a year old but I came across it whilst struggling with the same issue and haven't seen the answer posted anywhere else. It looks like you were very much on the right track. In the Property table I just add a new line with the Property name as SERVER and a Value of the server IP or FQDN.

    You can then test the install interactively as you suggest: msiexec /i zabbix_agent.msi TRANSFORMS=mytransform.mst"
    You should see the server field pre-filled. You can then install using the quiet option or via group policy.

    I've attached a couple of snips showing this.

    Hope you got it sorted!

    Click image for larger version

Name:	Orca.JPG
Views:	3681
Size:	19.7 KB
ID:	402541

    Click image for larger version

Name:	ZA.JPG
Views:	3727
Size:	35.5 KB
ID:	402543
    Attached Files

    Comment

    • stonevn
      Junior Member
      • Nov 2020
      • 1

      #3
      Hi,
      Is it there property for for ServerActive? I will like to add active agent to mst file.

      Thank you in advance.

      Comment

      • fernando.ti
        Junior Member
        • Jun 2021
        • 1

        #4
        you can use the default parameters and insert it in the projector thus generating a .mst



        I used ORCA to generate the .MST

        Comment

        Working...