IBM Support

HRESULT: 0x80073CF6, Package could not be registered

Troubleshooting


Problem

When install a Maximo Anywhere Windows application to the device, the Application Center install might throw an error similar to HRESULT: 0x80073CF6, Package could not be registered

Symptom

Unable to install Maximo Anywhere applications on the device, the Application Center Installer throws an error regarding a duplicate package being registered.

Deployment failed with HRESULT: 0x80073CF6, Package could not be registered

error 0x8000700A0: Windows cannot register the package because an 'ActivatableClassID with the same name already exists: 'WinRTBarcodeReader.Reader'. Provide a different name and try again.

Cause

This is caused by the Anywhere build including multiple extensions for WinRTBarcodeReader.Reader.

Resolving The Problem

The WinRTBarcodeReader.Reader is dynamically generated on to the appxmanifest files located in the following directory when the applications are built.

\IBM\Anywhere\MaximoAnywhere\apps\WorkExecution\windows8\native\bin\x64\Release\AppXManifest.xml

However it is also defined in the package.appxmanifest file located in the following directory.

IBM\Anywhere\MaximoAnywhere\apps\WorkExecution\windows8\native

As the file is dynamically generated the duplicate entry can be removed from the package.appxmanifest file by deleting the following entry from the file.

<Extension Category="windows.activatableClass.inProcessServer">
<InProcessServer>
<Path>CLRHost.dll</Path>
<ActivatableClass ActivatableClassId="WinRTBarcodeReader.Reader" ThreadingModel="both" />
</InProcessServer>
</Extension>
</Extensions>

Once removed save the file and build the Anywhere applications again. The error should now be resolved when attempting to install the application to a device.

Each application has a package.appxmanifest file, so the change would have to be made for every application being deployed.

This is also addressed via APAR IV81301.

[{"Product":{"code":"SSPJLC","label":"Maximo Anywhere"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5.2.1;7.5.2.2;7.6.0.0;7.6.1","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
17 June 2018

UID

swg21997427