Collecting System Requirements
Gateways are usually installed and configured according to the user’s specified needs. It is good practice to collect and verify this data from the user at the beginning of the setup procedure through a series of interactive dialog boxes. This information tells the setup program which components to install and how to configure the user’s system.
Typical information to be gathered at this point includes:
-
The name of the Microsoft Exchange Server computer on which to install the gateway.
-
The site on which to install the gateway.
-
A display name for the gateway directory object.
-
A display name for the gateway service.
-
A path to the directory in which to install the gateway.
-
The Windows NT Server account name for the gateway service.
-
The Windows NT Server account password for the gateway service.
For example, the setup program for the sample gateway distributed with this SDK uses the following files to collect information at installation time:
-
DIALOGS.RC This file contains the dialog boxes that are displayed.
-
GWUISTF.C This program contains dialog box control routines and validates some of the entered data.
-
GWSETUP.C This program performs high-level dialog box control operations and performs some additional data validation.