I guess you need to check permissions of the user starting the installation procedure. Probably this user does not have enough permissions to access windows services.
If you installed TeamCity from .exe file then you can invoke uninstaller from the Windows Control Panel. If you can't do this you can simply remove TeamCity directory, but if agent is installed within TeamCity dir you should not remove buildAgent/conf and buildAgent/work directories.
TeamCity no longer appears in control panel-> remove programs nor does it appear in programs menu under start. The directories do still exist and the buildagent and webserver services are still in the services.
Ok, I backed up the buildagent and removed the entire TeamCity directory. Install was successful. I did not replace the new buildagent folder but everything seems to be working fine. Nothing has been built yet.
I guess you need to check permissions of the user starting the installation procedure. Probably this user does not have enough permissions to access windows services.
Ok, so once I've done that I'm also getting a message when trying to re-run the installation:
Unable to uninstall previous version of TeamCity. Please uninstall it manually and restart this installation.
What is involved in manually uninstalling the program?
If you installed TeamCity from .exe file then you can invoke uninstaller from the Windows Control Panel. If you can't do this you can simply remove TeamCity directory, but if agent is installed within TeamCity dir you should not remove buildAgent/conf and buildAgent/work directories.
TeamCity no longer appears in control panel-> remove programs nor does it appear in programs menu under start.
The directories do still exist and the buildagent and webserver services are still in the services.
Then you can remove TeamCity installation directory as I suggested in the previous message.
Ok, I backed up the buildagent and removed the entire TeamCity directory. Install was successful. I did not replace the new buildagent folder but everything seems to be working fine. Nothing has been built yet.