다음을 통해 공유


How to create an installable layout for the final release of the .NET Framework 3.5

Back when the .NET Framework 3.5 beta 2 was released, I posted this item on my blog describing how to download the individual pieces of the .NET Framework 3.5 beta 2 in order to create an installable layout that can be used to create an installer that includes the .NET Framework 3.5 or for network deployment.  If you have looked at those instructions, you'll notice how long, tedious and potentially error-prone they are.

Fortunately, as Bret Grinslade noted in this blog post, in the final release of the .NET Framework 3.5, a new package is available for download that includes all of the pieces of the .NET Framework 3.5 so that you no longer need to download the pieces individually in order to assemble an installable layout.

The combined installation package for the .NET Framework is available for download at https://download.microsoft.com/download/6/0/f/60fc5854-3cb8-4892-b6db-bd4f42510f28/dotnetfx35.exe.

After downloading this package, you can extract the contents by running dotnetfx35.exe /x and it will prompt you with a location to extract the contents to.  From there, you can trim down the installer payload if appropriate in your deployment scenario in the following ways:

  • If you do not plan to support installing on Windows Vista at all or plan to require Windows Vista SP1 in your scenarios (which will include the .NET Framework 2.0 SP1 and 3.0 SP1 so they do not have to be installed separately), you can remove the MSU files in the dotNetMSP folder
  • If you only plan to support installing on Windows Vista or later, you can remove the dotNetFX20 and dotNetFX30 folders.  These folders contain the .NET Framework 2.0 SP1 and .NET Framework 3.0 SP1 packages that are used on Windows XP and Windows Server 2003
  • If you plan to only support specific processor architecture(s), you can remove the appropriate payload for the processor architectures you do not plan to support (ia64, x64 or x86)

Now you can run dotnetfx35setup.exe from the extracted folder to start installing the .NET Framework 3.5.

One important note - if you decide to optimize your installer payload using any of the suggestions above, and it turns out that you over-optimized and setup really does need one of the packages that you deleted from the extracted folder, then .NET Framework 3.5 setup will attempt to automatically download the package for you if you have a live Internet connection during setup.  If it needs to download a package and the system does not have a live Internet connection, then .NET Framework 3.5 setup will fail to install.

Comments

  • Anonymous
    December 03, 2007
    Hello Aaaron, that is nice to know. But what I am missing is a complete download for .NET 3.0 SP1. We are using .NET 3.0 on XPE (Embedded Systems without Internet connection ) In order to service those systems a download file is needed. Do you if this is planned ?

  • Anonymous
    December 04, 2007
    The comment has been removed

  • Anonymous
    December 04, 2007
    Hi Martin - I'm not sure if this is planned or not.  In the meantime, you can extract the 3.0 SP1 bits out of the 3.5 package.  I will also create a blog post soon that describes how to assemble a 3.0 SP1 package using the standalone web download bootstrapper located at http://www.microsoft.com/downloads/details.aspx?FamilyId=EC2CA85D-B255-4425-9E65-1E88A0BDB72A.

  • Anonymous
    December 04, 2007
    The comment has been removed

  • Anonymous
    December 07, 2007
    The .NET Framework 3.5 is packaged as a core package that includes language-neutral binaries and English

  • Anonymous
    December 07, 2007
    PingBack from http://msdnrss.thecoderblogs.com/2007/12/07/possible-net-framework-35-installation-warnings-on-non-english-operating-systems/

  • Anonymous
    December 07, 2007
    The .NET Framework 3.5 is packaged as a core package that includes language-neutral binaries and English

  • Anonymous
    December 07, 2007
    Yes but that web download bootstrapper isn't exactly helpful for deployment purposes when you don't have always on internet connections.

  • Anonymous
    December 10, 2007
    Hi Someone - Yes, that is correct.  The web download bootstrapper may require Internet connectivity.  If you are looking to minimize the size of the .NET Framework 3.5 setup package and also not require Internet connectivity, then you can use some of the suggestions that I listed above in the main text of this blog post (such as not carrying the ia64/x64 payload, not carrying Windows Vista payload, not carrying downlevel OS payload, etc)

  • Anonymous
    December 14, 2007
    A couple of weeks ago, I posted some notes about creating an installable layout for the .NET Framework

  • Anonymous
    December 14, 2007
    A couple of weeks ago, I posted some notes about creating an installable layout for the .NET Framework

  • Anonymous
    December 14, 2007
    PingBack from http://msdnrss.thecoderblogs.com/2007/12/15/how-to-create-an-installable-layout-for-the-net-framework-30-sp1/

  • Anonymous
    January 10, 2008
    Question: When the .NET Framework 3.0 shipped, 3 packages were made available for download - a 2.8 megabyte

  • Anonymous
    January 10, 2008
    Question: When the .NET Framework 3.0 shipped, 3 packages were made available for download - a 2.8 megabyte

  • Anonymous
    January 10, 2008
    PingBack from http://msdnrss.thecoderblogs.com/2008/01/11/

  • Anonymous
    January 21, 2008
    A little while ago, I posted this item on my blog that describes a potential issue when installing the

  • Anonymous
    January 21, 2008
    A little while ago, I posted this item on my blog that describes a potential issue when installing the

  • Anonymous
    April 28, 2008
    Is it possible to generate a log from dotnetfx35setup.exe? tried /l*v <log file> no joy.  Any suggestions?

  • Anonymous
    April 29, 2008
    Hi GHardie - As I described in the blog post at http://blogs.msdn.com/astebner/archive/2008/02/27/7927123.aspx, the .NET Framework 3.5 setup creates its own set of verbose logs by default, so there is no need to pass any additional logging switches or set any of the standard Windows Installer logging policies. You should be able to find the logs from this setup by using the list at http://blogs.msdn.com/astebner/archive/2007/07/31/4156781.aspx. Hopefully this helps.

  • Anonymous
    May 13, 2008
    PingBack from http://www.itwriting.com/blog/?p=620

  • Anonymous
    July 17, 2008
    The setup program for the .NET Framework 3.5 and the Visual Studio 2008 Express Editions contains logic

  • Anonymous
    August 23, 2008
    PingBack from http://www.hanselman.com/blog/SmallestDotNetOnTheSizeOfTheNETFramework.aspx

  • Anonymous
    August 23, 2008
    There&#39;s been some confusion about the size of the .NET Framework. The .NET Framework is not really

  • Anonymous
    August 23, 2008
    There's been some confusion about the size of the .NET Framework. The .NET Framework is not really a

  • Anonymous
    June 25, 2009
    PingBack from http://radonr.jyartonline.com/2009/06/25/installing-net-35-framework-without-internet/

  • Anonymous
    April 06, 2016
    The comment has been removed