How to sign CAB file using signtool.exe?

Volodymyr Bezuglyy picture Volodymyr Bezuglyy · Feb 2, 2010 · Viewed 10.3k times · Source
  1. I have 3 files
    mycert.cer
    mycert.pvk
    mycert.spc

Could someone please explain me - what this files should I use for?

  1. I need to sign Test.cab file using signtool.exe from command line. But I do not understand - how to do it.
    Manual http://msdn.microsoft.com/en-us/library/8s9b9yaz(VS.80).aspx is not very good :(

Thank you in advance.

Answer

AndiDog picture AndiDog · Feb 2, 2010

The Microsoft Support Page explains exactly what you're trying to do. It is an outdated tutorial on "signcode.exe" which is similar but not equal to "signtool.exe".

If you want a simple solution, you may want to try signtool's wizard mode (execute signtool signwizard), e.g. explained here. But if command line execution is needed, check out the examples on Microsoft's support page.