Re: [tkined] Installation path on Win32

Erik Schoenfelder (schoenfr@gaertner.de)
Wed, 6 Jan 1999 10:58:37 +0100 (MET)

Hi,

Carmel> How can I go around this so that I can install Tcl/Tk and
Carmel> Scotty anywhere?

On the windows platform the following registry entries are used, if
present:

"Software\Scotty\Tnm\3.0.0"
with
"Library" pointing to the .../lib/tnm3.0.0 directory

and
"Software\Scotty\Tkined\1.5.0"
with
"Library" pointing to the .../lib/tkined1.5.0 directory

this is in scotty/win/tnmWinInit.c; there is too the code present
that, if the registry entries are not found, the environment variables
TKINED_LIBRARY and TNM_LIBRARY are looked up, and if this failes the
hardcoded paths are used:

the source is a good documentation on this:

/*
* Also initialize the tkined(library) variable which is used
* by tnmIned.c to locate Tkined specific files. This should
* be removed once Tkined gets integrated into Tnm.
*/

path = GetRegValue("Software\\Scotty\\Tkined\\" TKI_VERSION, "Library");
if (! path) {
path = getenv("TKINED_LIBRARY");
if (! path) {
path = TKINEDLIB;
}
}

i hope this helps,
Erik

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.