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
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.
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.
However it is also defined in the package.appxmanifest file located in the following directory.
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.
<ActivatableClass ActivatableClassId="WinRTBarcodeReader.Reader" ThreadingModel="both" />
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.
17 June 2018