How to delete a service upon uninstall?

Article:HOWTO6496  |  Created: 2005-10-19  |  Updated: 2009-06-16  |  Article URL http://www.symantec.com/docs/HOWTO6496
Article Type
How To



Question
How do I delete a service on the uninstall of my .MSI application?

Answer
To delete a service upon uninstall add two service controls that first stops the service and one that deletes the service on the Services page in Installation Expert.

Note: To both stop and delete a service, do not mark both the Stop Service and Delete Service checkboxes in the same control service action; instead, create two control service actions. On the first control service action, mark Stop Service and Wait for service action to complete before continuing. On the second control service action, mark Delete Service. This ensures that the service is completely stopped before the installation attempts to remove it.


Legacy ID



3215


Article URL http://www.symantec.com/docs/HOWTO6496


Terms of use for this information are found in Legal Notices