Stephen Harris wrote:
I think the default install directory is C:\TexLive2005, I don't
remember
any choice for changing the directory which is called "TLroot"
Don't know if this will help but I saw TLroot associated with the entry
for C:\TexLive2005 in
My Computer\HKEY_LOCAL_MACHINE\System\Controlset001
\Control\Session Manager\Environment
(also TEXMFTEMP , TEXMFCNF, but nothing latex.exe specific)
SH: I am a computist rather than a developer, so take this ? with a
grain of salt as I'm asking out of curiousity. I thought the TLroot
value (the default C:\TexLive2005 in this case) could be used as
a variable to check for C:\TLroot\texmf\miktex\bin where latex.exe
lives? I'm in not challenging the method you adopted, just interested.
The problem are the different available installers for TeXLive on
Windows. I cannot assure that all registry entries are set by all
installers. After looking at
http://www.tug.org/texlive/windows.html
I decided to use the PATH variable to check for the path to the latex.exe.
But does the latex.exe really live in
C:\TexLive2005\texmf\miktex\bin
and not in
C:\TexLive2005\bin\win32
as described in the webpage from above?
If yes my method doesn't find but anyway I'll change the code to prevent
these kind of bugs in the future.
thanks and regards Uwe