When attempting to upgrade CA Service Management to R17.x, you may receive the following error in the installer:
"Common Administration Framework (CAF) Install/Upgrade Failed"
Screenshots (CASM is being installed in German language):
The problem is found to occur ONLY in environments where CA Service Catalog is being upgraded as part of the CA Service Management upgrade to R17.x, where CA DSM r12 Application Framework is installed. The installer attempts to run the "command "taskkill /F /IM CAF.exe" " to kill the CAF process, however, the process fails to stop, or is automatically restarted by some other mechanism, thus the installer is not able to upgrade this piece of the product, and throws the error.
The workaround for this if you encounter this error is to stop the "CA DSM r12 Application Framework" service from the services console, and then click the "Retry" button on the installer, which should allow the install to continue from where it left off and successfully complete.