Create an appropriately named text file, specifying the following run-time and licensing options (one valid option per line), then deploy it to the same directory as your application.
Option | Description |
---|---|
Run-time options | |
set SERVERPATH=path-name | Specifies the name of the directory containing a
Enterprise Test Server installation that is to be used by the application executable.
path-name can be either an absolute or UNC path, or a path relative to the current directory. Only specify this option if the executable is built using dynamic linking. Run-time options are optional, but if set, only one option (SERVERPATH or BINPATH) may be specified. |
set BINPATH=path-name | Specifies the name of the directory containing the binary run-time files that are to be used by the application executable.
path-name can be either an absolute or UNC path, or a path relative to the current directory. Only specify this option if the executable is built using dynamic linking. Run-time options are optional, but if set, only one option (SERVERPATH or BINPATH) may be specified. |
SETENV var-name=var-value | Sets the environment variable var-name, with the value var-value. |
Licensing options | |
set CESDYNAMIC=file-name |
Note: This is optional, but if specified, it must appear after any entry for SERVERPATH or BINPATH.
Specifies the name of a CES configuration file (usually named CES.INI), which is used to initialize the licensing daemon, if it is not already running. If this option is not specified, the licensing daemon must already be installed and running on this machine. If file-name includes a directory name, the CES configuration file in that directory is used. If file-name does not include a specific directory then, if either SERVERPATH or BINPATH is specified, the CES configuration file should be located on the specified path (for BINPATH) or the bin or bin64 directory on the specified path (for SERVERPATH). In all other cases, the CES configuration file should be in the same directory as the main application executable. When specifying this option, the files mfcesd.exe (the Micro Focus licensing daemon) and mfcesdchk.exe (which checks if the Micro Focus licensing daemon is running) are also required. On a machine with licensing already installed, these can be found in the following location:
Deploy these files to one of the following locations:
|
#comment-line | Comment line. Content on this line is not processed. |