10

Wikipedia provides short and long lists of the default versions of the .NET framework on various versions of Windows. Are any of these upgraded automatically through Windows Update?

I understand that Windows XP does not provide any version of the .NET framework, even in SP3, and that Windows Update will not install it. However, if .NET is installed, will Windows Update ever automatically update .NET to another major version number (say version 1 → 2 or 3 → 3.5)?

5 Answers 5

8

Minor bugfix updates are pushed out automatically.

Major version updates to the CLR (nothing → 1.0, 1.0 → 1.1, 1.1 → 2 (which includes 3 and 3.5), 2 → 4) are available as optional updates. You can go in and select them in Windows Update, but they are not installed by default.

6
  • 1
    Not quite true, I thought that there were a few that would be automatically done if you had your windows update set to auto. For instance, the 3.5sp1 update was automatic to anyone who had installed 2 or higher
    – Alex
    Jun 29, 2011 at 0:34
  • @Alex: That's not the behavior I've seen before. I will of course nuke this if I am incorrect but I'm basing this off what I've seen real machines do Jun 29, 2011 at 0:35
  • Go ahead and nuke it. Jun 29, 2011 at 1:04
  • @Hans: Okay, I would have been happier with a reference with more proof, but as two have already commented against it I changed it. Jun 29, 2011 at 1:25
  • @Alex @Hans: do you have a reference?
    – Casebash
    Jun 29, 2011 at 3:54
5

I am trying to determine the minimum version of .NET is that I can expect to find on client machines

As Raymond Chen points out, Windows is not a .NET Framework delivery channel. At a minimum, you can expect no .NET Framework.

If you're developing a program that uses the .NET Framework, you have to have a backup plan if the version of the .NET Framework you need is not installed on the computer.

...

Windows XP didn't come with any version of the .NET Framework. Windows Vista came with version 2, and Windows 7 came with version 3.5, but these were provided as optional components which were installed by default. You can go into the Programs and Features control panel to remove them.

Emphasis mine :)

4
  • I know that XP doesn't have to have .NET installed, but I was curious as to whether if it was installed, whether Microsoft would automatically update you to a particular version
    – Casebash
    Jun 29, 2011 at 6:00
  • 1
    What does it matter if they do or don't? You're not guaranteed to have any minimum version on there. Jun 29, 2011 at 6:01
  • 1
    So that we have some idea of how many of our users would have to wait for our installer to upgrade .NET
    – Casebash
    Jun 29, 2011 at 6:05
  • Vista comes with 3.0 (This implicitly means it also has 2.0 as well, as they share a common CLR.)
    – Andy
    Jul 7, 2011 at 20:38
3
+50

Windows Update will always supply security updates and service packs for installed .NET Frameworks. This is particularly true for versions of the .NET Framework which are automatically installed on more recent versions of the operating system (Vista and 7).

If you configure Windows Update to use Microsoft Update instead of just Windows Update in Windows XP, or, if you're using Vista or 7 if you configure Windows Update to receive updates "For Windows and other products from Microsoft Update" then the .NET Frameworks which are not installed will be offered under "Optional Updates".

I always have Windows Update configured for Microsoft Updates (this allows you to get updates for Office, for example) so I'm not sure if you must be in the MU channel for non-security updates to the .NET Frameworks. Non-security updates are, unsurprisingly, listed simply as "Updates" rather than "Security updates".

3

As far as I know, there is no fixed rule about .NET versions, and there is no way to find out which version to expect on a client machine.

The minimal version number to expect can be the one that was installed with Windows by default: None for Windows XP, 2 for Windows Vista, and 3.5 for Windows 7. But these are optional components which can be uninstalled.

As a recent example, take .NET 4:

.NET Framework 4 Client Profile is released as a recommended update on Windows Vista and Windows 7 (automatically installed depending on the Automatic Update settings of the computer). Also released as an optional update for Windows XP, so one has to manually run Windows Update and select it, and the same goes for Windows Server 2003, Windows Server 2008 and Windows Server 2008 R2.

Conclusion: There are no rules, and the results vary for each .NET version and then again for each Windows flavor. Better not look for any persistent logic in the decisions of the Windows Update team at Microsoft, and expect anything and nothing on the client computer.

2

All major versions of the .NET framework can be installed concurrently, so even if it did update from 2.0 to a new version (which it will offer to do on a Server 2008 server), any existing 2.0 applications will continue running without issue. This should not break any existing software using older versions.

All the bits get their own folders in c:\windows\microsoft.net\frames\vVERSION

Source: I work with software that requires all 4 major .NET versions.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .