Looking at the definition for ServiceInstall, you have to have the File
element in the same component. So, that limits you. Otherwise you'd be able
to put the File in one component and maybe reference it by two different
ServiceInstalls. Alas.

I've done something that may be similar to what you're doing. I've used the
same file for two different services by adding a post-build step to my
Visual Studio project. I copied the .exe to the output folder twice, with
two different names. That way I could deploy it as if it was two different
files, but both using the same code base.  


--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-multiple-services-using-single-ServiceHost-exe-tp7579407p7579414.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