Remko Weijnen's Blog (Remko's Blog)

About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like

Archive for the ‘UWP’ Category

signtool sign returns error 0x800700C1

I was trying to sign an .appx package that I created with the Desktop App Converter. However signtool returned the following error: Sign returned error: 0x800700C1
For more information, please see http://aka.ms/badexeformat

image

Sadly signtool doesn’t return more detailed information, even when passing the debug switch:

image

So what’s going on?

(more…)

  • 0 Comments
  • Filed under: UWP
  • DAC IconWhen using the Desktop App Converter there’s no need to sign the resulting .appx packages with your own code signing certificate when you submit them to the Store.

    However if you want to test the package on a different machine or distribute it to test users you may want to sign the .appx with a certificate.

    One option is to use the -sign parameter, in this case the Desktop App Converter generates a code signing certificate and signs the package with it. Although easy to use, it’s not very convenient if you want to distribute the .appx as you need to add the certificate to the Trusted People certificates store (for each user). See Run the Packaged App in the documentation.

    imageIf you want to sign the .appx package with a trusted certificate (e.g. issued by a trusted certificate authority such as DigiCert) you need to make sure that you pass the subject (the CN) from your code signing certificate to the Desktop App Converter (using the -Publisher parameter).

    (more…)

  • 0 Comments
  • Filed under: UWP
  • Donate


    Blogroll


    Categories


    Archives