SOLVED

App Packager Error (0x80131500) with Multiple Apps

Copper Contributor

Hi,

 

As per the title, I'm seeing an App Packager Error when trying to package multiple apps, although some do work. Log file pasted below from trying to package Adobe Acrobat DC (21.11.20039.0), but the log errors is the same for every package that fails.

 

This is with MSIX Packaging Tool 1.2021.1105.0, running on a Hyper-V VM created via the Quick Create 'MSIX Packaging Tool Environment' option in Hyper-V Manager (so the VM is clean).

 

[14/01/2022 1:01:25 am] [Debug] MakeAppx : error: Failure at packageWriter2->Close( manifestStream, contentGroupMapStream.Get()) - 0x80080204 - The specified package format is not valid: The package manifest is not valid.
[14/01/2022 1:01:25 am] [Debug] MakeAppx : error: Error info: /*[local-name()="Package" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/foundation/windows10"]/*[local-name()="Applications" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/foundation/windows10"][1]/*[local-name()="Application" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/foundation/windows10"][1]/*[local-name()="Extensions" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/foundation/windows10"][1]/*[local-name()="Extension" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/com/windows10"][1]/*[local-name()="ComServer" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/com/windows10"][1]
[14/01/2022 1:01:25 am] [Debug] The keyref 'ca8a9780-280d-11cf-a24d-444553540000' does not resolve to a key for the Identity Constraint '{http://schemas.microsoft.com/appx/manifest/com/windows10}Class_Or_TreatAsClass_IdKey'.
[14/01/2022 1:01:25 am] [Debug] Cleaning up output file "\\?\%UserProfile%\Desktop\Packages\AdobeAcrobatDC_21.11.20039.0_x64__bn35v36ez2hmp.msix".
[14/01/2022 1:01:25 am] [Debug] MakeAppx : error: Failure at (CreatePackage( overwrite, hashAlgorithm, fileList, outputPath, manifestStream.Get(), forceCompressionNone, performanceOptions, encryptPackage, encryptionOptions, cgmPath, mainPackagePathForResourceExemption, makepriExeFullPath)) - 0x80080204 - The specified package format is not valid: The package manifest is not valid.
[14/01/2022 1:01:25 am] [Debug] MakeAppx : error: Package creation failed.
[14/01/2022 1:01:25 am] [Debug] MakeAppx : error: 0x80080204 - The specified package format is not valid: The package manifest is not valid.
[14/01/2022 1:01:25 am] [Error] MakeAppx.exe failed, exit code = 1
[14/01/2022 1:01:25 am] [Error] Error Finalizing Package: Process MakeAppx.exe failed with exit code 1.

 

Anyone have any ideas on what could be causing this?

 

Thanks for any help.

 

2 Replies
best response confirmed by bgre033 (Copper Contributor)
Solution
This seems to be a known issue in the 1105 build. Until a fix is released, the 709 build should work on this app.

@TIMOTHY_MANGAN 

 

Thanks for this. I can confirm 709 works as expected.

 

Download link below (from https://techcommunity.microsoft.com/t5/msix-blog/msix-packaging-tool-july-2020-release-is-now-availa...) in case anyone else come across this problem.

 

MSIX Packaging Tool 1.2020.709.0 

1 best response

Accepted Solutions
best response confirmed by bgre033 (Copper Contributor)
Solution
This seems to be a known issue in the 1105 build. Until a fix is released, the 709 build should work on this app.

View solution in original post