.Net Framework 2.0
In NSIS How do I check if .Net 2.0 is installed on the machine?
I want to show user error if .Net is not installed at all.
If any earlier .Net framework is installed I want to show some error 1 saying "Please Install .Net 2.0".
If any newer versions are installed then I want to show some error 2 saying "Current product is supported on .Net 2.0 only. You have higher version of .Net Framework installed."
I have one script which checks the registery to see if .Net is installed. But it doen't see if any higher or lower versions are installed.
Can somebody help me out here?
-Saurabh