I made a windows service in C#. I add an installer class and the windows service worked well.
I was installing and uninstalling my window service and every thing was good. Then I added a description in the installer class.
I ran installutil to uninstall my service, I thought that the service was uninstalled and replace my old .exe service for the new one.
When i tried to install again the service it showed me this error message:
- The specified service has been marked for deletion.
And I could't install the service again .
The problem is that now,when I run installutil.exe /u it shows me this error message:
-The savedState dictionary contains inconsistent data and might have been corrupted.
So I'm not able to install or uninstall the service.
There is a way to delete manually the service. Maybe editing the registry with regedit and/or deleting some files.
I'll thanks any help