Consultor Eletrônico



Kbase P3271: How to deploy Progress, Application and Database on CD to run Read Only
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

GOAL:

How to deploy Progress, Application and Database on CD to run Read Only

GOAL:

How do I set up my application on CD for read only?

GOAL:

How do I create a demo program on CD for read only?

GOAL:

This works with Progress 8.3x and lower - 9.1x contains hardcoded paths in db-file.

FACT(s) (Environment):

Progress 8.3x

FIX:

To perform this, you will need the following:

a. Progress installed on a machine.
b. A copy of the database.
c. The application r-code.

Now perform the following steps:

1. Prepare this by creating a directory structure similar to the following:

DB
DLC
DLC\BIN
APP

2. Copy the database files into the DB directory.

3. Copy the following files from your Progress install into the DLC directory.

progress.cfg
convmap.cp
promsgs
startup.pf

4. Copy the contents of the DLC\BIN directory (files only) which you have installed on your machine into the newly created DLC\BIN directory.

5. Create a myapp.pf file with the following:

-T C:\Temp (or another directory on a local hard disk)
-db \DB\Sports2000 -RO (replace with your own DB name)
-p \App\test.r (Your startup file for your application)

6. Create a startup command file to launch your application, in this example:

<myapp.bat>
SET DLC=\DLC
%DLC%\BIN\PROWIN32 -pf \myapp.pf /* for GUI client */
%DLC%\BIN\_progres -pf \myapp.pf /* for character client */

7. Modify the Progress.ini file in the DLC\Bin directory and make sure the following entry is correct within the [Startup] section:

UseSourceEditor=no