All, I am aware of the following methods to check the framework version in NSIS. For .NET4.0+ I currently use
Function IsDotNetInstalled StrCpy $0 \"0\
If you're looking for options with .net framework 4.0+ (and above) including
you can also check this plug-in for NSIS: DotNetChecker