Creating an administrative install point for the .NET Framework, a service pack and a hotfix
I have heard from a couple of customers who are trying to create a Windows Installer administrative install point that contains the .NET Framework with a service pack and the latest hotfix (MS05-004). I originally posted instructions about how to create an admin install point for the .NET Framework 1.0 or 1.1 and a service pack, but there are a couple of extra steps and tricks needed to also include a hotfix, so I wanted to post updated instructions. Here are a set of steps that I used to create an administrative install point on my machine and install the .NET Framework 1.0 or 1.1 and a service pack and a hotfix as a single package:
- Download the version of the .NET Framework you want to install (.NET Framework 1.0 or .NET Framework 1.1)
- Create an administrative install point for the .NET Framework by running dotnetfx.exe /c:"msiexec.exe /a netfx.msi TARGETDIR=c:\dotnet" (or you can change c:\dotnet to any folder of your choosing)
- Download the .NET Framework service pack you want to install (for example .NET Framework 1.0 SP3 or .NET Framework 1.1 SP1)
- Extract the service pack MSP package to a folder by running <name of service pack>.exe /Xp:c:\dotnet\netfxsp.msp
- Run msiexec.exe /a c:\dotnet\netfx.msi /p c:\dotnet\netfxsp.msp
- Locate the .NET Framework hotfix you want to install by going to the Microsoft download center and searching for the keyword security_patch and filtering based on the .NET product family. When I tried this recently, it gave me this results page
- Download the correct version of the .NET Framework hotfix you want to install. Every .NET Framework hotfix ships with a separate version that will only install if you have a specific .NET Framework service pack installed. So you will need to download the hotfix that matches the service pack you downloaded in step 3 above
- Extract the hotfix MSP package to a folder by running <name of hotfix>.exe /Xp:c:\dotnet\netfxhotfix.msp
- Run msiexec.exe /a c:\dotnet\netfx.msi /p c:\dotnet\netfxhotfix.msp
Following these steps will create a Windows Installer administrative install point in the folder c:\dotnet that can be used to install the .NET Framework plus a service pack and a hotfix as a single unit. Now you can share out the folder for network installations or install directly from there in order to install the .NET Framework, the service pack and the hotfix at the same time.
As future hotfixes are released for the .NET Framework 1.0 or 1.1, you can repeat steps 6-9 above to apply them to your administrative install point.
<update date="6/15/2010"> Fixed broken HTML causing numbering problems for the steps in this post. Also clarified that these steps work for the .NET Framework 1.0 and 1.1 but not 2.0 or higher. </update>
Comments
Anonymous
March 05, 2005
It should be noted that administrative installations are not supported for .NET 1.0 because of a few issues in the RTM, and for .NET 1.1 it is not "officially" supported, though we have not received any complaints for issues not relating to the patch wrapper which requires the .NET Framework in order to extract the MSP.Anonymous
July 24, 2005
I was contacted by a customer last week who could not get the .NET Framework 1.1 to install correctly.&nbsp;...Anonymous
July 26, 2005
I was contacted by a customer last week who could not get the .NET Framework 1.1 to install correctly.&nbsp;...Anonymous
July 27, 2005
As I was researching the bug in .NET Framework 1.0 and 1.1 that is related to regional language settings...Anonymous
August 21, 2005
This is really neat, and should be officially supported by Microsoft.Anonymous
February 26, 2006
When I get to the 4th step of this post it tells me that "The upgrade patch cannot be installed by the Windows Installer Service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program." I was using NDP1.1sp1-KB867460-X86 as the service pack.Anonymous
February 27, 2006
I tried all these workarounds without any success, however when I started a second installation and it warned me that I already had one running and I needed to close that before I could continue, I closed the msiexec.exe process and poff it started installing and finished >D Windows in a nutshell as always!Anonymous
February 28, 2006
Hi Ben M - There are different versions of the .NET Framework 1.1 SP1 available for download, and you will need to make sure the version you have matches the version of the .NET Framework 1.1 you are trying to patch. Can you please double-check that you have matching versions of 1.1 and 1.1 SP1 and try this scenario again?Anonymous
February 04, 2007
A while ago, I described a .NET Framework 1.0 and 1.1 installation failure that can be caused by theAnonymous
January 20, 2009
PingBack from http://www.hilpers.com/1035159-dotnetfx-1-1-per-gpo