aroy
Posts: 3
Joined: Tue Mar 26, 2019 7:45 am

Re: Error signing appx file

Hi,

certmgr.exe was missing when I tried to create certificate using the tool as shown above.
I installed visual studio community edition and then created certificate using the tool.
Everything is working fine now. :)

Thanks for the help!

-Roy
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error signing appx file

You are always welcome Roy.

I am glad you got this working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
TTbeelivio
Posts: 9
Joined: Fri Mar 13, 2020 1:39 pm

Re: Error signing appx file

Using Advanced Installer v17.0.0 i experience this problem when i try to build MSIx installer containing APPX build(UWP application).
This is the log i get:
[ Build_MSIX_APPX ]
Detecting Signtool compatibility
Detecting MSIX/APPX incompatible resources
ERROR: UWP Package. The package logo is missing '125, 150, 200, 400' image scale(s).
ERROR: UWP Application. The application 'FileMover.exe' is missing 125, 150, 200, 400 'Medium' image scale(s)
ERROR: UWP Application. The application 'FileMover.exe' is missing 125, 150, 200, 400 'App Icon' image scale(s)
Creating resources.pri file(s)
Building MSIX package:
C:\Users\timotej.jakimovski\Documents\Advanced Installer\Projects\MSIx-Test\Build_MSIX_APPXSetupFiles\MSIx-Test-x64.msix
Preparing files
Preparing data for MSIX package
Creating AppxManifest.xml file
Validating AppxManifest.xml file
Creating registry file(s)
Creating [Content_Types].xml file
Creating MSIX file
Signing MSIX file
The digital signing of the MSIX/APPX failed. Error message: 'Done Adding Additional Store

Number of errors: 1
SignTool Error: This file format cannot be signed because it is not recognized.
SignTool Error: An error occurred while attempting to sign: C:\Users\timotej.jakimovski\Documents\Advanced Installer\Projects\MSIx-Test\Build_MSIX_APPXSetupFiles\MSIx-Test-x64.msix
File "C:\Users\timotej.jakimovski\Documents\Advanced Installer\Projects\MSIx-Test\Build_MSIX_APPXSetupFiles\MSIx-Test-x64.msix" can not be signed!

For a possible solution please check our Digital Signature FAQ from:
https://www.advancedinstaller.com/user- ... ature.html '

Build finished because an error was encountered.
I humbly ask for your guidance and suggestions through this issue.

Thank you
Catalin
Posts: 7492
Joined: Wed Jun 13, 2018 7:49 am

Re: Error signing appx file

Hello Timotej,

First of all, for a better overview about MSIX signing, please have a look over the following blog post:

MSIX Digital Signing

Please make sure that the prerequisites for signing an MSIX package are respected. For instance, please make sure that your certificate uses a SHA256 algorithm.

Additionally, could you please try to manually sign the setup package outside of Advanced Installer and let me know if everything is working as expected? Since Advanced Installer comes with SignTool bundled, please go to "Settings" --> "External Tools" --> copy the path to the SignTool from there and then try to manually sign the package with it.

If this does not work, then I'm afraid there might be a problem between the certificate and the MSIX package, most probably not being compatible.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”