[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