uninstall a service

You have trouble using InstallForge? Then this is the right place for you.

Posts: 1
Joined: Mon Oct 16, 2017 11:00 am

uninstall a service

Postby rboersma » Mon Oct 16, 2017 11:25 am

Hi all,

I created a simple package that installs a windows service. Works fine!
Now i'd like to uninstall the package. But before it can be uninstalled i need to stop and remove the windows service first. How do I handle that?

best regards,

Posts: 14
Joined: Sat Nov 21, 2015 2:02 am

Re: uninstall a service

Postby OldNESJunkie » Wed Nov 01, 2017 1:41 pm

You would have to run the following commands at uninstall:

sc stop 'Service name"
sc delete "Service name"

I haven't used IF for a bit so I cannot remember if you can run commands at uninstall for sure.... :oops:

Who is online

Users browsing this forum: No registered users and 1 guest