Uninstall Services and background application
i have 2 program. 1 is services application and the other is an application that run on background (no window/ form). i can create installation program and it work fine.
but when i try to uninstall it, it fail and i think the proble is:
1. form my formless application, it still running but no one can see it or close it except to terminate it from task manager. is there a way to close my application with nsis?
2. for services application it the same because it still running. the problem is i even cannot stop my services manualy from windows services. if it my code, it work fine if i install it manualy from dos (<service name> /install).
i use this code to install on nsis
SimpleSC::InstallService "myservice" "myservice" "16" "2" "$INSTDIR\myservice.exe" "" "" ""
and us this code to uninstall it
SimpleSC::StopService "myservices" 1 30
SimpleSC::RemoveService "ESysDPSTD"