In addition to sri_purna's contribution, delete all oracle related files/folders from the registry. Shutdown and restart.