Creating an administrative install point for the .NET Framework 3.0 SP2

A while back, I posted some instructions that can be used to create an administrative install point for the .NET Framework 3.0 SP1.  Since then, the .NET Framework 3.0 SP2 has been released (it is required in order to install the .NET Framework 3.5 SP1).  Here are some updated steps that can be used to create an administrative install point for the .NET Framework 3.0 SP2 for each of the supported processor architectures.

Please keep in mind that there are several prerequisites that must be installed prior to attempting to deploy the .NET Framework 3.0 SP2 from an administrative install point.  These include the .NET Framework 2.0 SP2, MSXML 6.0, the RGB Rasterizer, the Windows Imaging Component (WIC) and the XML Paper Specification (XPS) shared components.  The .NET Framework 2.0 SP2 can be deployed using the steps in this previous blog post, and the other prerequisites can be deployed using the previously documented steps in the .NET Framework 3.0 deployment guide and the .NET Framework 3.5 deployment guide.

To create an administrative install point for the .NET Framework 3.0 SP2 x86:

  1. Download the .NET Framework 3.5 SP1 full package from http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe and save it to your local hard drive
  2. Extract the contents of the setup package by running this command:
    dotnetfx35.exe /x:c:\netfx35
  3. Stage the base MSI by running this command:
    msiexec /a "c:\netfx35\wcu\dotnetframework\dotnetfx30\netfx30a_x86.msi" TARGETDIR="c:\netfx30sp2\x86\AIP"
  4. Apply the patches to the staged base MSI by running this command:
    msiexec /a "c:\netfx30sp2\x86\AIP\netfx30a_x86.msi" PATCH="c:\netfx35\wcu\dotnetframework\dotnetfx30\WCF.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WCS.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WF.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WPF1.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WPF2.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WPF_Other.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\XPS.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WF_32.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WPF2_32.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WPF_Other_32.msp"

With these steps, you will have an administrative install point for the .NET Framework 3.0 SP2 x86 located at c:\netfx30sp2\x86AIP.  You can then install the MSI directly using a command line like the following:

msiexec.exe /i c:\netfx30sp2\x86\AIP\netfx30a_x86.msi /l*v %temp%\netfx30sp2x86log.txt /qb VSEXTUI=1

You can adjust the parameters as needed if you want a fully silent install instead of basic UI, or want to use any other standard Windows Installer command line parameters.

To create an administrative install point for the .NET Framework 3.0 SP2 x64:

  1. Download the .NET Framework 3.5 SP1 full package from http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe and save it to your local hard drive
  2. Extract the contents of the setup package by running this command:
    dotnetfx35.exe /x:c:\netfx35
  3. Stage the base MSI by running this command:
    msiexec /a "c:\netfx35\wcu\dotnetframework\dotnetfx30\netfx30a_x64.msi" TARGETDIR="c:\netfx30sp2\x64\AIP"
  4. Apply the patches to the staged base MSI by running this command:
    msiexec /a "c:\netfx30sp2\x64\AIP\netfx30a_x64.msi" PATCH="c:\netfx35\wcu\dotnetframework\dotnetfx30\WCF.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WCS.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WF.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WPF1.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WPF2.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WPF_Other.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\XPS.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WCF_64.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WCS_64.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WF_64.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WPF1_64.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WPF2_64.msp;c:\netfx35\wcu\dotnetframework\dotnetfx30\WPF_Other_64.msp"

With these steps, you will have an administrative install point for the .NET Framework 3.0 SP2 x64 located at c:\netfx30sp2\x64\AIP.  You can then install the MSI directly using a command line like the following:

msiexec.exe /i c:\netfx30sp2\x64\AIP\netfx30a_x64.msi /l*v %temp%\netfx30sp2x64log.txt /qb VSEXTUI=1

You can adjust the parameters as needed if you want a fully silent install instead of basic UI, or want to use any other standard Windows Installer command line parameters.