发表于:2007-01-19 16:45:00
22楼
Creating CAB Files
RSView Enterprise Supervisory Edition uses CAB files to automatically
install the correct versions of ActiveX controls for RSView displays.
To create CAB files use CABARC.exe, which is installed with the RSView
Enterprise Supervisory Edition software. You will find CABARC.exe,
CABARAC.doc (documentation for the CABARC program), and related files in
the following directory:
c:\Documents and Settings\All Users\Shared Documents\RSView Enterprise\ActiveX Control Setup\
If you have Visual Basic 5.0 you can also use the Application Setup
Wizard to create CAB files. To do this select the "Create Internet
Download Setup" option. For Visual Basic 6.0 use the "Package
and Deployment" Wizard to create an Internet Package. See the VB
documentation for details.
You can download the complete CAB File SDK from the internet at:
http://msdn.microsoft.com/workshop/management/cab/cabdl.asp
Advanced information on INF files can be found from the internet by
searching for "INF File Architecture" at:
http://search.microsoft.com/us/dev/.
Store any CAB files that you create in the ActiveXControlSetup
directory on the computer that runs the RSView HMI server.
CAB files must follow the naming conventions described below.
=========================================================================
CAB File Naming Conventions for RSView Enterprise SE Clients
RSView Enterprise SE expects CAB files to be named as follows:
FilenameExt.CAB
where
Filename - is the file name of the ActiveX control executable file.
Ext - is the extension of the ActiveX control file name (e.g. dll
or ocx).
For example: yourctrldll.cab is the required CAB file name for the yourctrl.dll
ActiveX control.
If a CAB file contains multiple ActiveX controls that each use different
executables, you will have to duplicate the CAB file for each ActiveX
control executable and name it to correspond with the executable.
=========================================================================