My control is written by myself and now needs to be made into a. cab package so that it can automatically download registrations at the client. All I know is using the Cabarc.exe tool. But do not know how to write INF file, how to join the certificate.
ActiveX Publishing steps:
Create pvk file [private key file]
Makecert-sk Digitaltitan digitaltitan.pvk
Makecert-n Cn=telstar TelStar
Create a CER file [company certificate]
Makecert-sk digitaltitan.pvk Telstar.cer
Create SPC test software publisher Certificate
CERT2SPC Root.cer Telstar.cer TELSTAR.SPC
Creating INF Files
[Version]
Signature= "$CHINA $"
advancedinf=2.0
[Add.Code]
Weboffice.ocx=weboffice.ocx
Mfc70.dll=mfc70.dll
Msvcrt.dll=msvcrt.dll
Olepro32.dll=olepro32.dll
[MFC70.dll]
File-win32-x86=thiscab
fileversion=7,0,9466,0
destdir=11
Registerserver=yes
[Msvcrt.dll]
File-win32-x86=thiscab
fileversion=6,1,9844,0
destdir=11
Registerserver=yes
[Olepro32.dll]
File-win32-x86=thiscab
fileversion=5,0,4522,0
destdir=11
Registerserver=yes
[Weboffice.ocx]
File-win32-x86=http://10.70.151.253:9003/activex/weboffice.cab
Clsid={05430ec0-69ca-437a-b1f9-4b78b8647bea}
fileversion=1,0,0,1
Registerserver=yes
Creating a CAB File
Cabarc-s 6144 n weboffice.cab mfc70.dll msvcrt.dll Olepro32.dll. DLL STDOLE2. TLB Weboffice.ocx Weboffice.inf
Sign a CAB file with the Code Signing Wizard
SIGNCODE.exe
Other:
Makecert-sk digitaltitankey-n "Cn=telstar"-ss TelStar telstar.cer
Makecert-is Telstar-ic Telstar.cer-ss Telstarcompany.cer
CERT2SPC Mycert.cer MYCERT.SPC
ActiveX Publishing Tool Download Address
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.