Forum Discussion

pbertolino's avatar
pbertolino
Copper Contributor
Jul 05, 2022
Solved

Code signing works on exe but doesn't on msix

Hi there, I'm used to code sign our exe (built with Visual Studio and packed with Innosetup) without problem: signtool.exe sign /n "oursoft" .\oursoft.exe Done Adding Additional Store Successfull...
  • pbertolino's avatar
    Jul 10, 2022
    I finally fixed the problem: it was the publisher name that was incomplete:
    When signing our Innosetup install, "CN=Ourcompany" was sufficient for the signing procedure to be successful.
    While when signing the MSIX intall, it was not. It should have been " CN=Ourcompany, O=Ourcompany, S=Auvergne-Rhône-Alpes, C=FR, OID......."
    I found the right publisher name value thanks to the Windows event viewer application that reported the details of the error.
    The section to check was: Microsoft-Windows-AppxPackagingOM

    I hope this will save time to somebody.

    Pascal

Resources