-1 is also a success for service uninstall

tags/wpkg-zabbix_agent-3.4.3-0.beta1 3.0.4_el5
Daniel Berteaud 8 years ago
parent f9f83368f4
commit 25fe45916f
  1. 3
      packages/zabbix_agent.xml

@ -2,7 +2,7 @@
<packages> <packages>
<package id="zabbix_agent" <package id="zabbix_agent"
name="Agent de supervision Zabbix" name="Agent de supervision Zabbix"
revision="24" revision="25"
priority="10"> priority="10">
<variable name="PKG_VERSION" value="3.0.4" /> <variable name="PKG_VERSION" value="3.0.4" />
@ -25,6 +25,7 @@
<upgrade cmd='"%PROGRAMFILES%\Zabbix Agent\zabbix_agentd.exe" -c "%PROGRAMFILES%\Zabbix Agent\zabbix_agentd.conf" --uninstall'> <upgrade cmd='"%PROGRAMFILES%\Zabbix Agent\zabbix_agentd.exe" -c "%PROGRAMFILES%\Zabbix Agent\zabbix_agentd.conf" --uninstall'>
<exit code="1" /> <exit code="1" />
<exit code="0" /> <exit code="0" />
<exit code="-1" />
</upgrade> </upgrade>
<upgrade cmd='netsh advfirewall firewall del rule name="Zabbix Agent"'> <upgrade cmd='netsh advfirewall firewall del rule name="Zabbix Agent"'>
<exit code="any" /> <exit code="any" />

Loading…
Cancel
Save