Skip to content

Install .Net 3.5

EdVassie edited this page Nov 10, 2021 · 11 revisions
Previous Install .Net 2.0 Manual Install Install IIS Next

FineBuild can install and configure .Net 3.5 as part of the SQL Server install process.

All versions of SQL Server between SQL2005 and SQL2017 (and some optional components of SQL2019 and above) need .Net 3.5. For SQL2012 and above more recent versions of .Net are also needed. It is recommended that you always Install .Net 3.5 and all possible following versions of .Net as this will avoid potential issues if you decide you need it at a later date. It is therefore recommended that you also Install .Net 4.0 and Install .Net 4.x at this time.

This page contains the following sections:

Download Details

For most editions of SQL Server or versions of Windows the install media for .Net 3.5 must be downloaded, but for some the install media is included. The table below shows when you must do a download.

Operating system SQL Server Version Express Edition Other Editions
Windows 2022 any Download Download
Windows 2019 any Download Download
Windows 2016 or Windows 10 any Download Download
Windows 2012 R2 or Windows 8.1 any Download Download
Windows 2012 or Windows 8 any Download Download
Windows 2008 R2 or Windows 7 any Included Included
Windows 2008 or Windows Vista SQL2012 Download Download
SQL2008 R2 Download Included
SQL 2008 Download Included
SQL 2005 Download Download
Windows 2003 or Windows XP SQL2008 R2 Download Included
SQL 2008 Download Included
SQL 2005 Download Download

Download for Windows 2022

This covers Windows 2022.

The .Net 3.5 install media for Windows 2022 has the same file name as that used for Windows 2019, but has different contents. Therefore the .Net 3.5 install media must be put into a different folder to that used for Windows 2019.

  1. Create a sub-folder of Additional Components called Redist\SXS\2022

  2. Obtain a copy of the Windows 2022 install media

  3. Mount the DVD containing the Windows 2022 install media

  4. Copy all files containing the name netfx3 of the \Sources\SXS folder from the DVD

    Place these in the Additional Components\Redist\SXS\2022 folder

The SXS folder contents for Windows 2022 should be allowed to overwrite earlier versions, and SXS media for all Windows versions can co-exist within the same FineBuild \SXS folder.

If you are planning to install on Windows 2022 and older versions, then you should ensure the Windows 2022 files for .Net 3.5 are copied after the files for older Windows versions. Windows 2016 and Windows 2019 can use the Windows 2022 .Net 3.5 files but Windows 2022 cannot use older .Net 3.5 files.

Top


Download for Windows 2019

This covers Windows 2019.

  1. Create a sub-folder of Additional Components called Redist\SXS

  2. Obtain a copy of the Windows 2019 install media

  3. Mount the DVD containing the Windows 2019 install media

  4. Copy all files containing the name netfx3 of the \Sources\SXS folder from the DVD

    Place these in the Additional Components\Redist\SXS folder

The SXS folder contents for Windows 2019 should be allowed to overwrite earlier versions, and SXS media for all Windows versions can co-exist within the same FineBuild \SXS folder.

If you are planning to install on both Windows 2019 and Windows 2016, then you should ensure the Windows 2019 files for .Net 3.5 are copied after the files for Windows 2016. Windows 2016 can use the Windows 2019 .Net 3.5 files but Windows 2019 cannot use older .Net 3.5 files.

Top


Download for Windows 2016 or Windows 10

This covers Windows 10 and Windows 2016.

  1. Create a sub-folder of Additional Components called Redist\SXS

  2. Obtain a copy of the Windows 10 install media

    This can via the Windows 10 Download Tool

  3. Mount the DVD containing the Windows 2016 or Windows 10 install media

  4. For Windows 2016 or Windows 10 x64 servers:

    Copy the contents of the \Sources\SXS folder from the DVD to the Additional Components\Redist\SXS folder

  5. For Windows 10 x86 servers

    Copy the contents of the \Sources\SXS folder from the DVD to the Additional Components\Redist\SXS\x86 folder

The SXS folder contents for Windows 2016 is different to that for earlier versions, and all SXS media can co-exist within the same FineBuild \SXS folder.

