Hi all,
Using Wix3, its trivial to ensure that a windows service being installed is given a dependency on a service that is already installed on the target machine, but I need to do the opposite - i.e. as part of my install I need to modify the service dependencies of an existing service (i.e. already installed on the target machine), to ensure that that service is dependent on the service I am installing.
Is there a simple way to do this using WiX? or will I need to write a custom action?
Edit - The scenario is around a custom Windows Service that MS Office Communications Server will dispatch messages to. Once OCS is configured to dispatch to that service (and it is marked as a critical service) then that service must be up and running in order for the OCS service to start. So we need the dependency there to ensure our service starts before OCS, and we would usually add the dependency by hand following installation.
I know, it makes me shudder too.
Many thanks,
Paul