Microsoft KB Archive/824643

From BetaArchive Wiki

Article ID: 824643

Article Last Modified on 3/29/2007



APPLIES TO

  • Microsoft .NET Framework 1.1, when used with:
    • Microsoft Windows XP Professional
    • Microsoft Windows 2000 Standard Edition




Note Do not use the information that appears in this article to troubleshoot a Microsoft .NET Framework 1.1 installation on Microsoft Windows Server 2003. For more information about how to troubleshoot a .NET Framework 1.1 installation on 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


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


SUMMARY

This step-by-step article describes how to troubleshoot issues that you may experience when you install the .NET Framework 1.1.

When Microsoft Windows Installer is incorrectly registered in the Windows registry, the .NET Framework 1.1 Setup program cannot gain access to some Windows Installer components. This article discusses how to work around this issue by unregistering and then reregistering Windows Installer.

You may not always be able to completely remove the .NET Framework 1.1 by using the Add/Remove Programs tool in Control Panel. This article also discusses how to work around this issue either by manually removing the .NET Framework 1.1 from your computer and then reinstalling the .NET Framework 1.1, or by repairing the .NET Framework 1.1.

Requirements

This article assumes that you are familiar with the following topics:

  • Microsoft .NET Framework 1.1
  • Registry Editor
  • Windows Installer


The following list outlines the recommended hardware, software, network infrastructure, and service packs that you need:

  • Microsoft Windows 2000, or Microsoft Windows XP
  • Microsoft .NET Framework 1.1

Unregister and then reregister Windows Installer

  1. Unregister Windows Installer:
    1. Click Start, and then click Run.
    2. In the Open box, type msiexec /unregister, and then click OK.
  2. Reregister Windows Installer:
    1. Click Start, and then click Run.
    2. In the Open text box, type msiexec /regserver, and then click OK.

Manually remove and then reinstall the .NET Framework 1.1

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.

  1. Remove .NET Framework 1.1 from the Windows Installer cache. To do this, follow these steps:
    1. Click Start, and then click Run.
    2. In the Open text box, type Installer, and then click OK.
    3. On the View menu in Windows Installer, click Details.
    4. Do one of the following, depending on your operating system:
      • In Windows XP, right-click the Name column header, and then click Comments.
      • In Windows 2000, right-click the Name column header, and then click Comment.
    5. Right-click the cached Windows Installer file that has the Microsoft .NET Framework 1.1 RTL x86 enu comment, and then click Uninstall.
    6. After the uninstall process has completed, quit the Installer.
  2. Manually delete the existing files and folders from your computer. Depending on the present condition of the .NET Framework, this file and folder might not exist .To delete the file and folder, follow these steps:
    1. Click Start, and then click Run.
    2. In the Open text box, type system32, and then click OK. The contents of the System32 folder appear in Windows Explorer.
    3. Locate and then delete the URTTemp folder.
    4. Locate and then delete the mscoree.dll file.

      Note If the .NET Framework 1.0 is also installed on your computer, and you do not intend to reinstall the .NET Framework 1.1, you must repair the .NET Framework 1.0. For more information, see the "Repair the .NET Framework" section.
    5. Click Start, and then click Run.
    6. In the Open text box, type Microsoft.NET, and then click OK. The contents of the Microsoft.NET folder appear in Windows Explorer.
    7. In the Microsoft.NET folder, double-click the Framework folder.
    8. In the Framework folder, delete the v1.1.4322 folder.
    9. Close the Framework folder.
  3. Manually delete the relevant registry keys. To do this, follow these steps:
    1. Click Start, and then click Run.
    2. In the Open text box, type regedit, and then click OK to start Registry Editor.
    3. In Registry Editor, locate and then delete the existing registry keys (all the registry keys may not be present):
      • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v1.1.4322
      • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v1.1
    4. Quit Registry Editor.
  4. Zap Windows Installer information from the registry by using the Msizap.exe utility. The Msizap.exe utility is included with Microsoft Windows Installer Software Development Kit (SDK). To download Windows Installer SDK, visit the following Microsoft Web site:

    To zap Windows Installer information from the registry, follow these steps:

    1. Click Start, and then click Run.
    2. In the Open text box, type cmd, and then click OK.
    3. At the command prompt, locate the directory that contains the Msizap.exe utility, and then run the following command:

      Msizap TP {CB2F7EDD-9D1F-43C1-90FC-4F52EAE172A1}

    4. Restart your computer.
  5. Clear the contents of your Temp folder. To do this, follow these steps:
    1. Click Start, and then click Run.
    2. In the Open text box, type %Temp%, and then click OK. The contents of the Temp folder appear in Windows Explorer.
    3. In the Temp folder, click Select All on the Edit menu.
    4. On the File menu, click Delete.

      Note Delete as many files and folders as possible from the Temp folder.
  6. Disable all antivirus programs and all firewall programs that you have installed on your computer. To do this, use the System Configuration Utility (Msconfig.exe) to perform a clean start of your computer, and then disable any services that you do not need. When you use Msconfig.exe in diagnostic mode, reenable the Windows Installer Service on the Services tab. To start Msconfig, follow these steps:
    1. Click Start, and then click Run.
    2. Type MSconfig, and then click OK.
  7. Install the .NET Framework 1.1. To download the .NET Framework 1.1, visit the following Microsoft Web site: Note If the .NET Framework 1.0 is installed on your computer, and you do not intend to reinstall the .NET Framework 1.1, you must repair the .NET Framework 1.0 to replace the Mscoree.dll file and the URTTemp folder.

