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

Details

    • Problem report
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.2.6
    • 6.4 (plan)
    • Agent (G)
    • Windows Server 2012R2
    • Team B
    • Sprint 95 (Dec 2022), Sprint 96 (Jan 2023)
    • 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'.

       

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: