When applying the latest FCS hotfix such as KB979536 (or uninstalling the FCS client) the install fails with the following errors at the bottom of the MSI log;
MSI (s) (F8:A0) [17:38:46:253]: Note: 1: 1725 MSI (s) (F8:A0) [17:38:46:253]: Product: Microsoft Forefront Client Security Antimalware Service -- Removal failed.
Further inspection of the MSI log shows the following errors earlier in the log;
DIFXAPP: UninstallDriverPackages() DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.1. DIFXAPP: 'CustomActionData' property 'UI Level' is 2. DIFXAPP: 'CustomActionData' property 'componentId' is {153AA63E-3BFD-495C-A35F-85F66650141D}. DIFXAPP: 'CustomActionData' property 'flags' is 0x4. DIFXAPP: 'CustomActionData' property 'ProductName' is Microsoft Forefront Client Security Antimalware Service. DIFXAPP: 'CustomActionData' property 'ManufacturerName' is Microsoft Corporation. DIFXAPP: ERROR 0x2 encountered while opening persistent-info key for component '{153AA63E-3BFD-495C-A35F-85F66650141D}' DIFXAPP: UninstallDriverPackages failed with error 0x2 DIFXAPP: RETURN: UninstallDriverPackages() 2 (0x2)
The uninstall routine that occurs during the hotfix upgrade checks the DifX reg keys to perform it's operation. On a known good client the reg keys should look something like this;
By restoring the known good keys above the uninstall as well as hotfix upgrades are successful.