SuivantPrec.Bas prec.BasNiv. sup.

6.6 Modification of the installation directory 

The Rosetta distribution installs on the hard disk only a very small number of files, essentially configuration files and batch files that permit to customize the launching of some programs. In the remainder, one will call these files the kernel of Rosetta.

The kernel of Rosetta is installed in the directory contained in the environment variable ASTEXDIR if the latter is defined, in the directory C:\ast\astex otherwise. If the AsTeX distribution is installed already on your machine, ASTEXDIR is defined and the kernel of Rosetta is installed automatically in the same directory as the kernel of AsTeX. If the AsTeX distribution is not installed and that the default directory doesn't suit your needs, you can change it by giving as value to the variable ASTEXDIR the name of the directory where you want to install the kernel of Rosetta.

Under Windows 9x (95/98/ME), ASTEXDIR can be defined in the file autoexec.bat. Under Windows NTx (4.0/2000/XP), it can also be defined in the autoexec.bat (in which case it will be known of all users for which the procedure of initialization reads this file) or in the registry database (in this case, you must be logged in under a user's name belonging to the groups Administrators or User with power (?) to be allowed to access it). If she/it is defined in the two, the value in the registry database has pre-emption. So ASTEXDIR is defined in the autoexec.bat, it is necessary to start again the machine so that the value is taken into account. In any case and under all versions of Windows, it is advisable to open a command window and to type set to verify whether this variable is defined and has the correct value.

For example, if you want to put the kernel of Rosetta in the directory J:\Programs\Rosetta and that you choose to define ASTEXDIR in your file autoexec.bat, add the line

set ASTEXDIR=J:\Programs\Rosetta
in this file, restart your machine and proceed with the installation as indicated in the section 2.3.

If the name of the installation directory contains the white, it must be registered in ASTEXDIR with the MS-DOS notation. For example, if you want to put the kernel of Rosetta in the directory J:\Program Files\Rosetta, the line to add to the autoexec.bat will be written

set ASTEXDIR=J:\Progra~1\Rosetta
Under Windows NTx, if you want to define rather ASTEXDIR in the registry database, go in the tab Environment (NT 4.0) or Environment variables (NT 2000/XP) of the dialog box Properties of the system of the configuration panel. If you want that ASTEXDIR is known only to the present user, define it in the frame User variables. If you want it to be known to all users, log in under a user's name belonging to the group Administrators and define it in the frame System variables (or define it in the autoexec.bat , as indicated above).

There again, ensure that the short name of the installation directory is correct, by opening a command window and typing dir J:\pro* (under Win9x) or dir /X J:\pro* (under WinNTx). The number can be something else than 1 if you have several directories whose names have the same first eight characters.

Whatever is the way chosen to define ASTEXDIR, once its value is fixed, the installation of the CD-ROM can be done by restarting the machine and installing the CD-ROM as indicated in sec. 2.3.

SuivantPrec.Bas prec.HautNiv. sup.