Repair the .NET Framework

The following are three ways to repair the .NET Framework.

Repair the .NET Framework 1.1 by using the Windows Installer cache file

To repair the .NET Framework 1.1 by using the Windows Installer cache file, follow these steps:

  1. Click Start, and then click Run.
  2. In the Open text box, type Installer, and then click OK.
  3. On the View menu in Windows Installer, click Details.
  4. Do one of the following, depending on your operating system:
    • In Windows XP, right-click the Name column header, and then click Comments.
    • In Windows 2000, right-click the Name column header, and then click Comment.
  5. Right-click the cached Windows Installer file that has the Microsoft .NET Framework 1.1 RTL x86 enu comment, and then click Repair.
  6. After the repair process has completed, quit the Installer.

Repair the .NET Framework 1.1 by using the command prompt

To repair the .NET Framework 1.1 by using the command prompt, follow these steps:

  1. Locate the Dotnetfx.exe file that you used to install the .NET Framework 1.1. To do this, use one of the following methods:
    • If you installed the .NET Framework 1.1 from a CD or from a DVD, insert the installation disc in your CD-ROM or DVD-ROM drive.
    • If you installed the .NET Framework 1.1 from your hard disk, download the .NET Framework 1.1 Setup program to your hard disk.
    • If you installed the .NET Framework 1.1 from a network drive, reconnect to the network drive.
  2. Click Start, and then click Run.
  3. In the Open text box, type cmd, and then click OK.
  4. At the command prompt, run the following command:

    %InstallationPath%\dotnetfx.exe /t:%temp% /c:"msiexec.exe /fvecms %temp%\netfx.msi"

    Note %InstallationPath% is a placeholder for the path of the Dotnetfx.exe file that you located in step 1.

Repair the .NET Framework 1.0 by using the command prompt

To repair the .NET Framework 1.0 by using the command prompt, follow these steps:

  1. Locate the Dotnetfx.exe file that you used to install the .NET Framework 1.0. To do this, use one of the following methods:
    • If you installed the .NET Framework 1.0 from a CD or from a DVD, insert the installation disc in your CD-ROM or DVD-ROM drive.
    • If you installed the .NET Framework 1.0 from your hard disk, download the .NET Framework 1.0 Setup program to your hard disk.
    • If you installed the .NET Framework 1.0 from a network drive, reconnect to the network drive.
  2. Click Start, and then click Run.
  3. In the Open text box, type cmd, and then click OK.
  4. At the command prompt, run the following command:

    %InstallationPath%\dotnetfx.exe /t:%temp% /c:"msiexec.exe /fvecms %temp%\netfx.msi"

    Note %InstallationPath% is a placeholder for the path of the Dotnetfx.exe file that you located in step 1.


REFERENCES

For more information, visit the following Microsoft Web sites:


Additional query words: Manual Uninstall

Keywords: kbtshoot kbregistry kbsyssettings kbsoftwaredist kbpdwizard kbsetup kbappsetup kbdeployment kbhowtomaster KB824643