The docs for the ServiceDependency Element say:

Id: The value of this attribute should be one of the following: 
1. The name (not the display name) of a previously installed service.
*2. A foreign key referring to another ServiceInstall/@Id.*
3. A group of services (in which case the Group attribute should be set to
'yes').


I tried to follow number two, and entered the Id of the ServiceInstall
element (in same wxs file) that this one should depend on.  The problem is,
that Id itself ended up in the MSI rather than the associated service Name. 
This breaks the dependency on the user machine.  Both the services install. 
I'm using Wix 3.6.

Am I totally missing something here? ;)

Thanks for the help,

- John Burak

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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to