![161015.png 161015.png](/moniwiki/wiki.php/.cab%20%ED%8C%8C%EC%9D%BC%EB%A1%9C%20ActiveX%20%EC%9B%B9%20%ED%8E%98%EC%9D%B4%EC%A7%80%EC%97%90%20%EB%B0%B0%ED%8F%AC%ED%95%98%EA%B8%B0?action=download&value=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