When i try to uninstall my application, it gives error that there are services running!
I want the services installed by Services on Resources to be removed as a first step when i uninstall the application.
Can you please make sure that the operations for the service upon uninstalling your product are "Stop" and "Delete" ? You can do this by going to "Services" page and under "Control Operations" check the Actions taken upon uninstalling the product. Also, please make sure that the "Wait until the service completes" option is ticked.
If this is of no help, you can use our predefined "DetectSercice" and "StopService" custom action to manually stop the service before uninstalling. Also, please keep in mind that you have to place these custom actions before "Remove Resources" action group.