The only problem with that is on the servers that I've spot checked, the version of SQL that I found in the registry does not match up exactly with what is returned if you execute Code:
select @@version

from query analyzer.