Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22030

Silent Install with MSI doesn't take into account SERVER property

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Major Major
    • 6.4 (plan)
    • 6.2.6
    • Agent (G)
    • Windows Server 2012R2
    • Sprint 95 (Dec 2022), Sprint 96 (Jan 2023)
    • 0.25

      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'.

       

        1. zabbix_agent2-6.4.0-x64.msi.7z.001
          10.00 MB
          Michael Veksler
        2. zabbix_agent2-6.4.0-x64.msi.7z.002
          7.70 MB
          Michael Veksler
        3. zabbix_agent2-6.4.2-x64.msi.7z.001
          10.00 MB
          Michael Veksler
        4. zabbix_agent2-6.4.2-x64.msi.7z.002
          7.70 MB
          Michael Veksler
        5. zabbix_agent-6.4.0-x64.msi
          6.71 MB
          Michael Veksler
        6. zabbix_agent-6.4.2-x64.msi
          6.71 MB
          Michael Veksler
        7. Zabbix-msi_old.log
          196 kB
          WILLEPOTTE Christian

            MVekslers Michael Veksler
            ChristianW WILLEPOTTE Christian
            Team B
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: