Reviewed recent changes in PMImport v7.2.x; found all Software Updates fail with Exit Code 31 during the Software Update Cycle.
Exit Code 31
Patch Management 7.5.x, 7.6.x and 8.x
Found HKEY_CLASSES_ROOT\TypeLib\{6D6961DE-9B0E-433F-9743-119447B5653D}\1.0\0 registry existed for Win32 pointing to a non-existent file at C:\Program Files (x86)\Altiris\Altiris Agent\Agents\SoftwareManagement\smfagent.dll
Additionally, found a one-off situation where the Symantec Management Agent had become corrupt within the environment.
This issue was resolved in PMImport v7.2.25 released on 5/4/17: Includes updated files to fix this issue.
Workaround:
Additional workaround if removing registry above fails to resolve in a one-off situation: