Another try at fixing Zabbix agent upgrades

tags/wpkg-zabbix_agent-3.4.3-0.beta1
Daniel Berteaud 8 years ago
parent 2749432e4d
commit 54e4862515
  1. 12
      packages/zabbix_agent.xml

@ -17,11 +17,17 @@
<exit code="any" />
</install>
<upgrade include="remove" />
<upgrade cmd='%COMSPEC% /C sc stop "Zabbix Agent"'>
<exit code="any" />
</upgrade>
<upgrade cmd='"%PROGRAMFILES%\Zabbix Agent\zabbix_agentd.exe" -c "%PROGRAMFILES%\Zabbix Agent\zabbix_agentd.conf" --uninstall'>
<exit code="1" />
<exit code="0" />
</upgrade>
<upgrade cmd='netsh advfirewall firewall del rule name="Zabbix Agent"' />
<upgrade include="install" />
<downgrade include="remove" />
<downgrade include="install" />
<downgrade include="upgrade" />
<remove cmd='%COMSPEC% /C sc stop "Zabbix Agent"'>
<exit code="any" />

Loading…
Cancel
Save