New Windows Installers for Testing

Enrico Forestieri forenr at lyx.org
Tue Jun 9 15:55:38 UTC 2020


On Tue, Jun 09, 2020 at 03:29:29PM +0200, Yu Jin wrote:
> Am Di., 9. Juni 2020 um 14:21 Uhr schrieb Jean-Marc Lasgouttes <
> lasgouttes at lyx.org>:
> 
> > Le 09/06/2020 à 13:51, Yu Jin a écrit :
> > >
> > >
> > > Am Di., 9. Juni 2020 um 13:12 Uhr schrieb Jean-Marc Lasgouttes
> > > <lasgouttes at lyx.org <mailto:lasgouttes at lyx.org>>:
> > >
> > >     We have to discuss whether running configure.py is necessary at
> > >     installation time. AFAIR, this is just a trick to make miktex install
> > >     all missing LaTeX packages (see the chkconfig.ltx part).
> > >
> > >     Is there any other use for doing it?
> > >
> > >
> > > Actually, if the user runs the installer as admin, then the packages
> > > will be installed as admin (in case the auto install for packages is
> > > allowed in MiKTeX preferences), which would not be the case if the
> > > installer wouldn't run configure.py and the user starts LyX after
> > > installation as user. So in this case it is worth running configure.py
> > > from the installer. In other cases it doesn't hurt too. Therefore I'd
> > > say we keep that functionality.
> >
> > If we want to cater for miktex, it would be much more effective to use
> > its API to provide a list of packages we need, rather than using the
> > side effect of automatic downloading packages when they are needed. I
> > suspect it would be much faster and would allow for a reasonable UI.
> >
> > OTOH, for texlive, running configure.py is just wasting time if I
> > understand correctly. And since a lot of packages are checked in
> > configure.py just for this, we are talking about a lot of time, here.
> >
> 
> I see, but don't we then save this time when LyX is started for the first
> time? Otherwise configure.py would run there.

I don't think so, because configure.py is run for the admin user at
installation time. It will be run again when lyx is started by another
user.

Then, there is also the issue that, before running configure.py, the
installer subverts the MikTeX settings by allowing to always install
packages on the fly, irrespective of the choice made through the
MikTeX console.

-- 
Enrico


More information about the lyx-devel mailing list