Files necessary to create the mailbox agent can be built as a set by executing the makefile under \BKOFFICE\SAMPLES\EXCHANGE, or each individual sample application can be built.
\BKOFFICE\SAMPLES\EXCHANGE
This process takes 45 minutes or more, depending on the performance of your computer. At least 12 MB of disk space is required.
\BKOFFICE\SAMPLES\EXCHANGE\SMBAGENT
\BKOFFICE\SAMPLES\EXCHANGE\SMBADMIN
If you have not changed the SMBAGENT or SMBADMIN source files, you can prepare your files for the MBSETUP install program by executing the makefile in the MBSETUP directory.
\BKOFFICE\SAMPLES\EXCHANGE\MBSETUP
NMAKE /F MBSETUP.MAK
The process will use the default settings for the BLDTYPE and TARGETDIR environment variables unless you include these parameters on the command line. To view the environment variables, type SET at the command prompt.
Executing this makefile will automatically change the MBSETUP.INF file and move your files from their present directory location to the directory from which they are to be installed.
If you have changed any of the files or if your directory structure is not standard, you may want to move the files to the target directory individually and edit the MBSETUP.INF file. In that case, change the MBSETUP.INF file by following the steps in the following procedure.
\BKOFFICE\BIN\SAMPLEMB\MBSETUP.INF contains the following lines:
[Local]
1, smbagent.exe,,,, 1996-06-29, !DECOMPRESS,,, !READONLY,,,,,,
876444,,,,, !VITAL
[Server]
1, smbadmin.dll,,,, 1996-06-29, !DECOMPRESS,,, !READONLY,,,,,,
23484184,,,, !VITAL
The numbers 876444 and 23484184 are the file sizes of SMBAGENT.EXE and SMBADMIN.DLL, respectively, in this example file. The numbers will vary for different versions of the MBSETUP.INF file. If these numbers do not match the actual sizes of the files on disk, errors will occur when you attempt to install SMBAGENT.
\BKOFFICE\SAMPLES\SMBAGENT\WIN32\DEBUG
Type DIR to list the files in this directory. Check the size of SMBAGENT.EXE and change the MBSETUP.INF file if the numbers do not match. Then find the actual file size for the SMBADMIN.DLL file by changing to the directory containing the file:
\BKOFFICE\SAMPLES\SMBADMIN\WIN32\DEBUG
Type DIR. Note the file's size and change the size in the MBSETUP.INF file if needed. If the numbers in the MBSETUP.INF file do not match the actual sizes of the files on disk, errors will occur when you try to install SMBAGENT.