Friday, October 17, 2014

The software change returned error code 0x87D00324 (-2016410844)


The software change returned error code 0x87D00324 (-2016410844)

And the application will be marked as failed in software center.
You may get this error msg for various reasons. Basically the error msg is indicating that the installation is not successful.
Surprisingly if we check AppEnforce.log, it shows looking for exit code:0 which means the installation is successful.

So the application is installed successfully, however the software center showing the deployment as Failed with error code 0x87D00324 (-2016410844).
Now it is time to look at the specified detection rule. If we are using MSI GUID as a product detection rule, make sure that we have correct GUID in the detection clause.
Unfortunately the detection GUID clause is different than the actual installed product GUID. Hence the evaluation of product is failing so the configuration manager flagging the install as failed. 

Once I corrected the GUID in detection rule updated the content. Run the machine Policy and Evaluation cycle. As soon as the machine received the new policy, the software center msg changed from Failed to Installed.

8 comments:

  1. What does SCCM actually check on the client to find the existence of the Product Code being detected? The product code I am detecting matches the GUID in the registry (HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall), so that's apparently not how it checks? I would like to be able to emulate manually (preferably from the command line) what SCCM is checking.

    ReplyDelete
  2. Run this in powershell, "Get-WmiObject -class win32_product", that is the ID it will be using.

    ReplyDelete
  3. Or you can find the Product Code from the applications source. Eg. for Visio look in the source location for a folder named Visio.WW then edit the file VisioWW.xml and look for ProductCode.

    btw thanks for this post, this solution worked for me :)

    ReplyDelete
  4. cool. thanks for the instructions. it works :-))

    christina

    ReplyDelete
  5. this is worked good work thanks for sharing

    ReplyDelete
  6. What should the detection method be if I am running an uninstall script?

    ReplyDelete