ActiveX Publishing Steps

xiaoxiao2021-03-06  53

Create a PVK file [private key file]

Makecert -sk Digitaltitan DigitalTITAN.PVKMAKECERT-N CN = Telstar Telstar

Create a CER file [Company Certificate]

Makecert -sk DigitalTITAN.PVK TELSTAR.CER

Create a SPC test software publisher certificate

Cert2spc root.cer telstar.cer telstar.spc

Create an INF file

[Version] Signature = "$ China $" Advancedinf = 2.0

[Add.code] WebOffice.ocx = WebOffice.ocxmfc70.dll = mfc70.dllmsvcrt.dll = msvcrt.dllolepro32.dll = olepro32.dll

[mfc70.dll] file-win32-x86 = thiscabfileversion = 7,0,9466,0dstdir = 11REGISTERSERVER = YES

[msvcrt.dll] file-win32-x86 = thiscabfileversion = 6, 1,9844,0destdir = 11REGISTERSERVER = YES

[olepro32.dll] file-win32-x86 = thiscabfileversion = 5, 0,4522,0destdir = 11REGISTERSERVER = YES

[WebOffice.ocx] file-win32-x86 = thiscabclsid = {05430EC0-69CA-437A-B1F9-4B78B8647BEA} fileversion = 1,0,0,1 registerserver = yes;

Create a CAB file Cabarc -s 6144 n WebOffice.cab msvcrt.dll msvcp70.dll msvcr70.dll mfc70.dll olepro32.dll asycfilt.dll stdole2.tlb weboffice.ocx WebOffice.inf

Sign with Code Signing Wizard A CAB file signcode.exe timestamp service: VeriSign time server, this is free .http: //timestamp.verign.com/scripts/timstamp.dll

Another: makecert -sk digitaltititankey -n "cn = telstar" -ss telstar telstar.cermakecert -is telstar -ic telstar.cer -ss telstarcompany.cer

Cert2spc mycert.cer mycert.spc

Package Tool Pack: Application Certificate: Win2000: Control Panel - Management Tool - Certificate Authority [No Update Components] http://127.0.0.1/certsrv/ Signature Toolkit: http://download.microsoft.com/download/ B / E / F / BEF2551B-401D-4311-AB8F-13D3892B8154 / CODesigningX86.exe Timestamp Service: VeriSign time server, this is free .http: //timestamp.veriign.com/scripts/timstamp.dll

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

New Post(0)