If you are planning to install on both Windows 2019 and Windows 2016, then you should ensure the Windows 2019 files for .Net 3.5 are copied after the files for Windows 2016. Windows 2016 can use the Windows 2019 .Net 3.5 files but Windows 2019 cannot use the Windows 2016 .Net 3.5 files.

Top


Download for Windows 2012 R2 or Windows 8.1

This covers Windows 8.1 and Windows 2012 R2

  1. Create a sub-folder of Additional Components called Redist\SXS

  2. Obtain a copy of the Windows 2012 R2 install media

    This can be the free Evaluation Edition ISO media

    If you are planning to install SQL Server on 32-bit Windows 8, then you will need both the 64-bit and 32-bit Windows install media

  3. Mount the DVD containing the Windows 2012 R2 or Windows 8.1 install media

  4. Copy the contents of the \Sources\SXS folder from the DVD

    Place these in the Additional Components\Redist\SXS folder

Copy the SXS folder for 32-bit Windows 8.1 first, followed by the SXS folder for 64-bit Windows 8.1 or Windows 2012 R2. Allow the 64-bit media to overwrite any 32-bit files. If you do not need to install on 32-bit Windows 8.1 then there is no need to copy the 32-bit SXS file.

Over 1,000 files in the SXS folder are referenced for the .Net 3.5 install, and it is easier to copy all files than to select just the ones needed. The SXS folders for Windows 2012 R2 are different to those for Windows 2012 and can co-exist within the same FineBuild \SXS folder.

Top


Download for Windows 2012 or Windows 8

This covers Windows 8 and Windows 2012

  1. Create a sub-folder of Additional Components called Redist\SXS

  2. Obtain a copy of the Windows 2012 install media

    This can be the free Evaluation Edition ISO media

    If you are planning to install SQL Server on 32-bit Windows 8, then you will need both the 64-bit and 32-bit Windows install media

  3. Mount the DVD containing the Windows 2012 or Windows 8 install media

  4. Copy the contents of the \Sources\SXS folder from the DVD

    Place these in the Additional Components\Redist\SXS folder

Copy the SXS folder for 32-bit Windows 8 first, followed by the SXS folder for 64-bit Windows 8 or Windows 2012. Allow the 64-bit media to overwrite any 32-bit files. If you do not need to install on 32-bit Windows 8 then there is no need to copy the 32-bit SXS file.

Over 1,000 files in the SXS folder are referenced for the .Net 3.5 install, and it is easier to copy all files than to select just the ones needed. The SXS folders for Windows 2012 are different to those for Windows 2012 R2 and can co-exist within the same FineBuild \SXS folder.

Top


Download for Windows 2008 R2 or Windows 7

If you are installing on Windows 2008 R2 or Windows 7, FineBuild will always install .Net 3.5 using the media included with Windows. No download is needed.

Top


Download for Windows 2008 or Windows Vista

This covers Windows Vista and Windows 2008

  1. Obtain a copy of any SQL Server 2008 or SQL Server 2008 R2 media

  2. Create a sub-folder of Additional Components called Redist

  3. Copy the following folder containing the .Net 3.5 media

    Version Source Destination
    SQL 2008 R2 \redist\DotNetFrameworks Additional Components\Redist
    SQL 2008 \x86\redist\DotNetFrameworks Additional Components\Redist

For these operating systems you must install .Net 3.5 before .Net 4 is installed. SQL FineBuild will install these components in the correct order, but cannot install .Net 3.5 if .Net 4 is already installed on Windows 2008.

If Windows Update has applied fixes before .Net 3.5 is installed, then you will have .Net 4 already installed. The only way forward is to rebuild Windows 2008 and run SQL FineBuild before you allow Windows Update to bring your server up to date.

Top


Download for Windows 2003 or Windows XP

This covers Windows XP and Windows 2003

  1. Obtain a copy of any SQL Server 2008 or SQL Server 2008 R2 media

  2. Create a sub-folder of Additional Components called Redist

  3. Copy the following folder containing the .Net 3.5 media

    Version Source Destination
    SQL 2008 R2 \redist\DotNetFrameworks Additional Components\Redist
    SQL 2008 \x86\redist\DotNetFrameworks Additional Components\Redist

Top


