Microsoft KB Archive/320112

= Installation of .NET Framework fails and requires manual removal =

Article ID: 320112

Article Last Modified on 1/15/2007

-

APPLIES TO


 * Microsoft .NET Framework 1.1
 * Microsoft .NET Framework 1.0
 * Microsoft .NET Framework 1.0 Service Pack 2

-



This article was previously published under Q320112



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
If the installation of the Microsoft .NET Framework 1.0.3705 fails because of an unexpected power outage or other installation failure modes, you may have to remove the .NET Framework 1.0.3705 manually.

Note This information is supplied to help you prepare a computer for an installation of the .NET Framework 1.0.3705, and not for a complete removal of either the original released version or the beta version of the Microsoft .NET Framework.



RESOLUTION
The following steps remove the .NET Framework 1.0.3705 after a failed install and then enable you to reinstall it again. The steps also remove the beta Microsoft .NET Framework from the computer. However, if you have the beta Microsoft .NET Framework installed, Microsoft recommends that you reformat the hard disk and then reinstall the .NET Framework.  Remove the .NET Framework 1.0.3705 from the Microsoft Windows Installer cache. To do this, follow these steps:  Click Start, and then click Run. Type Installer, and then click OK. On the View menu select Details Right-click the Date Modified column header. Click Comments</li> In the Comments column, locate the cached Windows Installer file that displays Microsoft .NET Framework (English) RTL x86 enu.</li> Right-click the cached Windows Installer file, and then click Uninstall.</li> Close the window.</li></ol> </li> Manually remove the files and the folders from the computer. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, and then click Run .</li> Type System32, and then click OK .</li> Locate and then delete the Mscoree.dll file.

Warning Do not delete the Mscoree.dll file on a computer that is running Microsoft Windows Server 2003.</li> Close the window.</li> Click Start, and then click Run .</li> Type Microsoft.NET, and then click OK.</li> Double-click the Framework folder.</li> Delete the v1.0.3705 folder.

Note If Microsoft .NET Framework version 1.1.4322 is also installed on the computer, you must run a repair of that version of the .NET Framework. For more information, see the &quot;How to Repair .NET Framework 1.0.3705 or 1.1.4322&quot; section of this article.</li></ol> </li> Manually remove the registry keys from the Windows Registry. To do this, follow these steps:

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. <ol style="list-style-type: lower-alpha;"> Click Start, and then click Run .</li> Type regedit, and then click OK.</li> Remove the following registry keys: <ul> <li> </li> <li> </li> <li> </li> <li> </li></ul> </li> <li>Quit Registry Editor.</li></ol> </li> <li>Zap the Windows Installer information from the registry by using the Msizap.exe utility. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Msizap.exe is included with the Microsoft Windows Installer SDK. To download the Windows Installer SDK, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en

</li> <li>Click Start, and then click Run .</li> <li>Type cmd, and then click OK.</li> <li>At the command prompt, type CD\Program Files\Microsoft SDK\Bin, and then press ENTER.</li> <li>Type Msizap TP {B43357AA-3A6D-4D94-B56E-43C44D09E548} </li> <li>After the Msizap.exe process has completed, type Exit, and then press ENTER .</li> <li>Restart the computer.</li></ol> </li> <li>Clean out the contents of the Temp folder. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, and then click Run .</li> <li>Type %Temp%, and then click OK.</li> <li>On the Edit menu, click Select All.</li> <li>On the File menu, click Delete.</li></ol>

Note Delete as many of the files in the Temp folder as possible.</li> <li>Disable any antivirus or firewall software. Note You may use the System Configuration Utility (Msconfig.exe) to clean boot the computer. Then, disable any nonessential services.</li> <li>Download and install the .NET Framework 1.0.3705. To do this, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyId=D7158DEE-A83F-4E21-B05A-009D06457787&displaylang=en

</li> <li>If the .NET Framework 1.1.4322 is installed on the computer, you must run a repair of .NET Framework 1.1.4322 to update specific files that were rolled back by the installation.</li></ol>

<div class="moreinformation_section">

How to repair .NET Framework 1.0.3705 or 1.1.4322
<ol> <li>Repair the Microsoft .NET Framework v1.0.3705 through the Windows Installer cache file. <ol style="list-style-type: lower-alpha;"> <li>Click Start, and then click Run.</li> <li>Type Installer, and then click OK.</li> <li>On the View menu, click Details.</li> <li>Right-click the Date Modified column header, and then click Comments.</li> <li>In the Comments column, locate the cached Windows Installer file that displays Microsoft .NET Framework (English) RTL x86 enu.</li> <li>Right-click the cached Windows Installer file, and then click Uninstall.</li> <li>Close the window.</li></ol> </li> <li>Repair the .NET Framework 1.0.3705 by using the command prompt. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Locate the original installation materials. <ul> <li>If you installed the .NET Framework 1.0.3705 from a CD or a DVD, insert the disc in the CD-ROM or the DVD-ROM drive.</li> <li>If you downloaded the .NET Framework 1.0.3705, download it again, and then save it to your hard disk.</li> <li>If you installed the .NET Framework 1.0.3705 from a network drive, reconnect to the share.</li></ul> </li> <li>Open a command prompt window. <ul> <li>Microsoft Windows 98, Microsoft Windows Millennium Edition, or Microsoft Windows NT <ol> <li>Click Start, and then click Run.</li> <li>Type command, and then click OK.</li></ol> </li> <li>Microsoft Windows 2000, Microsoft Windows XP <ol> <li>Click Start, and then click Run.</li> <li>Type cmd, and then click OK.</li></ol> </li></ul> </li> <li>At the command prompt, type \dotnetfx.exe /t:%temp% /c:&quot;msiexec.exe /fvecms %temp%\netfx.msi&quot;, and then press ENTER.</li></ol> </li> <li>Repair the .NET Framework 1.1.4322 by using the command prompt. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Locate the original installation materials. <ul> <li>If you installed the .NET Framework 1.1.4322 from a CD or a DVD, insert the disc in the CD-ROM or the DVD-ROM drive.</li> <li>If you downloaded the .NET Framework 1.1.4322, download it again, and then save it to your hard disk.</li> <li>If you installed the .NET Framework 1.1.4322 from a network drive, reconnect to the share.</li></ul> </li> <li>Open a command prompt window. <ul> <li>Microsoft Windows 98, Microsoft Windows Millennium Edition, or Microsoft Windows NT <ol> <li>Click Start, and then click Run.</li> <li>Type command, and then click OK.</li></ol> </li> <li>Microsoft Windows 2000, Microsoft Windows XP <ol> <li>Click Start, and then click Run.</li> <li>Type cmd, and then click OK.</li></ol> </li></ul> </li> <li>At the command prompt, type \dotnetfx.exe /t:%temp% /c:&quot;msiexec.exe /fvecms %temp%\netfx.msi&quot;, and then press ENTER.</li></ol> </li></ol>

Important To repair the Microsoft .NET Framework that is included with the operating system, you must use the Repair option or the Reinstall option of the operating system. The following are the operating systems that include the Microsoft .NET Framework: <ul> <li>Microsoft Windows Server 2003

For more information about how to repair the .NET Framework in Windows Server 2003, click the following article number to view the article in the Microsoft Knowledge Base:

830646 How to troubleshoot Microsoft .NET Framework 1.1 installation issues on Microsoft Windows Server 2003

</li> <li>Windows XP Tablet PC Edition</li> <li>Windows XP Media Center Edition</li></ul>

<div class="references_section">