[wix-users] [wix-users[ ServiceControl question...

Lewis Henderson henderso at opentext.com
Wed Mar 30 06:44:34 PDT 2016

Hi Guys,

I have a question about the ServiceControl element.  When you have Start="install" and Stop="both", does the service get stopped first, then restarted for the install case?

Let me clarify the situation.  I have a product install that has four features, all of which reference an apache-tomcat installation (and service).  Each of the features may be installed independently, so a maintenance install may come around and add or remove a feature at a later time.  In that case, I need to 1) stop the tomcat service, 2) add or remove the selected feature, and 3) restart tomcat if any of the features are left.

What ServiceControl settings (if any) will do this?  Maybe Start='both" as well?   BTW, I have Remove="uninstall" and Wait="yes" specified.  If ServiceControl can't handle it, how do I make it work?

Thanks for the information.

                                                                Lewis Henderson
                                                                OpenText, Inc.

More information about the wix-users mailing list