Received this little surprise installing SCSM 2012 CU2:
An error occurred while executing custom action: _Installhealthserviceperfcountersforpatching”
The setup log contains:
InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070002. momv3 “C:\Program Files\Microsoft System Center\Service Manager 2010\MOMConnectorCounters.ini” InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070002. MOMConnector InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070002. InstallPerfCountersLib: Retry Count : . InstallHSPerfCounters: Failed to install agent perf counters. Error Code: 0x80070002.
Note – We upgraded our SCSM 2010 environment in-place. Thus, the folder path.
Turns out, we were missing a registry key in PROD.
Found it and exported it from DEV and all is good.