Microsoft KB Archive/940332

From BetaArchive Wiki
Knowledge Base


Error message when you install an update for the .NET Framework 1.1 or for the .NET Framework 1.0: "The upgrade patch cannot be installed by the Windows Installer service"

Article ID: 940332

Article Last Modified on 12/3/2007



APPLIES TO

  • Microsoft .NET Framework 1.0 Service Pack 3, when used with:
    • Microsoft Windows Server 2003 Service Pack 1
    • Microsoft Windows Server 2003 Service Pack 2
    • Microsoft Windows XP Service Pack 2
    • Microsoft Windows 2000 Service Pack 4
    • Windows Vista Ultimate
    • Windows Vista Enterprise
    • Windows Vista Business
    • Windows Vista Home Premium
    • Windows Vista Home Basic
    • Windows Vista Starter
  • Microsoft .NET Framework 1.1 Service Pack 1, when used with:
    • Microsoft Windows Server 2003 Service Pack 1
    • Microsoft Windows Server 2003 Service Pack 2
    • Microsoft Windows XP Service Pack 2
    • Microsoft Windows 2000 Service Pack 4
    • Windows Vista Ultimate
    • Windows Vista Enterprise
    • Windows Vista Business
    • Windows Vista Home Premium
    • Windows Vista Home Basic
    • Windows Vista Starter
    • Windows Vista Ultimate 64-bit Edition
    • Windows Vista Enterprise 64-bit Edition
    • Windows Vista Home Premium 64-bit Edition
    • Windows Vista Home Basic 64-bit Edition



SYMPTOMS

Consider the following scenario:

  • You install an update for the Microsoft .NET Framework 1.1 or for the Microsoft .NET Framework 1.0.
  • You do not have the prerequisite product version or service pack installed.

In this scenario, you may receive the following error message:

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. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch.

You receive this error message even when you use the /q command-line switch for a quiet installation.

CAUSE

Updates for the .NET Framework 1.1 and for the .NET Framework 1.0 use a managed wrapper. When the managed wrapper cannot find the prerequisite product version or service pack that the update targets, the wrapper throws an error dialog that includes the message that is mentioned in the "Symptoms" section. When the prerequisite product or service pack is not found, the managed wrapper ignores the /q command-line switch for a quiet installation.

For example, you try to install a recent security update for the .NET Framework 1.0 Service Pack 3. You take this action because the latest service pack and the only supported service pack for the .NET Framework 1.0 is the .NET Framework 1.0 Service Pack 3. The update throws an error dialog that includes the message that is mentioned in the "Symptoms" section if one of the following conditions is true:

  • You do not have the .NET Framework 1.0 installed.
  • You do not have the .NET Framework 1.0 Service Pack 3 installed.


WORKAROUND

If you do not have the product or service pack that the update targets installed on a computer, there is no useful purpose in trying to install the update on the computer.

However, if you receive this error message during a quiet installation, you should first determine whether an update is required. (For example, you may receive this error message during an administrative deployment for updates.) To determine whether an update is required, check for the prerequisite product or service pack before you try to install the update.

Microsoft enables you to detect all security updates. If you are using Windows Update (WU) or Windows Server Update Services (WSUS), this detection is automatically handled. If you are not using WU or WSUS, you can use the Enterprise Scan Tool that is released for each security update to determine whether the update is required.


Additional query words: .NET Framework 1.0 Service Pack 3 SP3 1.1 Service Pack 1 SP1 /q quiet error dialog administrative install pre-requisite product pre-req

Keywords: kbtshoot kbexpertiseinter kbexpertisebeginner kbsecurity kbsecvulnerability kbbug kbpubtypekc KB940332