Archive: Update of CheckDotNET for 4.0?


Update of CheckDotNET for 4.0?
  Hello,

I am using macro CheckDotNET which is great to ensure required .NET is installed. However, it works only up to .NET 3.5.

Is there any update of this macro for .NET 4.0?

Thanks!


Originally posted by Yurik
Hello,

I am using macro CheckDotNET which is great to ensure required .NET is installed. However, it works only up to .NET 3.5.

Is there any update of this macro for .NET 4.0?

Thanks!
DotNetVer.nsh

   ${IfNot} ${HasDotNet4.0}

MessageBox MB_YESNO|MB_ICONQUESTION|MB_TOPMOST
`Your system does not meet minimal requirements (missing Microsoft .NET Framework 4). Continue anyway?` IDYES +2 IDNO 0
abort
${EndIf}