On 7/12/20 2:21 AM, Yu Jin wrote: > Am So., 12. Juli 2020 um 06:06 Uhr schrieb Richard Kimberly Heck > <rikih...@lyx.org <mailto:rikih...@lyx.org>>: > > On 7/11/20 4:05 PM, Yu Jin wrote: >> Am Sa., 11. Juli 2020 um 20:58 Uhr schrieb Bernd >> <bernd.kappenb...@gmx.de <mailto:bernd.kappenb...@gmx.de>>: >> >> Yes, I started it with the checkbox on the last page of the >> installer. >> >> I use Windows 10 and was using administrator privileges to >> install LyX 2.3.5.2. >> >> (The same happened with an ealier version of LyX.) >> >> Strangely, this time I could not activate Acrobat Reader DC, >> even though I found the output file. >> >> After a restart, everything was OK. >> >> Bernd >> >> Looks like after installing LyX as admin and then checking the >> box on the finish page to run LyX, runs it as admin too. >> I didn't put much thought into it when writing Installer2, I >> thought about it just a little. Because I found a comment in the >> code, which says that there was a bug report about this already >> and it has apparently been fixed already, so I didn't worry about >> it. But it's still not fixed. > > This has been a problem for a long time. > > >> I have found that there is no easy way to run a process as a user >> from the NSIS installer, only the "hard" way, which means just >> using a plugin. I have found this plugin: >> https://nsis.sourceforge.io/ShellExecAsUser_plug-in. >> i will commit it to Installer2. > > Good! > > >> Riki, is it worth putting it into Installer as well (for stable >> that is)? It would mean that you would need to install the plugin >> too. > This seems like a big enough change that we should probably wait > for 2.4.0. That said, would it be easy to disable the checkbox to > run LyX after install? That's what causes the problem. > > > Do you mean disabling/removing the checkbox in the NSIS code, so that > the user doesn't have the option to run LyX from the finish page? Yes, > it should be easy. Do you want me to do it for the installer?
Yes, that is what I meant. Please do. Riki
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel