This is the mail archive of the
mailing list for the Cygwin project.
Re: Determining the location of a Cygwin installation
Andrew DeFaria wrote:
Elfyn McBratney wrote:
But as cgf (the Really Cool Manager) said the registry keys are not to
be relied on as they might not be there forever.
Yeah but what I'm saying is that there should be a commitment to at
least one registry entry which denotes the [active] installation path of
Cygwin. IOW I was sort of requesting it. Again, it's only my opinion.
But to me it seems logical that you gotta know where to start... and the
registry is there, partially for such a purpose....
What do you mean by [active]? It is possible to have multiple cygwins
installed. The easiest way would be to have 2 different users install
local for "Just Me".
And about searching for "bin/cygwin1.dll". You could first try
"C:\cygwin\bin\" (which should match 99% of all cases), and only if that
fails, look for the DLL the hard way.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html