- 作者:xiaoxiao
- 发表时间:2020-12-23 10:39
- 来源:未知
sign.bat
cabarc.exe -s 6144 N FormDesigner.CAB FormDesigner/FormDesigner.ocx FormDesigner/Msvcp60.dll FormDesigner/FormDesigner.INFpausesigncode 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 removesignature="$CHICAGO$"AdvancedINF=2.0
[Add.Code]FormDesigner.ocx=FormDesigner.ocx; These are the necessary supporting DLLs for MFC 4.2 ActiveX ControlsMsvcp60.dll=Msvcp60.dll;mfc42filemfc42.dll=mfc42.dllmsvcrt.dll=msvcrt.dllolepro32.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=thiscabclsid={173D960C-28DA-4416-880A-CEF7489FD76E} FileVersion=0,1,5,2RegisterServer=yes
; dependent DLLs[Msvcp60.dll]file-win32-x86=thiscabFileVersion=6,0,0,8168DestDir=11RegisterServer=yes
[mfc42.dll]FileVersion=6,00,8665,0hook=mfc42installer
[msvcrt.dll]FileVersion=6,00,8797,0hook=mfc42installer
[olepro32.dll]FileVersion=5,0,4277hook=mfc42installer
[mfc42installer]file-win32-x86=http://activex.microsoft.com/controls/vc/mfc42.cabrun=%EXTRACT_DIR%/mfc42.exe
; end of INF file