Testing if .NET framework installed
What's the most straightforward method for testing for installation of the correct version of the .NET framework?
I have an app I'm working on that requires the 2.x framework. If it's not installed , I'd like the program to gracefully and silently exit rather than popping up the error box.
It would be nice if it could also notify me of the error -- perhaps exiting with a unique errorlevel that I could test for in the script that will run the app.