.cab 파일로 ActiveX 웹 페이지에 배포하기

@cabarc.zip (56.3 KB)
@signcode.zip (9.97 KB)

161015.png
[PNG image (462.16 KB)]


[version]
; version signature (same for both NT and Win95) do not remove
signature="$CHICAGO$"
AdvancedINF=2.0

[Add.Code]
AXTest.ocx=AXTest.ocx

[AXTest.ocx]
file-win32-x86=thiscab
; *** add your controls CLSID here ***
clsid={7A479FAD-AE19-42C8-A587-3AF946D46CFD}
; Add your ocx's file version here.
FileVersion=1,0,0,1
DestDir=11
RegisterServer=yes

cabarc.exe N AXTest.cab AXTest.ocx AXTest.inf

"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\makecert.exe" -sv "axtest.pvk" -n "CN= SECUVE AXTest" axtest.cer

"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\cert2spc.exe" "C:\Users\rhealove\Documents\Visual Studio 2008\Projects\AXTest\Debug\axtest.cer" "C:\Users\rhealove\Documents\Visual Studio 2008\Projects\AXTest\Debug\axtest.spc"

signcode.exe -v axtest.pvk -spc axtest.spc AXTest.cab

chktrust AXTest.cab

이 글에는 0 개의 댓글이 있습니다.