Criteria for creating directories  Chapter 4: Getting Ready to Install

Chapter 3: Installation and Configuration Overview

If you have other Sybase products installed

If you have another Sybase product installed on the machine on which you plan to install DirectConnect, before you begin the installation, you need to know:

The DCStart utility discussed in Appendix B, “Using DirectConnect Utilities,” can do most or all of the work of properly setting the required environment for DirectConnect as well as starting it.

NoteThe DirectConnect utilities are not used with DirectConnect for Oracle.

However, the DirectConnect installation process may change certain “system-wide” environment variables on which your present Sybase application depends, so you must set these variables back to their original values following the DirectConnect installation. To do this, you must “capture” the current system environment and save it to a file before proceeding with the installation of DirectConnect. You will refer to this file after installing DirectConnect to reset the system environment. To capture the current environment, open a DOS window and execute the following command:

set > preinstall.txt

A file named preinstall.txt will then be created in the current directory. You can view this file with Notepad or another text editor or viewer.

After you have installed DirectConnect, you execute this same command again, except this time, you redirect the output to a different file, such as postinstall.txt. For example:

set > postinstall.txt

You can now compare the two files and reset any changed system variables to their original values by selecting Start from the Windows task bar, and then choosing Control Panel|System and selecting the Environment tab.

Then, to start DirectConnect, you can use either the DCStart utility or the information in the postinstall.txt file to write your own batch file. The batch file should:





Copyright © 2005. Sybase Inc. All rights reserved. Chapter 4: Getting Ready to Install

View this book as PDF