I offered a software where .NET 4.0 is needed and promised, that Windows 7 already comes with this framework. If not, user can use the integrated "Windows Update" function to install the framework. My client said to me there is no Framework on Windows 7 Professional installed already. Do anyone know details about the situation of Windows 7 and if there is an option to install by using Update function of Windows 7?

Regards

link|improve this question

67% accept rate
It is installed by default. It can be removed. Have your client install it. – Ramhound Jun 16 '11 at 12:43
1  
@Ramhound - your comment conflicts with top voted answer below – mindless.panda Jun 16 '11 at 12:56
feedback

2 Answers

up vote 7 down vote accepted

Windows 7 does not come with .NET 4 preloaded, but if you run Windows Update to get it up to date, it will be installed.

UPDATE:

Checking my update history over again, and yes it's offered as an update, but only after I updated the computer to SP1.

enter image description here

link|improve this answer
thanks for your answer. The answer from SkyBeam says, that only 3.5 will be installed and 4.0 needs to be installed manually. are you 100% sure 4.0 comes with updates? – Nasenbaer Jun 16 '11 at 12:56
The attached picture in the answer shows that it comes as an update, but only after I installed SP1, which may be the case for other Windows 7 computers as well. – Thiago M. Jun 16 '11 at 13:08
1  
I can confirm that .NET framework 4 comes with updates. But maybe not with the first bunch of updates. For me it required about 3 reboots and 4 WU cycles to make it show up (fresh Win7 installation with SP1 integrated into setup media). The hint about SP1 might be important too. SP1 is still not applied on all Win7 nodes and therefore .NET 4 might not be deployed on a wide user base. I would recommend to bundle an application requiring it with the .NET 4 client profile redistribution package. – SkyBeam Jun 16 '11 at 13:33
Thanks a lot. Now there is no more confusion on my side! Great! – Nasenbaer Jun 16 '11 at 14:01
feedback

Windows 7 (SP1) comes with the following .NET frameworks 1.0, 1.1, 2.0, 3.0 and 3.5 support AFAIK. If you need .NET Framework 4.0 support then your clients need to download the at least Microsoft .NET Framework 4 client profile.

I have just verified Windows update on a clean Windows 7 Home Premium installation. Directly after installation Windows Update offers a security Update for .NET Framework 3.5.1. But no .NET Framework 4.0 is offered by Windows update at first run of WU. I am going to install the patches provided first and then report if .NET Framework 4.0 is offered at a later stage.

Update: Just entered the second update round on my VM and now I am offered 6 important updates only. Still no .NET framework 4.

Update 2: I just had to do another 2 rounds of Windows Updates and now "Microsoft .NET Framework 4 Client Profile for Windows 7" is provided through Windows Update.

So yes, it seems to be automatically deployed if WU is enabled. Either you need to make sure really all updates are applied or you just go for the download link provided above.

link|improve this answer
After a few update sequences, I had .NET 4.0 in my update history. So I guess you need to run Windows Update a few times. – Thiago M. Jun 16 '11 at 12:49
You could be right. I am using a softwrae deployment system which assures that .NET framework 4 is deployed to my clients. But I think you're right that after some update sessions it gets offered. I am just about to verify it. At least on first WU run it did not show up yet. – SkyBeam Jun 16 '11 at 12:53
I checked my update history again, it came only after I installed SP1. – Thiago M. Jun 16 '11 at 13:15
Good point about SP1, rewarded it by voting your answer. – SkyBeam Jun 16 '11 at 13:34
3  
1.0 and 1.1 are not installed on Windows 7. 1.x apps can be run on the 2.0 runtime, and most do without issue. However, there were breaking API changes between 1.x and 2.0, and 1.x apps can trip over the behavioral changes. That said, .NET 1.x apps are very rare. – afrazier Jun 16 '11 at 13:39
show 1 more comment
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.