I got this error when I tried to install Oracle XE database.
What happened earlier is that I installed Oracle XE in another drive, but that drive got formatted. So, in the registry, XE is actually considered to be installed but in realty, the installation folder itself got deleted. So, when I tried to install it again, it checks the registry and finds the service to be available, atleast for the name sake.
To validate, you can go to Run --> services.msc
And you'll see OracleServiceXE here. You should remove this entry
Open command prompt and type
sc delete OracleServiceXE
Now, try to install and it gets through. Hope this helps.
What happened earlier is that I installed Oracle XE in another drive, but that drive got formatted. So, in the registry, XE is actually considered to be installed but in realty, the installation folder itself got deleted. So, when I tried to install it again, it checks the registry and finds the service to be available, atleast for the name sake.
To validate, you can go to Run --> services.msc
And you'll see OracleServiceXE here. You should remove this entry
Open command prompt and type
sc delete OracleServiceXE
Now, try to install and it gets through. Hope this helps.