Windows Installer

1636: The patch package could not be opened

Windows Installer could not open the MSP patch file named in the command. In SCCM the file name is wrong or the patch is not in the content.

Exit code1636
NameERROR_PATCH_PACKAGE_OPEN_FAILED
Logs to readAppEnforce.log, CAS.log, execmgr.log, MSI_verbose_log

What 1636 means

Exit code 1636 means "This patch package could not be opened. Verify that the patch package exists and that you can access it". The command told msiexec to apply an MSP file. Windows Installer could not find or read that file.

You see it in Software Center on a failed install and in the console under Monitoring > Deployments. On the client, AppEnforce.log shows the command line and the exit code. For packages, look in execmgr.log.

Common causes

  • The MSP name in the command has a typo or does not match the file in the source folder.
  • The MSP is in a subfolder of the content, and the command names it with no folder.
  • The patch was added to the source, but the content was not updated on the distribution points.
  • The command points at a share that the SYSTEM account cannot read.
  • The MSP file is damaged, or it is not a real MSP file.

How to fix 1636

  1. Compare the command with the cache folder

    Open AppEnforce.log and find the command line. Note the MSP name after /p or after PATCH=. Open the content folder under C:\Windows\ccmcache on the client. Check that the file is there with the same name.

  2. Fix the command line

    Open the deployment type and go to the Programs tab. To apply a patch to an installed product, use msiexec /p "patch.msp" /qn /norestart. To install a product and patch it in one run, use msiexec /i "app.msi" PATCH="full path to patch.msp" /qn. The PATCH property needs a full path, so a script that builds the path from its own folder is the safe way.

  3. Update the content

    If the MSP is missing from the cache, add it to the source folder. Select the deployment type and choose Update Content. Wait for the content status to show success, then retry.

  4. Test the patch file

    Copy the MSP to a test machine that has the product. Apply it by hand with a verbose log. If Windows Installer cannot open it there, download the patch again from the vendor.

  5. Check that the file is an MSP

    Some vendors ship a patch as an EXE that holds the MSP. Renaming the EXE does not work. Run the EXE with its silent switch, or extract the MSP with the vendor's extract switch.

Commands that help

Apply a patch with a verbose log (change the file name) · Command Prompt
msiexec.exe /p "patch.msp" /qn /norestart /l*v C:\Windows\Temp\patch.log
Got a different code?

Turn any hex or decimal error code into its meaning, or search every code on this site.

Error code lookup All SCCM error codes

✉

Get new articles in your inbox

SCCM guides, AI tools, automation tips — sent when published. No spam.