check for .NET 4 Client or Full profile

fixes #5224
Merge pull request #5231 from Mailaender/nsis-dotnet4

Fixed the .NET version check failing