Take a look at the ServiceDependency element (child of ServiceInstall).

Note: I think there is a bug in Windows Installer (not WiX) that mean
the ServiceControl table only reads the first row so it is not possible
to control more than one service in an MSI. I think there is some
service control in this extension that may help
http://codeplex.codeplex.com/.

Neil

-----Original Message-----
From: Andy2k8 [mailto:appr...@gmail.com] 
Sent: 23 November 2009 17:10
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] ServiceDependency and InstallUtil


I have 2 services. An unmanaged VC++ service and a .NET service.
I use <serviceinstall/> and <servicecontrol/> to handle the unmanaged
service and 
InstallUtil CA to install the .NET service.

How do i set the .NET service dependency to VC++ service in this
scenario??

 Can i do it from WiX?? Or should i be handling the dependency from the
.NET
service code??



-----
Andy
MSI Developer
Schneider Electric:working:
-- 
View this message in context:
http://n2.nabble.com/ServiceDependency-and-InstallUtil-tp4052463p4052463
.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day 
trial. Simplify your report design, integration and deployment - and
focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to