关于Applet打成.cab包工具的介绍与使用
1、MS的CabSDK,DOS下的CAB打包工具
Microsoft Cabinet Software Development Kit
http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b310618
可以从这里下载
http://download.microsoft.com/download/platformsdk/cab/2.0/w98nt42kmexp/en-us/cabsdk.exe
安装后运行CABARC.EXE来操作
具体命令如下:
Usage: CABARC [options] command cabfile [@list] [files] [dest_dir]
Commands:
L List contents of cabinet (e.g. cabarc l test.cab)
N Create new cabinet (e.g. cabarc n test.cab *.c app.mak *.h)
X Extract file(s) from cabinet (e.g. cabarc x test.cab foo*.c)
Options:
-c Confirm files to be operated on
-o When extracting, overwrite without asking for confirmation
-m Set compression type [LZX:<15..21>|MSZIP|NONE], (default is MSZIP)
-p Preserve path names (absolute paths not allowed)
-P Strip specified prefix from files when added
-r Recurse into subdirectories when adding files (see -p also)
-s Reserve space in cabinet for signing (e.g. -s 6144 reserves 6K bytes)
-i Set cabinet set ID when creating cabinets (default is 0)
Notes
-----
When creating a cabinet, the plus sign (+) may be used as a filename
to force a folder boundary; e.g. cabarc n test.cab *.c test.h + *.bmp
When extracting files to disk, the <dest_dir>, if provided, must end in
a backslash; e.g. cabarc x test.cab bar*.cpp *.h d:\test\
The -P (strip prefix) option can be used to strip out path information
e.g. cabarc -r -p -P myproj\ a test.cab myproj\balloon\*.*
The -P option can be used multiple times to strip out multiple paths
2、WinCAB,图形界面的CAB打包工具,直接进行拖拉操作
http://lumumba.uhasselt.be/takis/WinCAB/
可以从这里下载
http://beta.luc.ac.be/takis/cgi-bin/wincab.zip
安装后,运行WinCAB.exe即可,操作差不多同压缩软件的操作
不过你先要把MS的MakeCab.exe拷贝到安装的目录下,才能运行的,MakeCab.exe在系统的目录下可以找到的,eg:Winnt\System32下。
WinCAB这个软件不错,我在用它!