Re: Registry handling on windows (installer)

2020-04-05 Thread Yu Jin
Am So., 5. Apr. 2020 um 01:23 Uhr schrieb Richard Kimberly Heck < rikih...@lyx.org>: > On 3/27/20 2:23 PM, Yu Jin wrote: > > Am Fr., 27. März 2020 um 19:04 Uhr schrieb Richard Kimberly Heck < > rikih...@lyx.org>: > >> On 3/23/20 1:49 PM, Yu Jin wrote: >> >> Here is another patch, I updated the des

Re: Registry handling on windows (installer)

2020-04-04 Thread Richard Kimberly Heck
On 3/27/20 2:23 PM, Yu Jin wrote: > Am Fr., 27. März 2020 um 19:04 Uhr schrieb Richard Kimberly Heck > mailto:rikih...@lyx.org>>: > > On 3/23/20 1:49 PM, Yu Jin wrote: >> Here is another patch, I updated the description of DTL update, >> because the newer version does not work with mikt

Re: Registry handling on windows (installer)

2020-03-27 Thread Yu Jin
Am Fr., 27. März 2020 um 19:04 Uhr schrieb Richard Kimberly Heck < rikih...@lyx.org>: > On 3/23/20 1:49 PM, Yu Jin wrote: > > Here is another patch, I updated the description of DTL update, because > the newer version does not work with miktex, as discussed on the mailing > list today. > > Can you

Re: Registry handling on windows (installer)

2020-03-27 Thread Richard Kimberly Heck
On 3/23/20 1:49 PM, Yu Jin wrote: > Am Fr., 20. März 2020 um 21:05 Uhr schrieb Yu Jin > mailto:technikma...@gmail.com>>: > > Am Fr., 20. März 2020 um 20:16 Uhr schrieb Richard Kimberly Heck > mailto:rikih...@lyx.org>>: > > I will do so by the end of the weekend. The main question is

Re: Registry handling on windows (installer)

2020-03-23 Thread Yu Jin
Am Fr., 20. März 2020 um 21:05 Uhr schrieb Yu Jin : > Am Fr., 20. März 2020 um 20:16 Uhr schrieb Richard Kimberly Heck < > rikih...@lyx.org>: > >> I will do so by the end of the weekend. The main question is whether >> these will affect my 2.3.x builds in any way. > > You would have to change the

Re: Registry handling on windows (installer)

2020-03-20 Thread Yu Jin
Am Fr., 20. März 2020 um 20:16 Uhr schrieb Richard Kimberly Heck < rikih...@lyx.org>: > On 3/20/20 1:47 PM, Pavel Sanda wrote: > > On Tue, Mar 17, 2020 at 10:26:16AM +0100, Yu Jin wrote: > >>> I have created a batch file, which deletes the redundant files. I have > >>> decided to delete convert.ex

Re: Registry handling on windows (installer)

2020-03-20 Thread Richard Kimberly Heck
On 3/20/20 1:47 PM, Pavel Sanda wrote: > On Tue, Mar 17, 2020 at 10:26:16AM +0100, Yu Jin wrote: >>> I have created a batch file, which deletes the redundant files. I have >>> decided to delete convert.exe and leave magick.exe, because it aligns with >>> the installed version of imagemagick and wit

Re: Registry handling on windows (installer)

2020-03-20 Thread Pavel Sanda
On Tue, Mar 17, 2020 at 10:26:16AM +0100, Yu Jin wrote: > > I have created a batch file, which deletes the redundant files. I have > > decided to delete convert.exe and leave magick.exe, because it aligns with > > the installed version of imagemagick and with what was shipped with LyX > > until now

Re: Registry handling on windows (installer)

2020-03-17 Thread Yu Jin
Am Di., 10. März 2020 um 08:18 Uhr schrieb Yu Jin : > Am Mo., 9. März 2020 um 11:54 Uhr schrieb Pavel Sanda : > >> By scriptable I meant to have some kind of (shell?) script, which converts >> the downloaded imagemagick to the one which is distributed by us, >> if we make any changes to it. This w

Re: Registry handling on windows (installer)

2020-03-10 Thread Yu Jin
Am Mo., 9. März 2020 um 11:54 Uhr schrieb Pavel Sanda : > By scriptable I meant to have some kind of (shell?) script, which converts > the downloaded imagemagick to the one which is distributed by us, > if we make any changes to it. This would have two advatages: > 1. We are going to update imagem

Re: Registry handling on windows (installer)

2020-03-09 Thread Pavel Sanda
On Sat, Mar 07, 2020 at 09:11:33AM +0100, Yu Jin wrote: > Am Fr., 6. März 2020 um 19:09 Uhr schrieb Pavel Sanda : > > > I think we use 'convert' but other executables are looking as a good > > candidate > > for removal. > > Where do we use "convert"? There is no convert.exe in the current > depen

Re: Registry handling on windows (installer)

2020-03-09 Thread Yu Jin
Am So., 8. März 2020 um 16:42 Uhr schrieb Yu Jin : > Here is the second patch, for master, changing the discussed registry > handling. I also added a value "latestVersion" which should contain a > string with the newest installed LyX. > 3rd patch with the descriptions. Eugene 0001-description-f

Re: Registry handling on windows (installer)

