views:

1238

answers:

1
  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.

A: 

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.

AndiDog
There is very bad explanation on this support page. There is no good examples of usage of signtool.exe. PS.I am not .Net developer.
Vladimir Bezugliy
I don't see what you mean. The link I posted explains how to sign a CAB file using the command line tool "signcode.exe" (which is now called "signtool.exe"). So what exactly is your problem with it?
AndiDog
Do they use exactly the same parameters?
Vladimir Bezugliy
Edited my answer.
AndiDog
Thank you very much!I will try these examples.
Vladimir Bezugliy
The parameter signtool signwizard is no longer supported in the windows sdk 7.0
Shurup
@Shurup: They don't seem to support the signing GUI wizard anymore. https://connect.microsoft.com/VisualStudio/feedback/details/535430/signtool-error-invalid-command-signwizard
AndiDog