service -Uninstall?

  • Thread starter Thread starter Johan Karl Larsen
  • Start date Start date
J

Johan Karl Larsen

I made a sample service in C++ and installed it with
myservice -Install

Now I want to remove it, tried
myservice -Uninstall

Definitely not working. What is the correct remove option parameter?
 
Johan Karl Larsen said:
I made a sample service in C++ and installed it with
myservice -Install

Now I want to remove it, tried
myservice -Uninstall

Definitely not working. What is the correct remove option parameter?

It might be "Eat at Joe's". :-)

Seriously, it is not the parameter that matters but the code that runs in
response to it.

There is an SDK sample which uses "install", "remove" and "debug" for
installing, uninstalling and debugging services. You might want to try the
remove option.

Regards,
Will
 
There is an SDK sample which uses "install", "remove" and "debug" for
installing, uninstalling and debugging services. You might want to try the
remove option.

Couldn't find it :-(

Anyway, a couple of clicks using another RAD tool, and I had an
uninstallable service with the same name. Problem solved.
 
Couldn't find it :-(

Anyway, a couple of clicks using another RAD tool, and I had an
uninstallable service with the same name. Problem solved.

Looking at the wizard-generated code, you need to do a "<service> -
install -u" to uninstall.

Thanks,
 
Back
Top