Well, it is far from ideal, but you could condition the components of mutually 
exclusive ServiceInstall elements--one with the ServiceDependency and one 
without.
--
John Merryweather Cooper
Senior Software Engineer | Integration Development Group | Enterprise 
Notification Service
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 | 
jocoo...@jackhenry.com


________________________________________
From: Phill Hogland [phogl...@rimage.com]
Sent: Saturday, May 16, 2015 1:35 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] ServiceDependency - conditional?

I am in the process of creating a wix mba/bundle/msi for an existing set of
windows services.  One of the services is a messaging server which the
others connect too.  When all services are installed locally, all is well.
The following ServiceDependency element was used in each ServiceInstall.

<ServiceDependency Id="Srv A" />

However the user has the option to not install the messaging server and
provide connection details for a remote instance of that server.  In this
situation the same MSI packages still have the above ServiceDependency,
which results in an SCM failure.  The ServiceDependency element does not
seem to support an inner text condition.

How does one install a service with a conditional dependency?  Thanks for
the advice.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ServiceDependency-conditional-tp7600342.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to