Hi All,
I have an alarm.exe file which should run as a service.This exe file is
dependent on Sql Server service.I use the following code to run this exe as
a windows service
<ServiceInstall Id="SIalarm" DisplayName="Alarm Server" Name="Alarm"
ErrorControl="normal" Start="auto"
Type="ownProcess" Vital="yes"
Description="Allows products to use a variety of media to warn of critical
conditions" >
<ServiceDependency Id="MSSQLSERVER"/>
</ServiceInstall>
The problem i am facing is that the target system can have SQL
Server2005(Service name:MSSQLSERVER) installed or SQL Server express
(Service Name:MSSQL$SQLEXPRESS)installed. So Putting it straight, how shall
i use the <ServiceDependency> tag for appropriate versions of sql server.
Suggestions would be helpful for me to overcome this problem.
Chandan.
--
View this message in context:
http://www.nabble.com/conditional-installation-of-services-tp15158040p15158040.html
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users