More detailed steps to fix .NET Framework install errors that ask for tmpXXXX.tmp
I previously described a set of steps in this blog post that can be used to manually remove the .NET Framework and reinstall it if you receive an error message stating that setup is unable to find the file tmpXXXX.tmp when attempting to install a .NET Framework service pack or hotfix. However, I've heard from a couple of customers over the past few weeks who still received errors related to tmpXXXX.tmp after performing the cleanup steps in that blog post. As a result, I want to post a more complete set of steps that you can use to clean up your system and reinstall the .NET Framework and get rid of this tmpXXXX.tmp error.
You should first try the following steps. I have found that nearly all cases of this tmpXXXX.tmp error can be resolved with this set of steps:
- Download the .NET Framework cleanup tool
- Extract the contents by running cleanup_tool.exe /t:c:\temp /c (or some other local folder of your choosing in place of c:\temp)
- Click on the Start menu, choose Run and type cmd
- Run c:\temp\msizap.exe TP {CB2F7EDD-9D1F-43C1-90FC-4F52EAE172A1} (this is the product code for the .NET Framework 1.1 MSI package) or c:\temp\msizap.exe TP {B43357AA-3A6D-4D94-B56E-43C44D09E548} (this is the product code for the English .NET Framework 1.0 MSI package)
- Run c:\temp\cleanup.exe and choose to clean up the .NET Framework 1.0 or 1.1
- Download and install the version of the .NET Framework that you cleaned up in step 1 (such as the .NET Framework 1.0 or .NET Framework 1.1)
- Download and install the desired .NET Framework service pack (such as .NET Framework 1.0 SP3 or .NET Framework 1.1 SP1) by running the setup package directly instead of using Windows Update. Running it directly will allow the service pack setup to display error dialogs instead of having Windows Update suppress them
If you still see an error stating that .NET Framework 1.1 SP1 setup or .NET Framework 1.0 SP3 setup cannot find tmpXXXX.tmp when you attempt to install it in step 7 above, you can use the following steps to manually clean up the registry entries that are causing this error dialog to appear:
- Run c:\temp\cleanup.exe and choose to clean up the .NET Framework 1.0 or 1.1 (using the cleanup tool downloaded and extracted in steps 1 and 2 above)
- Click on the Start menu, choose Run and type cmd
- Run reg delete HKEY_CLASSES_ROOT\Installer\Patches\3574AFE896173CC42AB8A061348B3AB9 /f
- Run reg delete HKEY_CLASSES_ROOT\Installer\Patches\7FCDE114D557E4147AB4D3DC56385F98 /f
- Run reg delete HKEY_CLASSES_ROOT\Installer\Products\DDE7F2BCF1D91C3409CFF425AE1E271A /f
- Download and install the version of the .NET Framework that you cleaned up in step 1 (such as the .NET Framework 1.0 or .NET Framework 1.1)
- Download and install the desired .NET Framework service pack (such as .NET Framework 1.0 SP3 or .NET Framework 1.1 SP1) by running the setup package directly instead of using Windows Update. Running it directly will allow the service pack setup to display error dialogs instead of having Windows Update suppress them
<update date="3/20/2009"> Fixed broken link to the .NET Framework cleanup tool. </update>