I have a created a installer using inno setup.This setup install my application as a service .when i am trying to uninstall my application it deletes the folder but i just want it to first search for a particular service and remove it and then procede to delete.
If I recall correctly you can remove a service in by
[UninstallRun]
Filename: {sys}\sc.exe; Parameters: "stop mysrv" ; Flags: runhidden
Filename: {sys}\sc.exe; Parameters: "delete mysrv" ; Flags: runhidden
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments