-
Change Request
-
Resolution: Unresolved
-
Major
-
None
-
7.0.10, 7.2.4
Zabbix Agent installation (and upgrades) currently require that server= parameter is defined. In our environment, we only use serveractive= configuration, and thus msi installation is not possible unless we make the installation and configuration using a powershell script.
In addition, it would we good to have a switch to toggle Zabbix Agent upgrades with /upgrade to keep current configuration, thus not requirering any other msi installation parameters.
=== Logging started: 14.3.2025 13.51.14 === Action start 13.51.14: INSTALL. Action start 13.51.14: FindRelatedProducts. Action ended 13.51.14: FindRelatedProducts. Return value 1. Action start 13.51.14: SetUIListenPortInit. Action ended 13.51.14: SetUIListenPortInit. Return value 1. Action start 13.51.14: SetUIServerActiveInit. Action ended 13.51.14: SetUIServerActiveInit. Return value 1. Action start 13.51.14: AppSearch. Action ended 13.51.14: AppSearch. Return value 1. Action start 13.51.14: caCLIPramsPrepare. Action ended 13.51.14: caCLIPramsPrepare. Return value 0. Action start 13.51.14: caReadConf. Action ended 13.51.14: caReadConf. Return value 0. Action start 13.51.14: SetEnablePSK. Action ended 13.51.14: SetEnablePSK. Return value 1. Action start 13.51.14: SetLogFileRemove. Action ended 13.51.14: SetLogFileRemove. Return value 1. Action start 13.51.14: SetTLSAcceptInit. Action ended 13.51.14: SetTLSAcceptInit. Return value 1. Action start 13.51.14: SetTLSConnectInit. Action ended 13.51.14: SetTLSConnectInit. Return value 1. Action start 13.51.14: SetTLSPSKFileRemove. Action ended 13.51.14: SetTLSPSKFileRemove. Return value 1. Action start 13.51.14: SetUIEnablePathInit. Action ended 13.51.14: SetUIEnablePathInit. Return value 1. Action start 13.51.14: SetOldAgentCodeInit. Action ended 13.51.14: SetOldAgentCodeInit. Return value 1. Action start 13.51.14: SetSTARTUPTYPEdelayed. Action ended 13.51.14: SetSTARTUPTYPEdelayed. Return value 1. Action start 13.51.14: SetWIX_IS_NETFRAMEWORK_40_OR_LATER_INSTALLED. Action ended 13.51.14: SetWIX_IS_NETFRAMEWORK_40_OR_LATER_INSTALLED. Return value 1. Action start 13.51.14: LaunchConditions. MSI (s) (88:44) [13:51:14:817]: Product: Zabbix Agent 2 (64-bit) -- Please enter the name or IP address in the Zabbix server IP/DNS field or set SERVER variable on command line !Please enter the name or IP address in the Zabbix server IP/DNS field or set SERVER variable on command line ! Action ended 13.51.14: LaunchConditions. Return value 3. Action ended 13.51.14: INSTALL. Return value 3. Property(S): DiskPrompt = Zabbix Agent 2 Disk #1 Property(S): UpgradeCode = {3B47322E-1899-UUID} Property(S): INSTALLFOLDER = C:\Program Files\Zabbix Agent 2\ Property(S): DELAYEDAUTOSTARTREG = #1 Property(S): STARTTYPEREG = #2 Property(S): OLD_PROD_VER = 7.0.5.2400 Property(S): OLDUSERSID = S-1-5-21-4001214965-2717889964-1176080248-2085 Property(S): NETFRAMEWORK40FULL = #1 Property(S): EnablePSK = 1 Property(S): WixUIRMOption = UseRM Property(S): HOSTNAME = example Property(S): ListenPortDef = 10050 Property(S): ServerActiveDef = 127.0.0.1 Property(S): TLSPSKIDENTITY = example Property(S): TLSPSKVALUE = ********** Property(S): ALLUSERS = 1 Property(S): ARPNOREPAIR = yes Property(S): READ_CONF = 1 Property(S): TLSConnect = TLSConnect=psk Property(S): TLSAccept = TLSAccept=psk Property(S): STARTUPTYPE = delayed Property(S): WIX_IS_NETFRAMEWORK_40_OR_LATER_INSTALLED = 1 Property(S): ProgramFiles64Folder = C:\Program Files\ Property(S): TLSACCEPT = psk Property(S): TLSCONNECT = psk Property(S): SERVERACTIVE = server-active-address.example.com Property(S): ROOTDIR = C:\ Property(S): INSTALLLEVEL = 200 Property(S): ARPPRODUCTICON = zabbix_icon.ico Property(S): ARPCONTACT = https://www.zabbix.com Property(S): ARPHELPLINK = https://www.zabbix.com/documentation/7.0/manual/concepts/agent Property(S): ARPURLUPDATEINFO = https://www.zabbix.com/download_agents Property(S): ARPURLINFOABOUT = https://www.zabbix.com/community Property(S): FILE_PREFIX_VB = zabbix_agent2 Property(S): PROG_NAME_VB = Zabbix Agent 2 Property(S): Quote = " Property(S): MULTILINE_PROPS_VB = Include ; Property(S): MULTILINE_EXCLUD_VALUE_VB = .\zabbix_agent2.d\plugins.d\*.conf Property(S): VALIDATE_INCLUDE_VB = Include Property(S): Manufacturer = Zabbix SIA Property(S): ProductCode = {4212211E-C81C-400C-B2DA-BD2F71CF7D14} Property(S): ProductLanguage = 1033 Property(S): ProductName = Zabbix Agent 2 (64-bit) Property(S): ProductVersion = 7.0.10.2400 Property(S): DefaultUIFont = WixUI_Font_Normal Property(S): WixUI_Mode = FeatureTree Property(S): ErrorDialog = ErrorDlg Property(S): SecureCustomProperties = ADK_ERROR;ALLOWDENYKEY;ARPNOREPAIR;CONF;ENABLEPATH;ENABLEPERSISTENTBUFFER;ENABLEREMOTECOMMANDS;HOSTINTERFACE;HOSTMETADATA;HOSTMETADATAITEM;HOSTNAME;INCLUDE;INCLUDE_ERROR;LISTENIP;LISTENPORT;LOGFILE;LOGTYPE;NETFRAMEWORK20;NETFRAMEWORK30;NETFRAMEWORK35;NETFRAMEWORK40FULL;NONMSICLEAR;NONMSICONFNAME;NONMSIDIRNAME;NONMSIPROGNAME;NONMSIPROGSTATE;NONMSISERVCMD;OAC;OLDUSERSID;PERSISTENTBUFFERFILE;PERSISTENTBUFFERPERIOD;READ_CONF;ROOTDRIVE;SERVER;SERVERACTIVE;SKIP;STARTUPTYPE;STATUSPORT;TIMEOUT;TLSACCEPT;TLSCAFILE;TLSCERTFILE;TLSCONNECT;TLSCRLFILE;TLSKEYFILE;TLSPSKFILE;TLSPSKFILE_ERROR;TLSPSKIDENTITY;TLSPSKVALUE;TLSPSKVALUE_NOTCHECK;TLSPSKVALUE_PROCESSED;TLSSERVERCERTISSUER;TLSSERVERCERTSUBJECT;WIX_DOWNGRADE_DETECTED;WIX_IS_NETFRAMEWORK_40_OR_LATER_INSTALLED;WIX_UPGRADE_DETECTED Property(S): MsiHiddenProperties = TLSPSKVALUE Property(S): UserSID = S-1-5-18 Property(S): WIX_UPGRADE_DETECTED = {B7F9EF9A-8056-4018-9670-BEB691592422} Property(S): MsiLogFileLocation = C:\Windows\Logs\Zabbix_installation.log Property(S): PackageCode = {A96065F8-B4A5-41D5-8C0A-A10CA2249178} Property(S): ProductState = -1 Property(S): PackagecodeChanging = 1 Property(S): REBOOT = ReallySuppress Property(S): CURRENTDIRECTORY = C:\windows\ProPatches\Installation\InstallationSandbox#2025-03-14-T-11-51-12 Property(S): CLIENTUILEVEL = 3 Property(S): CLIENTPROCESSID = 7668 Property(S): MsiRestartManagerSessionKey = Property(S): MsiSystemRebootPending = 1 Property(S): VersionDatabase = 200 Property(S): VersionMsi = 5.00 Property(S): VersionNT = 603 Property(S): ACTION = INSTALL Property(S): VersionNT64 = 603 Property(S): WindowsBuild = 9600 Property(S): ServicePackLevel = 0 Property(S): ServicePackLevelMinor = 0 Property(S): MsiNTProductType = 3 Property(S): WindowsFolder = C:\windows\ Property(S): WindowsVolume = C:\ Property(S): System64Folder = C:\windows\system32\ Property(S): SystemFolder = C:\windows\SysWOW64\ Property(S): TerminalServer = 1 Property(S): TempFolder = C:\windows\TEMP\ Property(S): ProgramFilesFolder = C:\Program Files (x86)\ Property(S): CommonFilesFolder = C:\Program Files (x86)\Common Files\ Property(S): CommonFiles64Folder = C:\Program Files\Common Files\ Property(S): AppDataFolder = C:\windows\system32\config\systemprofile\AppData\Roaming\ Property(S): FavoritesFolder = C:\windows\system32\config\systemprofile\Favorites\ Property(S): NetHoodFolder = C:\windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Network Shortcuts\ Property(S): PersonalFolder = C:\windows\system32\config\systemprofile\Documents\ Property(S): PrintHoodFolder = C:\windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\ Property(S): RecentFolder = C:\windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Recent\ Property(S): SendToFolder = C:\windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\SendTo\ Property(S): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\ Property(S): CommonAppDataFolder = C:\ProgramData\ Property(S): LocalAppDataFolder = C:\windows\system32\config\systemprofile\AppData\Local\ Property(S): MyPicturesFolder = C:\windows\system32\config\systemprofile\Pictures\ Property(S): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\ Property(S): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\ Property(S): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ Property(S): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\ Property(S): DesktopFolder = C:\Users\Public\Desktop\ Property(S): FontsFolder = C:\windows\Fonts\ Property(S): GPTSupport = 1 Property(S): OLEAdvtSupport = 1 Property(S): ShellAdvtSupport = 1 Property(S): MsiAMD64 = 6 Property(S): Msix64 = 6 Property(S): Intel = 6 Property(S): PhysicalMemory = 6143 Property(S): VirtualMemory = 8646 Property(S): AdminUser = 1 Property(S): MsiTrueAdminUser = 1 Property(S): LogonUser = SYSTEM Property(S): UserLanguageID = 1035 Property(S): ComputerName = EXAMPLE Property(S): SystemLanguageID = 1035 Property(S): ScreenX = 1024 Property(S): ScreenY = 768 Property(S): CaptionHeight = 19 Property(S): BorderTop = 1 Property(S): BorderSide = 1 Property(S): TextHeight = 16 Property(S): TextInternalLeading = 3 Property(S): ColorBits = 32 Property(S): TTCSupport = 1 Property(S): Time = 13.51.14 Property(S): Date = 14.3.2025 Property(S): MsiNetAssemblySupport = 4.8.4161.0 Property(S): MsiWin32AssemblySupport = 6.3.20348.2849 Property(S): RedirectedDllSupport = 2 Property(S): MsiRunningElevated = 1 Property(S): Privileged = 1 Property(S): USERNAME = NNN Property(S): COMPANYNAME = A Company Property(S): DATABASE = C:\windows\Installer\83ece7d4.msi Property(S): OriginalDatabase = C:\windows\ProPatches\Patches\zabbix_agent2-7.0.10-windows-amd64-openssl.msi Property(S): UILevel = 2 Property(S): MIGRATE = {B7F9EF9A-8056-4018-9670-BEB691592422} Property(S): INCLUDE = C:\Program Files\Zabbix Agent 2\zabbix_agent2.d\*.conf Property(S): TLSPSKVALUE_NOTCHECK = 1 MSI (s) (88:44) [13:51:14:833]: Product: Zabbix Agent 2 (64-bit) -- Installation failed.MSI (s) (88:44) [13:51:14:833]: Windows Installer installed the product. Product Name: Zabbix Agent 2 (64-bit). Product Version: 7.0.10.2400. Product Language: 1033. Manufacturer: Zabbix SIA. Installation success or error status: 1603.=== Logging stopped: 14.3.2025 13.51.14 ===