Hi all,

i want to create a msi package with a daemon / service configuration,
but the installation of the service fails. To be more clear, the files
are copied to the right place and even the firewall rules are working.
But the service ... no chance. I tested the msi package in XP SP3,
Server 2003 and Server 2008. Everywhere the package installs the files
and the firewall rules, but not setup the service.
Can please someone give me hint, whats it's missing?
Regards,

Alexander


Here is a snippet of the .wxs file

<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
xmlns:fire="http://schemas.microsoft.com/wix/FirewallExtension";
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>
[...]
<Directory Id="TARGETDIR" Name="SourceDir">
 <Directory Id="ProgramFilesFolder" Name="PFiles">
  <Directory Id="ZABBIXDIR" Name="Zabbix">

   <Component Id="ZabbixDaemon"
   Guid="990fb5e8-2e00-4ce1-afab-edf972930707" KeyPath="yes"> <File
   Id="ZabbixAgentDaemon" Name="zabbix_agentd.exe" DiskId="1"
   Source="Dateien\win32\zabbix_agentd.exe" /> <ServiceInstall
   Id="ZabbixService" Name="Zabbix Monitoring" Type="ownProcess"
   Interactive="no" Vital="no" Start="auto" ErrorControl="normal"
   Arguments="[ZABBIXDIR]/zabbix_agentd.conf" /> <ServiceControl
   Id="ZabbixServiceController" Name="Zabbix Monitoring"
   Start="install" Stop="both" Remove="uninstall" Wait="no" />

     <fire:FirewallException IgnoreFailure="yes" Id="ZabbixAgentFWX"
     Name="Zabbix Agent" Profile="all" Protocol="tcp" Port="10050">
     <fire:RemoteAddress>w.x.y.z</fire:RemoteAddress>
     <fire:RemoteAddress>w.x.y.z</fire:RemoteAddress>
     <fire:RemoteAddress>w.x.y.z</fire:RemoteAddress>
     <fire:RemoteAddress>w.x.y.z</fire:RemoteAddress>
     </fire:FirewallException> </Component>
[...]



and this is the content of the .bat file with the commands how i build
the package:

set WIX_BIN_PATH="C:\Programme\Windows Installer XML v3.5\bin"
%WIX_BIN_PATH%\candle.exe -ext "C:\Programme\Windows Installer XML
v3.5\bin\WixUIExtension.dll" -ext "C:\Programme\Windows Installer XML
v3.5\bin\WixUtilExtension.dll" -ext "C:\Programme\Windows Installer XML
v3.5\bin\WixFirewallExtension.dll" zabbix-win32.wxs
%WIX_BIN_PATH%\light.exe -ext WixUIExtension -ext WixUtilExtension -ext
WixFirewallExtension zabbix-win32.wixobj

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to