sign.bat
cabarc.exe -s 6144 N FormDesigner.CAB FormDesigner/FormDesigner.ocx FormDesigner/Msvcp60.dll FormDesigner/FormDesigner.INF
pause
signcode FormDesigner.CAB -spc Certificate/Freeborders.cer -v Certificate/Freeborders.pvk -a sha1 -t http://timestamp.verisign.com/scripts/timstamp.dll -i www.freeborders.com -n "Form Desinger"
pause
FormDesigner.INF
; Sample INF file for FormDesigner.ocx
[version]
; version signature (same for both NT and Win95) do not remove
signature="$CHICAGO$"
AdvancedINF=2.0
[Add.Code]
FormDesigner.ocx=FormDesigner.ocx
; These are the necessary supporting DLLs for MFC 4.2 ActiveX Controls
Msvcp60.dll=Msvcp60.dll
;mfc42file
mfc42.dll=mfc42.dll
msvcrt.dll=msvcrt.dll
olepro32.dll=olepro32.dll
; thiscab is a keyword which, in this case, means that Spindial.ocx
; can be found in the same .cab file as this .inf file
; file-win32-x86 is an x86 platform specific identifier
; See the ActiveX SDK - ActiveX Controls - Internet Component Download -
; Packaging component code for automatic download
; needed ocx
[FormDesigner.ocx]
file-win32-x86=thiscab
clsid={173D960C-28DA-4416-880A-CEF7489FD76E}
FileVersion=0,1,5,2
RegisterServer=yes
; dependent DLLs
[Msvcp60.dll]
file-win32-x86=thiscab
FileVersion=6,0,0,8168
DestDir=11
RegisterServer=yes
[mfc42.dll]
FileVersion=6,00,8665,0
hook=mfc42installer
[msvcrt.dll]
FileVersion=6,00,8797,0
hook=mfc42installer
[olepro32.dll]
FileVersion=5,0,4277
hook=mfc42installer
[mfc42installer]
file-win32-x86=http://activex.microsoft.com/controls/vc/mfc42.cab
run=%EXTRACT_DIR%/mfc42.exe
; end of INF file