Removing Applications With Finder

Im making an updater app that needs to be able to remove the older version of my app. But it could be hidden anywhere in any folder of the home folder.
All i can think of is this:

tell application "Finder"
	delete (every file of (every folder in home folder) whose name is "")
end tell

THANKS if you can help!


try this

do shell script "rm -r " & quoted form of POSIX path of (path to application "Tune-O-Matic")