Page 1 of 1

uninstall a service

Posted: Mon Oct 16, 2017 11:25 am
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: Wed Nov 01, 2017 1:41 pm
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: