Some comments on the 167-1 installer

Giuseppe Bilotta writes:

>(1) I had to manually set the three environment variables Ruby 
>examines when looking for Tcl and Tk

That’s correct, if you don’t choose to install Tcl/Tk you must
set those values yourself.

>(2) OpenGL appears not to be functional (samples quit with the error:

Lyle and I will work that one out – I’ll put up a new version of the installer
sometime this week.

>About (1): would it be possible for the installer to detect other 
>Tcl/Tk installations, and then automatically de-select the component 
>and set the variables correctly?

I suppose; is there any general way to detect a Tcl/Tk installation?
Some registry key or such? If there is, I could look for that, but I
do not want to have to troll about the disk searching for it.

>About (2): what am I supposed to do?

Give us a few days :slight_smile:

/\ndy

Andrew Hunt wrote:

About (1): would it be possible for the installer to detect other
Tcl/Tk installations, and then automatically de-select the component
and set the variables correctly?

I suppose; is there any general way to detect a Tcl/Tk installation?
Some registry key or such? If there is, I could look for that, but I
do not want to have to troll about the disk searching for it.

ActiveState Tcl sets a registry entry in

HKLM\Software\ActiveState\ActiveTcl<version>

but it seems to only point out to the help system. One can probably
backtrace that path to see if the bins are in …\bin (as they usually
are.)

Don’t know for other installations (I used to have the standard
tcl/tk setup from the tcl home site on the other computer, but …)

Another way could be to check for the presence of the HKCR.tcl to
see who is it registered to. Looking for the default action of would
give you path and name of the executable and thus of the library.

About (2): what am I supposed to do?

Give us a few days :slight_smile:

Sure enough, whatever you need :slight_smile:

Thank you very much.

···


Giuseppe “Oblomov” Bilotta

Axiom I of the Giuseppe Bilotta
theory of IT:
Anything is better than MS