Signature development procedures (making CAB) and allows us to use

xiaoxiao2021-03-06  50

1 Establish an installer, pack 2 files compressed with VB, use IExPree 2.0, select "Unpack the file and run the installation command", generate a "compressed run file" 3 pair "Compressed File" to sign, with Signcode (Before this, it is necessary to generate a certificate file, how to generate a while, say) 4 Write code, CLSID does not matter, as long as the format is the same! But there is another property called CodeBase to use your "compression Run files, such as: If your VB project has a version number, then it is changed to your version number, and even if you have installed your software, the version does not have your version number, it will be executed. Good installation, then start how to make a certificate to refer to here: http://msdn.microsoft.com/library/chs/default.asp? URL = / library / chs / vcore / html / create_signed_cab_files_for_mfc_and_atl_controls.asp 1 Download Certificate first Production tool http://download.microsoft.com/download/b/e/f/bef2551b-401d-4311-ab8f 13d3892b8154/codesigningx86.exe extract 2 Makecert.exe production certificate makecert -sk Luo Jun SK -SS Luo SS-N CN = "Luo Jun N" -m 12 Luojun.cer -sk Represents Private Key -ss Representation Description - N CN = "" This is the company name -M effective month luojun.cer output certificate name 3 Cert 2Spc.exe's instructions for establishing a publisher Cert2SPC Luojun.cer luojun.spc 4 has been created, then how to sign with SignCode? Step steps: (1) Next (2) Select the EXE file you want to sign, It is our "Compressed File" (3) Custom Next (4) From File Selection -> Select your "publisher's instruction file", ie Luojun.SPC file -> Next (5) The private key in CSP -> "Microsoft Strong Cryptographic Provide" -> "RSA FULL" -> "Luo Jun SK" -> "Signature" -> "Next" (6) Select an algorithm (personal prefer MD5) -> Next (7) Do not change here! -> Next (8) Enter the signature "Description" and "URL" (9) Add the timestamp to the data in: http :/timestamp.verign. COM / SCRIPTS / TIMSTAMP.DLL (10) Complete 5 All OK, you can put your compressed run file in Object :)

转载请注明原文地址:https://www.9cbs.com/read-83251.html

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.047, SQL: 9