WyUpdate and service dependencies

Hi,

We have an Windows Service installer done with WiX. We need to change the dependencies of our service to include SomeOtherService. No problem with WiX, you just add the <ServiceDependency> tag and this works.

Now, my question is: once we build an update with wyBuild/wyUpdate, does automatically upgraded existing installations also gain this dependency, or do we have to do something to set it?

(This may be a fairly easy question but our resident expert is on vacation).

Thanks!

Hey Jan,

You can do this by executing a batch file in your update. See "How to add dependency on a Windows Service AFTER the service is installed" for what you have to put in the batch file.

Does that make sense?