FineBuild .Net 3.5 Install

Automated silent installation of .Net 3.5 is performed by Process Id 2AF and is controlled by the parameters below:

SQL Version Parameter FULL Build WORKSTATION Build CLIENT Build
SQL2019 /SetupNet3: No No No
SQL2017 /SetupNet3: Yes Yes Yes
SQL2016 /SetupNet3: Yes Yes Yes
SQL2014 /SetupNet3: Yes Yes Yes
SQL2012 /SetupNet3: Yes Yes Yes
SQL2008R2 /SetupNet3: Yes Yes Yes
SQL2008 /SetupNet3: Yes Yes Yes
SQL2005 /SetupNet3: Yes Yes Yes

In order to maintain compatibility with older versions of SQL FineBuild, the parameter /InstNet3: can also be used.

For all versions of SQL Server, if .Net 3.5 is a pre-requisite to another component then .Net 3.5 will also be installed.

Top


Manual .Net 3.5 Install

The following steps show what you would have to do to install .Net 3.5 manually. FineBuild does all of this work for you automatically.


Manual Install for Windows 2022, Windows 11 or above

This covers Windows 11 and Windows 2022

  1. Run the following command, using the relevant file name in place of Additional Components
   DISM.EXE /online /enable-feature /featurename:NetFX3 /All /Source:_Additional Components_\redist\sxs\2002 /LimitAccess

Top


Manual Install for Windows 2012, Windows 8 or above

This covers Windows 8, Windows 8.1, Windows 10, Windows 2012, Windows 2012 R2, Windows 2016 and Windows 2019

  1. Run the following command, using the relevant file name in place of Additional Components
   DISM.EXE /online /enable-feature /featurename:NetFX3 /All /Source:_Additional Components_\redist\sxs /LimitAccess

Top


Manual Install for Windows 2008 R2 or Windows 7

  1. If you are running on Windows 2008 R2 Server Core

    Run the following commands:

   OCSetup "NetFx2-ServerCore"
   OCSetup "NetFx3-ServerCore"
   OCSetup "ServerCore-WOW64"
   OCSetup "NetFx2-ServerCore-WOW64"
   OCSetup "NetFx3-ServerCore-WOW64"
  1. If you are running on Windows 2008 R2 desktop or on Windows 7

    Run the following command:

   OCSetup "NetFx3"

Top


Manual Install for Windows 2008 and Below

This covers Windows XP, Windows 2003, Windows Vista and Windows 2008

  1. Navigate to the install media and double-click on the following file:

    SQL Version File Location
    Express Edition Additional Components\Redist\DotNetFrameworks\dotNetFx35setup.exe
    SQL 2008 Server editions SQLMedia\x86\redist\DotNetFrameworks\dotNetFx35setup.exe
    SQL 2008 R2 Server editions SQLMedia\x86\redist\DotNetFrameworks\dotNetFx35setup.exe

    Explorer

  2. If the .Net framework needs to be installed or upgraded the following window is displayed

    Click OK to continue

    Notice

  3. The following message may be displayed:

    Loading

  4. Accept the End User License Agreement

    Click Install to continue

    License

  5. The Download and Install Progress window is displayed

    All components are included in the install media, so nothing is downloaded

    Progress

  6. The Setup Complete window is displayed when the .Net upgrade is complete

    Click Exit to continue

    Complete

Copyright FineBuild Team © 2011 - 2021. License and Acknowledgements

Previous Install .Net 2.0 Top Install IIS Next

Key SQL FineBuild Links:

SQL FineBuild supports:

  • All SQL Server versions from SQL 2019 through to SQL 2005
  • Clustered, Non-Clustered and Core implementations of server operating systems
  • Availability and Distributed Availability Groups
  • 64-bit and (where relevant) 32-bit versions of Windows

The following Windows versions are supported:

  • Windows 2022
  • Windows 11
  • Windows 2019
  • Windows 2016
  • Windows 10
  • Windows 2012 R2
  • Windows 8.1
  • Windows 2012
  • Windows 8
  • Windows 2008 R2
  • Windows 7
  • Windows 2008
  • Windows Vista
  • Windows 2003
  • Windows XP
Clone this wiki locally