Angus Leeming wrote:
What other files are needed?
That's precisely my point. I don't know. Off the top of my head:
sed, tr, cut, grep...
Looking at Ruurds Version, I know what is needed. I uploaded the files
as .rar to
http://wiki.lyx.org/uploads/Tools/LyXWinTest/lyxutils.rar
The files are the official actual versions. Taken from MSYS, Perl, and
Python.
>> Isn't it possible to add an actual version of perl.exe, python.exe
>> and sh.exe (and some dll's if needed) to the folder LyX\bin\ and use
>> these files for lyxrc.defaults by default (as Ruurd did)? This
>> solution shouldn't produce NSIS troubles.
> This solution will require
> 1. Extensive testing to ascertain which modules are needed by the
> scripts that LyX packages.
Why extensive testing? We know which files are needed and provide the
official actual versions (the same that are used in the actual MSYS
version).
> 2. Ongoing maintenance.
Only if some users have trouble. I remember only one problem since
LyXWin exists.
> Moreover, if I already have the "official" stuff installed why would I
> want to use the "unoffical" stuff?
The files are the official ones. They are tested and under full support
of the authors.
> Adding code to NSIS to conditionally install something is most
> certainly a "NSIS trouble" that I'm keen to avoid right now.
I don't understand why this is an NSIS topic? I would just add the files
to the package and use them as default. Then you don't have to search
for the path to the files as they are part of the LyXWin package.
> Would you prefer to use these stripped down things that people
> have been discovering don't work (see countleess reports on the
> lyx-users list), or would you prefer to use an official version which
> definitely will work but which requires a big download committment.
The "countless" reports concerned a problem with a sed.exe version. The
solution was to replace it by a newer one. But this problem can appear
everytime, because MSYS can also use a broken version. As the stripped
files are taken from MSYS, installing MSYS instead of using the stripped
files makes no difference. But we save the user from downloading and
installing packages he don't need.
The same is for the python/perl files. For example Openoffice delivers
the python23.dll and don't install python, so why shouldn't we do the same?
I installed your LyXWin version using the stripped files (I previously
deinstalled python, perl, and MSYS) and it works correctly. OK I have
not much time to test it roughly but I think it's stable.
There is now only one problem:
If I use the stripped files, the folder of the files (if you include
them to your package it is then LyX's \bin folder) must be in the PATH.
But that could easily be fixed.
regards Uwe