Hi everyone,
I am trying out Advanced Installer to convert our product to MSIX, since I am running into issues with the Packaging Tool that Microsoft offers. We have a large product with many components. Previously, I have successfully gotten an MSIX using the Advanced Repackager -> Advanced Installer workflow. Unfortunately, when I try to capture the install of all of our components (first and third party), the MSIX always seems to be invalid.
Here are my symptoms:
When the digital signature option is checked, signtool fails during MSIX creation process as follows:
SignTool Error: This file format cannot be signed because it is not recognized.
SignTool Error: An error occurred while attempting to sign: x.msix
If I deselect signing through Advanced Installer, the MSIX seemingly creates successfully. However, I cannot sign it manually with signtool (same error). Additionally, when trying to double-click it to "install" it (expecting to see the "cannot install unsigned package" error), I do not get that error, instead I get "Error in parsing the app package."
It seems that the tool is creating an invalid MSIX package for me. This thread (viewtopic.php?t=34376) seems to be similar, but I am using the latest version (15.7).
When I try to reopen the invalid MSIX in Advanced Installer, I get the following error:
"Parse error in file: "C:\Users\admin\Desktop\x.msix" at line: [1] column: [2] (code: not well-formed (invalid token))
At one point, I used 7-zip to extract the MSIX and got some errors on specific files. I deleted those and now 7-zip is happy, but not Windows.
Are there any ideas or suggestions? The generated MSIX file is 9.11GB if this is relevant. Thank you!