View Full Version : Service Control and the Component Wizard

09-14-2010, 07:58 AM

In my aim to stop and start the World Wide Web Publishing service during my install, I used the component wizard to set up a service control component for W3SVC. I selected the stop and start actions for both install and uninstall. However, I noticed in the designer that this component got created with 2 service events: NewEvent1 to handle the Install Stop/Start and NewEvent2 to handle the Uninstall Stop/Start.

I was just curious if there was any particular reason that the wizard splits the events this way? Is there anything wrong with a single event with the 4 values set to "Yes" (i.e. a single entry in the ServiceControl table as opposed to 2)?

Thanks much!


09-17-2010, 05:55 PM
I think the Component Wizard just wants to create new components; from memory I'm not aware of a specific need to split the service events into two components.