I. Making a CAB package: executing Cabarc -s 6144 N RemtcardSetup.cab Remart.dll Remard.inf-S 6144: Leave 6K space for signatures. INF file format = "$ Chicago $ "Advancedinf = 2.0
[RemtCard.code] RemtCard.dll = Rematcard.dll
[Autolive.dll] file-win32-x86 = thiscabclsid = {0914929F-9755-47E9-9A85-DF53D1A59961} fileversion = 1,0,0,1REGISTERSERRERVER = YES
Second, the production certificate: First download Authenticode for Internet Explorer 5.0 executing makecert -sk mynewkey -r -r -n "cn = certificate, OU = Certification, O = Company Name, E = Name @ email. com "-ss my mynew.cercert2spc mynew.cer mynew.spc
Third, for the CAB package: After executing SignCode in the command prompt, enter SignCodeWizard: Step1. Select the CAB file STEP2 you want to sign. Custom STEP3. Select the private key / key container in Mynew.spCstep4.csp from the file: MyneWKeystep5.Sha1Step6.nextstep7. Description: Plugin Name /web:www.yourcompany.comStep8.http://timestamp.veriSign.com/scripts/timstamp.dll
Finally, add such code users in the HTML file to download the control from the IE "Object ID = RemardctCTL CodeBase =" http://192.168.0.251/remtcard/remtcardsetup.cab "classid="clsid:0914929f-9755- 47E9-9A85-DF53D1A59961 "Viewastext"
Reference: Packaging ActiveX Controls
Digital Code Signing Step-by-Step Guide