Stephen Harris wrote:
> Addendum: I find that C:\Msys\1.0\bin or C:\texmf\miktex\bin
> or C:\Python23 will work individually; but combinations like
> Msys and Python, Msys and texmf, or Python and texmf, will
> fail to run the configure script, requiring sh.exe configure.
> I have installed to C:\LyX
Given your continued interest in this, together with the fact that you can
reproduce the problem (I cannot and, anyway, I've retired ;-)), perhaps
you might like to play with the installer yourself? You'll find the NSIS
scripts in the
development\Win32\packaging\installer
sub directory of the LyX 1.3.x sources. Or, alternatively, you can grab a
slightly modified (for your benefit) set from
http://www.lyx.org/~leeming/installer.zip (200kB)
which will unzip to
installer\
COPYING
abi_util_fileassoc.nsh
download.nsh
io_download.ini
io_summary.ini
io_ui_language.ini
is_user_admin.nsh
lyx_configure.C
lyx_configure.dll
lyxfunc.nsh
lyx_32x32.ico
lyx_installer.nsi
lyx_utils.nsh
strtrim.nsh
lyx_languages\
danish.nsh
dutch.nsh
english.nsh
french.nsh
german.nsh
italian.nsh
spanish.nsh
swedish.nsh
The main logic of the script is in lyx_installer.nsi which contains a line
!define PRODUCT_SOURCEDIR "C:\Program Files\LyX"
If you want to try and build the installer yourself (so that you can add
commentary/debug info to the thing) you should
* edit this line to point to your installed LyX files
* install NSIS (http://nsis.sourceforge.net/Download)
* copy lyx_configure.dll to
C:\Program Files\NSIS\Plugins\lyx_configure.dll
* build the package as
C:\Program Files\NSIS\makensis lyx_installer.nsi
The NSIS pages come with extensive documentation and Uwe is now extremely
fluent in the NSIS scripting language; I'm sure that he'll be able to
advise you further.
Personally, I'd start by adding lots of comments to
* the sources of the script
* C:\Program Files\LyX\Resources\lyx\configure
* lyx_configure.C --- although this also will require you to
rebuild the lyx_configure.dll .dll
to help diagnose what's going wrong.
Take a deep breathe (IMO the NSIS language is horrible in the extreme) and
Good luck!
--
Angus