Lỗi The upgrade patch cannot be installed by the Windows Installer service because the program to be

Issue:

During the installation of an Autodesk software update or Security Fix, the following error message is displayed:

Windows Installer

The upgrade patch cannot be installed by the Windows Installer service because theprogram 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".

Lỗi The upgrade patch cannot be installed by the Windows Installer service because the program to be

Causes:

There are multiple potential causes for this message:

  • The patch file is corrupted.
  • Software being patched is missing or is a different version from what the patch requires.
  • Potential multiple program entries in Windows registry
  • Insufficient permissions to access Autodesk program folders.
  • Security settings (or Antivirus tools) are blocking the installation.

Solution:

Check the following to enable the update/service pack to be installed:

  1. Confirm that the correct service pack was downloaded. Verify the following points:
    • The patch matches the product version (year).
    • The version of the patch is compatible with the system - 32 or 64-bit installers.
  2. Confirm the software that is being patched is installed first. 
    • Note: Patches cannot be installed prior to the product installation.
    • Note: Hotfixes cannot be installed before services packs, for example 2021.1.1 requires 2021.1 to be installed first.
    • Note: Many patches and hotfixes can be run again with a 'repair' option if the installer is not detecting them as installed
  3. Confirm that the software that is being patched is not already patched.
    • Navigate to Control Panel > Programs and Features, and check the program version number in program list.
    • Check View Installed Updates on this menu page to see if a separate update/service pack is listed for program).
  4. Increase permissions to the following folders by adding the user and providing full control to the Autodesk folders:
    • C:\Program Files\Autodesk
    • C:\ProgramData\Autodesk
    • C:\Users\<User>\AppData\Local\Autodesk or %LocalAppData%\Autodesk
    • C:\Users\<User>\AppData\Roaming\Autodesk or %AppData%\Autodesk
    • C:\ProgramData\FLEXnet
    • C:\Program Files (x86)\Autodesk
    • C:\Program Files (x86)\Common Files\Autodesk Shared
  5. Reduce security settings:
    • Disable User Account Control settings.
    • Disable Antivirus software.
  6. Check the Windows Programs list if the application is listed multiple times or not at all.
  • Use the Autodesk Uninstall Tool to remove the program or the MS Fixit tool

If the above suggestions still do not enable the patch to be installed, the patch itself may be corrupt or not fully downloaded. Re-download the service pack file from Autodesk Account.

In some cases the application being patched must be reinstalled before the patch will be able to be installed, this is often the best solution with Vault server as some service packs cannot be uninstalled and reinstalled unless Vault server is uninstalled.

See Also:

  • "Install error 1603: Fatal error during installation." during installation of Autodesk software
  • "Installation complete. Some products failed to install." during installation
  • "The License manager is not functioning or is improperly installed" with Autodesk 2020 software

Troubleshooting


Problem

This technote explains why attempts to update an IBM Rational ClearCase or ClearQuest release area with an iFix, patch or fix pack results in the error, The upgrade patch cannot be installed by the Windows Installer service..., and provides instructions to resolve the problem.

Symptom

Attempts to patch a ClearCase or ClearQuest release area on a Microsoft® Windows® platform with a fix pack, iFix or Service Release results in the following error:

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.

Lỗi The upgrade patch cannot be installed by the Windows Installer service because the program to be


Note: The program, version, and upgrade patch may appear to be correct.

Cause

  1. The patch install command being used to apply the update to a release area is incorrect.

    For example, the following command specifies an incorrect .msi file:

    C:\>msiexec /p <patch-dir>\patch.mcksr1.637.msp /a <release_area>\Setup
    \isscript.msi /lv* <patch-dir>\install.logIn this example, the file <release_area>\Setup\isscript.msi is incorrect.
  2. This error also occurs while attempting to apply a 7.0.0.1 iFix to a release area that has been created for 7.0.
  3. A fix pack is being installed before the prerequisite interim fixes (ifixes).

Resolving The Problem

Solution 1

Ensure that you are specifying the correct MSI file when attempting to patch the release area.

From the above ClearCase example, the correct command is:

C:\>msiexec /p <patch-dir>\patch.mcksr1.637.msp /a <release-area>\Setup
\clearcase.msi /lv* <patch-dir>\install.log

Solution 2

Upgrade the 7.0 release area to 7.0.0.1 (Fix Pack 1) prior to applying a 7.0.0.1 update.

Solution 3

Install the prerequisite interim fixes before installing the fix pack.

Refer to technote 1242322 Applying a Rational iFix or Fix Pack on Windows for the proper procedure.

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2003.06.00;7.0;7.0.1;7.1","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Product":{"code":"SSSH5A","label":"Rational ClearQuest"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2003.06.00;7.0;7.0.1;7.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]