Check to see if .net 2.0 or higher is installed

I am writing a bootstrapper and i need it to check if .net 2.0 or higher is installed. I had written one that checked registry values but when i tried it on a box without admin..it crapped out. any ideas?
Topic archived. No new replies allowed.