Partilhar via


Mailbag: How to install the .NET Framework 2.0 SP1 and 3.0 SP1 on Windows Vista

Question:

I am attempting to figure out how to redistribute the .NET Framework 2.0 SP1 and .NET Framework 3.0 SP1 standalone packages with my application.  As a test, I tried to run both of these redistributable packages on Windows Vista, but the installation processes were blocked and I could not get the .NET Framework 2.0 SP1 or 3.0 SP1 to install them on that OS.  How can I install the .NET Framework 2.0 SP1 and 3.0 SP1 on Windows Vista if they are needed for my application?

Answer:

The standalone redistributable packages for the .NET Framework 2.0 SP1 and 3.0 SP1 only include MSI-based installers.  Because the .NET Framework 2.0 and 3.0 are shipped as OS components on Windows Vista, you cannot install the MSI-based versions of these service packs on Windows Vista.  There are 2 supported ways of getting the .NET Framework 2.0 SP1 and 3.0 SP1 to install on Windows Vista:

  1. Install the .NET Framework 3.5 redistributable package, which will automatically install the .NET Framework 2.0 SP1 and 3.0 SP1 behind the scenes because those service packs are prerequisites for .NET Framework 3.5 setup.
  2. Install Windows Vista SP1, which includes the fixes that are a part of the .NET Framework 2.0 SP1 and 3.0 SP1.

Also note that Windows Server 2008 includes the .NET Framework 2.0 SP1 and 3.0 SP1, so you do not need to install any additional packages in order to get those service packs on Windows Server 2008.

Comments

  • Anonymous
    May 28, 2008
    The comment has been removed

  • Anonymous
    May 28, 2008
    The comment has been removed

  • Anonymous
    June 02, 2008
    What about .NET 2.0SP1 Hotfixes that are available on connect and via the newly added "Hotfix Request System"? The ones on connect still seem to be typical wrappers around msp's, so what gives? Can msp's patch CBS installed packages?

  • Anonymous
    June 02, 2008
    Hi Nwourms - I'm not sure which 2.0 SP1 hotfixes you are referring to.  Could you list the KB numbers associated with them so I can take a look? MSPs can only be used to patch MSI-based installations.  They cannot patch CBS-based installations (like the .NET Framework 2.0 and 3.0 on Windows Vista).

  • Anonymous
    June 07, 2008
    大家大概都知道, Vista 裏面是有尬 .Net Framework 2.0 以及 .Net Framework 3.0 的, 自去年底我們 release 這兩個版本 (2.0/3.0) 的 .Net

  • Anonymous
    June 24, 2008
    Recently, I heard from a customer who could not get the .NET Framework 2.0 SP1 to install correctly on

  • Anonymous
    June 29, 2008
    I want to distribute 2.0 SP1 on XP, I launch it from InstallShield. However, If i lauch setup.exe from my setup i get an error saying another setup is running. I have another setup which does the same but installs 2.0, When i looked at the setup.exe used in the 2.0 distributable its discription says "external Installer". But when i extracted SP1, its setup.exe is not similar. Any pointers?

  • Anonymous
    July 01, 2008
    Hi Gprasadholla - I don't have much experience using InstallShield, so I am not sure exactly how it is launching things such that you're seeing this type of error.  Can you provide more information about your scenario to try to narrow this down further?

  1.  What is the exact setup package you are using for the .NET Framework 2.0 SP1, and where did you download it from?
  2.  Is it being embedded via InstallShield into an MSI or into a separate setup.exe?  .NET Framework 2.0 SP1, 3.0, 3.0 SP1, and 3.5 cannot be embedded into another MSI.  It is technically possible to do so for the original 2.0 release though, so that could be why you're seeing this behavior discrepancy.
  3.  Do you see any errors or warnings in the .NET Framework 2.0 SP1 setup log files to help narrow this down further?  There is a list of log files created by this setup at http://blogs.msdn.com/astebner/archive/2008/04/30/8445569.aspx.
  • Anonymous
    February 21, 2013
    The comment has been removed

  • Anonymous
    February 21, 2013
    Hi Mona - Windows 7 includes the .NET Framework 2.0, 3.0 and 3.5 as a part of the OS.  You can turn the .NET Framework 3.0 and 3.5 on and off in the Windows Features control panel, but the .NET Framework 2.0 is always installed and cannot be turned on or off.  Because of that, there shouldn't be any need for you to install it because it is already there.

  • Anonymous
    February 24, 2013
    yes i know but i still got error .netframwork 2.0 missing and when i try to download it says turn on the feature which already turned on ....NFW 3.5 sp1 having all pacckages but its not working is there any way to add manualy 2.0 ?

  • Anonymous
    February 24, 2013
    Hi Mona - If you are getting that type of error on Windows 7, it usually means one of the following things:

  1.  The program you are trying to install or use is not correctly detecting the .NET Framework 2.0.  There are some applications that are not compatibly with Windows 7 that can cause this type of error, and if this is the case, I'd suggest looking on the website for the application's manufacturer to see if they have any known issues related to Windows 7, and if so, whether or not they have released a new version of the application that is compatible with Windows 7.
  2.  One of the registry keys or files used to detect the .NET Framework 2.0 is missing.  You can check this by running another .NET application (such as mmc.exe or Windows Media Center) on your Windows 7 computer to see if it is able to run correctly.  If all .NET applications fail in the same way, then you will likely need to repair Windows in order to get it to repair the .NET Framework 2.0 (because there isn't a way to repair/re-install the .NET Framework 2.0 separately from Windows 7).
  • Anonymous
    October 10, 2013
    thanks