ILearnable .Net

September 2, 2011

The specified service has been marked for deletion

Filed under: Uncategorized — andreakn @ 11:50
After stopping a windows service (.Net 3.5) through the GUI, I uninstalled it using installutil.exe (commandline), then I tried to install the same service using a newer version of the framework (.Net 4.0). No such luck.
“The specified service has been marked for deletion”
Turns out that the GUI stillĀ holds a reference to the service even though it’s technically uninstalled, so I needed to shut down the windows service GUI window, then I could reinstall the service.

Blog at