Page 1 of 1

uninstall a service

Posted: 16 Oct 2017, 11:25
by rboersma
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,
Ruud.

Re: uninstall a service

Posted: 01 Nov 2017, 13:41
by OldNESJunkie
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: