\========================= COMMON ================================
If you used freeware version (0.5), read the section
in the end of this file.

IMPORTANT!!!
If you have another version of RichView Package installed,
you need to delete it from disk before installin this version!
If older version remains in paths where Delphi/C++Builder
searches for units, you will not be able to compile/run
your applications with RichView properly.
Even if the new version is installed, Delphi/C++Builder may
compile projects with older version (if it was not deleted).

Below are the instructions how to install components, 
how to run demos, how to integrate help into IDE. 
(Help file is integrated with more or less completeness, 
 depending on version of Delphi/C++Builder)

========================== Briefly ===============================

Subdirectory - Delphi/C++Builder Version
----------------------------------------
D3           - Delphi 3
D4           - Delphi 4
D5           - Delphi 5
D6           - Delphi 6
D7           - Delphi 7
D9           - Delphi 2005 (Delphi for Win32)
2006         - Turbo Delphi 2006, Borland Developer Studio 2006
               (Delphi for Win32 and C++Builder)
D2007        - Delphi 2007
TCPP         - Turbo C++ 2006
CB4          - C++Builder 4
CB5          - C++Builder 5
CB6          - C++Builder 6
Brief installation instructions:
0) For Delphi 3, see the note about JpegD3.dpk.
1) Open RVPkg*.* package, install it.
2) Open RDBVPkg*.* package, install it.
3) Make sure that the path to TRichView unit is included
   in the library path.
The detailed installation instructions are below.

========================= Delphi 3 ===============================

INSTALLING COMPONENTS
Components for Delphi 3 are in D3 directory.
Help file is in HELP directory.
IMPORTANT: 
(=problem description=) 
There is a problem in Delphi 3 with packages  which use jpeg.dcu unit (as RVPkgD3.dpk does).
Jpeg unit is not included in any package by default. 
If some package uses this unit, this unit is included in it implicitly. 
When second package tries to use it, Delphi says that jpeg unit 
is already implicitly contained in the first package, and the second package cannot be installed. 
Moreover, when such thing happens, you will not be able to install 
second package any more, even if you set correct dependencies manually 
(you will need to delete all compilation result files for packages 
manually, or install a new package under a new name).
(=what to do=)
The recommended way is to create a new package with jpeg unit, install it and 
specify that all packages which use jpeg unit require this package.
(a)If you have no third-party packages which use jpeg unit, 
  first open JpegD3.dpk package from D3 directory of RichView 
  (menu "File|Open") and click "Install" button in the package window 
  (this package contains only standart jpeg unit).
  Open RVPkgD3.dpk (menu "File|Open") and click "Install" button in
  the package window. 
  You can see what this package requires JpegD3 package 
  (click on "Requires" tab on package window).
  Repeat the steps above with RVDBPkgD3.dpk.
(b)If you have third-party package which already uses jpeg unit, please
 - uninstall this package 
   (menu "Component|Install Packages",
   select this package and click "Remove" button)
 - install JpegD3.dpk (see above)
 - open these old packages and make them to require JpegD3 package 
   (click on "Requires" tab in the package window, then click "Add" 
   button in the toolbar and add JpegD3.dcp from D3 directory of RichView
 - install RVPkgD3.dpk (see above)
 - if your version of Delphi supports database components, 
   install RVDBPkgD3.dpk.
Make sure that the path to TRichView units (D3 subdirectory) is included in the Delphi library path
(menu "Tools | Environment Options", tab "Library", "Library Path").

INSTALLING HELP
 - Copy RichView.hlp and RichView.cnt to HELP directory of Delphi
 - Open Delphi3.cfg in HELP directory of Delphi, and add line:
:Link RichView.hlp
 - Open Delphi3.cnt in HELP directory of Delphi 
  (it's possible that you'll need to use wordpad or other text editor 
   without file size limitation), and add two lines: 
:Include RichView.cnt
:Index RichView=RichView.hlp
 - delete all *.gid files from HELP directory of Delphi (these files are hidden!)

DEMOS
Demos are in Demos\Delphi subdirectory.
Some additional utilities are in Demos\Addins\.

========================= Delphi 4 ===============================

INSTALLING COMPONENTS
  Components for Delphi 4 are in D4 directory.
  Help file is in HELP directory.
  Open RVPkgD4.dpk (menu "File|Open") and click "Install" button 
in package window. 
  Repeat the steps above with RVDBPkgD4.dpk.
Make sure that the path to TRichView units (D4 subdirectory) is included in the Delphi library path
(menu "Tools | Environment Options", tab "Library", "Library Path").

INSTALLING HELP
- Copy RichView.hlp and RichView.cnt to HELP directory of Delphi
- Open Delphi4.cfg in HELP directory of Delphi, and add line:
:Link RichView.hlp
- Open Delphi4.cnt in HELP directory of Delphi, and add lines:
:Include RichView.cnt
:Index RichView=RichView.hlp
- delete all *.gid files from HELP directory of Delphi (these files are hidden!)

DEMOS
Demos are in Demos\Delphi subdirectory.
Some additional utilities are in Demos\Addins\.

========================= Delphi 5 ===============================

INSTALLING COMPONENTS
  Components for Delphi 5 are in D5 directory.
  Help file is in HELP directory.
  Open RVPkgD5.dpk (menu "File|Open") and click "Install" button 
in package window. 
  Repeat the steps above with RVDBPkgD5.dpk.
Make sure that the path to TRichView units (D5 subdirectory) is included in the Delphi library path
(menu "Tools | Environment Options", tab "Library", "Library Path").

INSTALLING HELP
In Delphi IDE, choose Help | Customize to open OpenHelp application.
Choose the Contents tab.
Choose Edit | Add Files.
Select RichView.cnt.
Click OK
Choose the Index tab.
Choose Edit | Add Files.
Select RichView.hlp.
Click OK
Choose the Link tab.
Choose Edit | Add Files.
Select RichView.hlp.
Click OK
Choose File | Save Project to update Delphi's help file.

DEMOS
Demos are in Demos\Delphi subdirectory.
Some additional utilities are in Demos\Addins\.

========================= Delphi 6 ===============================

INSTALLING COMPONENTS
  Components for Delphi 6 are in D6 directory.
  Open RVPkgD6.dpk (menu "File|Open") and click "Install" button 
in the package window. 
  Repeat the steps above with RVDBPkgD6.dpk.
Make sure that the path to TRichView units (D6 subdirectory) is included in the Delphi library path
(menu "Tools | Environment Options", tab "Library", "Library Path").

INSTALLING HELP
Choose menu "Help|Customize...". You'll see Borland OpenHelp Window.
Click the tab "Contents", then "Add files" button and add "RichView.cnt".
Click the tab "Index", then "Add files" button and add "RichView.hlp".
Click the tab "Link", then "Add files" button and add "RichView.hlp".
Click OpenHelp menu "File|Save project".

DEMOS
Demos are in Demos\Delphi subdirectory.
Some additional utilities are in Demos\Addins\.

========================= Delphi 7 ===============================

INSTALLING COMPONENTS
  Components for Delphi 7 are in D7 directory.
  Open RVPkgD7.dpk (menu "File|Open") and click "Install" button 
in the package window. 
  Repeat the steps above with RVDBPkgD7.dpk.
Make sure that the path to TRichView units (D7 subdirectory) is included in the Delphi library path
(menu "Tools | Environment Options", tab "Library", "Library Path").

DEMOS
Demos are in Demos\Delphi subdirectory.
Some additional utilities are in Demos\Addins\.

============================ BDS 2005 ============================

INSTALLING COMPONENTS
  Components for Delphi 2005 are in D9 directory.
  Open RVPkgD9.bdsproj (menu "File|Open"). In the Project Manager window,
  right-click the package name and choose "Install" in the context menu.
  Repeat the steps above with RVDBPkgD9.bdsproj.
Make sure that the path to TRichView units (D9 subdirectory) is included in the Delphi library path
(menu "Tools | Options", page "Environment Options | Delphi Options | Library - Win32",
"Library Path").

DEMOS
Demos are in Demos\Delphi subdirectory.
Some additional utilities are in Demos\Addins\.

=================== BDS 2006, Turbo Delphi 2006 ==================

INSTALLING COMPONENTS
  Components for Delphi and C++Builder 2006 are in 2006 directory.
  Open RVPkg2006.bdsproj (menu "File|Open"). In the Project Manager window,
  right-click the package name and choose "Install" in the context menu.
  Repeat the steps above with RVDBPkg2006.bdsproj.
Make sure that the path to TRichView units (2006 subdirectory) is included in the Delphi library path
(menu "Tools | Options", 
page "Environment Options | Delphi Options | Library - Win32", "Library Path" and
page "Environment Options | C++ Options | Path and Directories", "Search Path")

DEMOS
Demos are in Demos\Delphi subdirectory.
Some additional utilities are in Demos\Addins\.

======================== C++Builder 4 ============================

INSTALLING COMPONENTS
  Components for C++Builder 4 are in CB4 directory.
  Help file is in HELP directory.
  Open RVPkgCB4.bpk (menu "File|Open") 
and click "Install" button in package window.
  Repeat the steps above with RVDBPkgCB4.bpk.
Note: it may be necessary to edit include- and library- paths manually, 
if your C++Builder can't find *.hpp or *.obj files. 
Add path to components' directory to:
- menu "Tools|Environment Options", "Library" tab, 
  "Library path"
- menu "Project|Options", "Directories/Conditionals" tab, 
  "Include path" and "Library path"

INSTALLING HELP
- Copy RichView.hlp and RichView.cnt to HELP directory of C++Builder
- Open Bcb4.cfg in HELP directory of C++Builder, and add line:
:Link RichView.hlp
- Open Bcb4.cnt in HELP directory of C++Builder, and add lines:
:Include RichView.cnt
:Index RichView=RichView.hlp
- delete all *.gid files from HELP directory of C++Builder (these files are hidden!)

DEMOS
Demos are in Demos\CBuilder subdirectory.
Some additional utilities are in Demos\Addins\.

======================== C++Builder 5 ============================

INSTALLING COMPONENTS
  Components for C++Builder 5 are in CB5 directory.
  Open RVPkgCB5.bpk (menu "File|Open") 
and click "Install" button in package window.
  If your version of C++Builder supports database components, 
repeat the steps above with RVDBPkgCB5.bpk.
Note: it may be necessary to edit include- and library- paths manually, 
if your C++Builder can't find *.hpp or *.obj files. 
Add path to components' directory to:
- menu "Tools|Environment Options", "Library" tab, 
  "Library path"
- menu "Project|Options", "Directories/Conditionals" tab, 
  "Include path" and "Library path"

INSTALLING HELP
- Copy RichView.hlp and RichView.cnt to the HELP directory of C++Builder
Run C++Builder.
Click menu "Help|Customize...". You'll see Borland OpenHelp Window.
Click the tab "Contents", then "Add files" button and add "RichView.cnt".
Click the tab "Index", then "Add files" button and add "RichView.hlp".
Click the tab "Link", then "Add files" button and add "RichView.hlp".
Click OpenHelp menu "File|Save project".

DEMOS
Demos are in Demos\CBuilder subdirectory.
Some additional utilities are in Demos\Addins\.

======================== C++Builder 6 ============================

INSTALLING COMPONENTS
  Components for C++Builder 6 are in CB6 directory.
  Open RVPkgCB6.bpk (menu "File|Open") 
and click "Install" button in package window.
  Repeat the steps above with RVDBPkgCB6.bpk.
Note: it may be necessary to edit include- and library- paths manually, 
if your C++Builder can't find *.hpp or *.obj files. 
Add path to components' directory to:
- menu "Tools|Environment Options", "Library" tab, 
  "Library path"
- menu "Project|Options", "Directories/Conditionals" tab, 
  "Include path" and "Library path"

INSTALLING HELP
- Copy RichView.hlp and RichView.cnt to the HELP directory of C++Builder
Run C++Builder.
Click menu "Help|Customize...". You'll see Borland OpenHelp Window.
Click the tab "Contents", then "Add files" button and add "RichView.cnt".
Click the tab "Index", then "Add files" button and add "RichView.hlp".
Click the tab "Link", then "Add files" button and add "RichView.hlp".
Click OpenHelp menu "File|Save project".

DEMOS
Demos are in Demos\CBuilder subdirectory.
Some additional utilities are in Demos\Addins\.

======================== Turbo C++ 2006 ==========================

INSTALLING COMPONENTS
  Components for Turbo C++ 2006 are in TCPP directory.
  Open RVPkgTCPP.bdsproj (menu "File|Open"). In the Project Manager window,
  right-click the package name and choose "Install" in the context menu.
  Repeat the steps above with RVDBPkgTCPP.bdsproj.
Make sure that the path to TRichView units (TCPP subdirectory) is included in the TurboC++ library path
(menu "Tools | Options", 
page "Environment Options | C++ Options | Path and Directories", "Search Path").

DEMOS
Demos are in Demos\Delphi subdirectory.
Some additional utilities are in Demos\Addins\.

===== FOR USERS OF FREEWARE VERSION (0.5): =====

You can't use both freeware and shareware version
on the same Delphi or C++Builder instance.
If you have the old freeware version, please uninstall it
before installing the shareware one (and remove it from 
directories where Delphi/C++Builder searches for 
components).
You can try your existing projects with this version 
of RichView, but read "Compatibility with older versions 
of RichView" topic of RichView help before. Please save 
original code of these projects (old freeware version 
could not be able to load projects saved with new one, 
if you decide to return to old version).