You can write your own application that queries the registry, gets the ORACLE_HOME parameter and remove the files and the registry entries from the file system and registry.

Cheers.