Microsoft KB Archive/940332

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

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</li></ul>

 Windows Vista Ultimate</li></ul>

 Windows Vista Enterprise</li></ul>

 Windows Vista Business</li></ul>

 Windows Vista Home Premium</li></ul>

 Windows Vista Home Basic</li></ul>

 Windows Vista Starter</li></ul> </li> Microsoft .NET Framework 1.1 Service Pack 1, when used with:  Microsoft Windows Server 2003 Service Pack 1</li></ul>

 <li>Microsoft Windows Server 2003 Service Pack 2</li></ul>

<ul> <li>Microsoft Windows XP Service Pack 2</li></ul>

<ul> <li>Microsoft Windows 2000 Service Pack 4</li></ul>

<ul> <li>Windows Vista Ultimate</li></ul>

<ul> <li>Windows Vista Enterprise</li></ul>

<ul> <li>Windows Vista Business</li></ul>

<ul> <li>Windows Vista Home Premium</li></ul>

<ul> <li>Windows Vista Home Basic</li></ul>

<ul> <li>Windows Vista Starter</li></ul>

<ul> <li>Windows Vista Ultimate 64-bit Edition</li></ul>

<ul> <li>Windows Vista Enterprise 64-bit Edition</li></ul>

<ul> <li>Windows Vista Home Premium 64-bit Edition</li></ul>

<ul> <li>Windows Vista Home Basic 64-bit Edition</li></ul> </li></ul>

-

<div class="symptoms_section">

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.

<div class="cause_section">

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 &quot;Symptoms&quot; 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 &quot;Symptoms&quot; 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.

<div class="workaround_section">

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

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.