My applications installer offers the user the ability to run the application as a service through use of the srvany.exe application. To remove the application on uninstall, I've been using the application instsrv.exe with the following command:
instsrv "myservice" REMOVE
On Windows Server 2003, I encounter error 1783.
Any ideas on what is causing this problem? Am I using the wrong approach for Win2k3?
I tried the same with Rk-Tools 2003 and 2000 and I get the same error both times. But after removing the registry-parameters manually after the next reboot the services (I tried out several constellations) were gone. Please think about stopping the service before(!) you're gonna delete the registry-entries, because otherwise the service will not accept any further commands. Maybe this will help you.