How do I delete a service on the uninstall of my .MSI application?
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.