Search code examples
visual-studiovisual-studio-setup-proje

Service not removed after uninstall the application


I have created the setup of window form application using visual studio setup project. It install fine and works fine my application.

But when i uninstall the application it uninstall properly without any error, but the service of the application does not remove from services.

I don't know why this happens.

Please somebody help me. thank you in advance.


Solution

  • I have a same issue in my application.

    I just add the window restart code in installer class, so when i uninstall the application system restarts and application process & service both have removed.