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.
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
-
Compare the product code with what is installed
Open
AppEnforce.logand 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. -
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.
-
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.logto see what the detection method found. Change the method to check the MSI product code or a file that only a real install has. -
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.
-
Use the vendor's uninstall for products without an MSI
If the product has an
UninstallStringthat does not callmsiexec, use that command with its silent switch as the uninstall program.
Commands that help
$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
Turn any hex or decimal error code into its meaning, or search every code on this site.