View Full Version : Get System Info (.NET Status) Incorrect (only 4.0)
Gwo Tang
07-31-2015, 06:03 PM
Hello,
My computer installed version number is 4.0.30319, but after the execution has shown 4.5.51209.
3876
3877
3878
linder
08-01-2015, 01:56 AM
Hello,
What do you see in the following HKEY_LOCAL_MACHINE registry keys?
Software\Microsoft\NET Framework Setup\NDP\\v4\Client : "Install" Value Name
Software\Microsoft\NET Framework Setup\NDP\\v4\Full : "Install" Value Name
Software\Microsoft\NET Framework Setup\NDP\\v4\Client : "Version" Value Name
Software\Microsoft\NET Framework Setup\NDP\\v4\Client : "SP" Value Name
Software\Microsoft\NET Framework Setup\NDP\\v4\Full" : "Release" Value Name
There you'll find the installer NET Framework version number. In your case it is 4.5.51209
Friedrich
Gwo Tang
08-01-2015, 04:23 PM
Hello,
You're right, but I expect it will return the correct version number, just want to know if it is already has a 4.0 environment.
Meaning return value and special keywords do not match. ($NET_FRAMEWORK_40$ != $NET_FRAMEWORK_45$)
3884
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msco rlib.dll
3885
linder
08-02-2015, 02:01 AM
Hello,
Okay, 4.0.30319.34209 is .NET 4.5.2 and so you expect a return value of "0" for your $NET_FRAMEWORK_40$ check, correct?
But .NET 4.5 "replaces" .NET 4.0 so a return value of "1" makes sense here (IMO). When you install .NET 4.5 your .NET 4.0 assemblies in the \Windows\.NET Framework\V4.0.30319 are overwritten with a new set of assemblies (from the 4.5.51209 Framework).
Friedrich
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.