2020-03-08 Thread Yu Jin
Am So., 8. März 2020 um 14:26 Uhr schrieb Yu Jin : > Here is the first patch, I fixed some nsis errors I got, added code for a > 64 bit installer and removed the registry hacking for imagemagick. > This is meant for both master and 2.3.x > > @Riki, I also uploaded the updated dependencies (contain

Re: Registry handling on windows (installer)

2020-03-08 Thread Yu Jin
Am Sa., 7. März 2020 um 09:11 Uhr schrieb Yu Jin : > So as far as I can see I should do following: > First update the dependencies with the portable imagemagick. > For stable: remove the registry writing part for imagemagick. > For master change the main registry key from "...\LyX${APP_VERSION}" t

Re: Registry handling on windows (installer)

2020-03-07 Thread Yu Jin
Am Fr., 6. März 2020 um 22:42 Uhr schrieb Jean-Marc Lasgouttes < lasgout...@lyx.org>: > No user has IM installed by default, and no package manager will do it > for us. I really think that shipping the few binaries that we need and > skipping the registry thing is the simplest solution for every

Re: Registry handling on windows (installer)

2020-03-07 Thread Stephan Witt
Am 07.03.2020 um 07:30 schrieb Daniel : > > On 2020-03-06 22:06, Richard Kimberly Heck wrote: >> On 3/6/20 3:24 PM, Daniel wrote: >>> On 2020-03-06 19:53, Richard Kimberly Heck wrote: There is something I have always wondered here, but never really understood. Why do WE end to install Im

Re: Registry handling on windows (installer)

2020-03-06 Thread Daniel
On 2020-03-06 22:06, Richard Kimberly Heck wrote: On 3/6/20 3:24 PM, Daniel wrote: On 2020-03-06 19:53, Richard Kimberly Heck wrote: There is something I have always wondered here, but never really understood. Why do WE end to install ImageMagick? Why can't we just have the user install it, lik

Re: Registry handling on windows (installer)

2020-03-06 Thread Jean-Marc Lasgouttes
Le 6 mars 2020 18:53:07 GMT+00:00, Richard Kimberly Heck a écrit : >There is something I have always wondered here, but never really >understood. Why do WE end to install ImageMagick? Why can't we just >have >the user install it, like we do on other platforms, and then detect it >via the regist

Re: Registry handling on windows (installer)

2020-03-06 Thread Richard Kimberly Heck
On 3/6/20 3:24 PM, Daniel wrote: > On 2020-03-06 19:53, Richard Kimberly Heck wrote: >> There is something I have always wondered here, but never really >> understood. Why do WE end to install ImageMagick? Why can't we just >> have the user install it, like we do on other platforms, and then >> det

Re: Registry handling on windows (installer)

2020-03-06 Thread Daniel
On 2020-03-06 19:53, Richard Kimberly Heck wrote: There is something I have always wondered here, but never really understood. Why do WE end to install ImageMagick? Why can't we just have the user install it, like we do on other platforms, and then detect it via the registry, if that's what we

Re: Registry handling on windows (installer)

2020-03-06 Thread Richard Kimberly Heck
On 3/6/20 5:21 AM, Yu Jin wrote: > Am Fr., 6. März 2020 um 10:21 Uhr schrieb Jean-Marc Lasgouttes > mailto:lasgout...@lyx.org>>: > > What I would propose for this kind of problem is to bundle a portable > version of imagemagick with LyX. I would expect that this does not > require regis

Re: Registry handling on windows (installer)

2020-03-06 Thread Richard Kimberly Heck
On 3/6/20 4:21 AM, Jean-Marc Lasgouttes wrote: > Le 06/03/2020 à 09:08, Yu Jin a écrit : >> Hi all, >> I've been training nsis and experimenting with the windows installer. >> I think I am somewhat confident with that topic now. The purpose of >> this Email is that I see some issues in the registry

Re: Registry handling on windows (installer)

2020-03-06 Thread Pavel Sanda
On Fri, Mar 06, 2020 at 11:21:36AM +0100, Yu Jin wrote: > what could be deleted? My first thought is that we could delete all of > those executables, which are the exact same size as "magick.exe", like > "convert.exe", "compare.exe" Wwe could delete "ffmpeg.exe" aswell, > because its not in th

Re: Registry handling on windows (installer)

2020-03-06 Thread Yu Jin
Am Fr., 6. März 2020 um 10:21 Uhr schrieb Jean-Marc Lasgouttes < lasgout...@lyx.org>: > What I would propose for this kind of problem is to bundle a portable > version of imagemagick with LyX. I would expect that this does not > require registry hacking. > Portable version would not need registry

Re: Registry handling on windows (installer)

2020-03-06 Thread Jean-Marc Lasgouttes
Le 06/03/2020 à 09:08, Yu Jin a écrit : Hi all, I've been training nsis and experimenting with the windows installer. I think I am somewhat confident with that topic now. The purpose of this Email is that I see some issues in the registry handling in the code for the installer and I would like

Registry handling on windows (installer)

2020-03-06 Thread Yu Jin
Hi all, I've been training nsis and experimenting with the windows installer. I think I am somewhat confident with that topic now. The purpose of this Email is that I see some issues in the registry handling in the code for the installer and I would like to discuss those issues. 1. We create e.g.