Hello everyone,

our product contains multiple services and all use the same .exe file and
differ only via their name and command line, where a DLL name is passed that
contains the real service code. So the exe file is more or less a reusable
framework much like svchost.exe and distinct service functionality is
implemented in DLLs. Is it possible to use the WiX ServiceInstall element to
install multiple such services from one WiX script or is this simply
impossible and I have to resort to a custom action? As far as I see, the
File element whose Keypath is set to 'Yes' within the component where the
ServiceInstall element resides, is considered the BinaryPath of the service.
In my case however, this file element would be the same for different
services/components and even worse, other installs that we are about to
write in the future will use the same exe file as well so ideally it would
be in one component that we reuse across installs.

Any help appreciated,

-- 
Stefan Kuhr


--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Using-the-same-exe-file-for-different-services-in-one-MSI-tp6520212p6520212.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to