Windows Installer

1605: The product is not installed

Windows Installer was asked to remove, repair or patch a product that is not installed. In SCCM the uninstall command has the wrong product code.

Exit code1605
NameERROR_UNKNOWN_PRODUCT
Logs to readAppEnforce.log, AppDiscovery.log, execmgr.log

What 1605 means

Exit code 1605 means "This action is only valid for products that are currently installed". An msiexec command named a product code, and Windows Installer has no product with that code for this account.

You see it in Software Center and in the console when an uninstall deployment fails. It also appears when the uninstall half of a supersedence fails. On the client, AppEnforce.log shows the command line and the exit code.

Common causes

  • The product code in the uninstall command belongs to another version. Vendors change the code with most new versions.
  • The product is already gone, but the detection method still finds a leftover file or key.
  • The product was installed for one user only. SYSTEM cannot see per-user installs.
  • The product was not installed from an MSI, so no product code exists for it.

How to fix 1605

  1. Compare the product code with what is installed

    Open AppEnforce.log and copy the product code from the uninstall command. It is the GUID in braces. Run the code block on the client. It lists installed products with their codes. Find your product and compare.

  2. Correct the uninstall command

    If the code differs, the client has another version. Open the deployment type in the console, go to the Programs tab and fix the uninstall program. If clients have several versions, make one deployment type or one application for each version.

  3. Fix the detection method

    If the product is not in the list at all, it is already removed. The uninstall only ran because detection still says "installed". Open AppDiscovery.log to see what the detection method found. Change the method to check the MSI product code or a file that only a real install has.

  4. Handle per-user installs

    If the product shows only for the signed-in user, it was installed per user. An uninstall that runs as SYSTEM cannot remove it. Use a deployment type with "Install for user" for the removal, or use the vendor's own uninstall tool.

  5. Use the vendor's uninstall for products without an MSI

    If the product has an UninstallString that does not call msiexec, use that command with its silent switch as the uninstall program.

Commands that help

List installed products with their product codes (change the name filter) · PowerShell
$keys = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*',
        'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'
Get-ItemProperty -Path $keys -ErrorAction SilentlyContinue |
    Where-Object { $_.DisplayName -like '*Adobe*' } |
    Select-Object DisplayName, DisplayVersion, PSChildName, UninstallString
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.