Angus Leeming <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: > > Angus> The attached patch ensures that the LyX binary dir is the first > > Angus> element in the PATH on non-POSIX builds. The change will mean > > Angus> that fixes like Enrico Forestieri's, described here: > > Angus> http://marc.theaimsgroup.com/?l=lyx-devel&m=111851430815315&w=2 > > Angus> are much easier to apply. (His python.bat stuff.) > > > > The patches are OK in general, but I am not sure how it helps Enrico. > > > > JMarc > > He can create his python.bat in the LyX/bin dir and it will be found before > his broken python.exe symlink. At the moment I suspect that he has to add > this directory to the front of the path_prefix string. > > Angus
Actually, I am playing tricks with the installer ;-) As I already have in the path everything lyx needs, I created a C:\lyxbats directory where I put batch files. Before launching the installer, from a command line I do "touch sh.exe python.exe perl.exe ..." in that directory and point at it the installer for everything. Then, before continuing with the installation I "rm *.exe" the faked executables. I investigated the symlink thing and it turns out that Windows doesn't really supports symlinks. It has shortcuts (.lnk files) which do their job only using explorer windows but are inaccessible through cmd.exe. MinSys ln.exe works because it really does a copy of the file, whereas the cygwin ln.exe creates a shortcut (.lnk file). Enrico