[LyX/2.3.x] WinInstaller: assure configure.py is run in the user dir, by Eugene
Richard Kimberly Heck
rikiheck at lyx.org
Wed Jun 10 15:55:43 UTC 2020
commit 8d6d403873d4efc15a73ad75eb5d57028537496c
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Wed Jun 10 12:38:48 2020 +0200
WinInstaller: assure configure.py is run in the user dir, by Eugene
(cherry picked from commit c680d0360a2cf2d84d8b98d9310adb5fdcfe3f80)
---
.../Win32/packaging/installer/setup/configure.nsh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/development/Win32/packaging/installer/setup/configure.nsh b/development/Win32/packaging/installer/setup/configure.nsh
index 31a1825..27c477f 100644
--- a/development/Win32/packaging/installer/setup/configure.nsh
+++ b/development/Win32/packaging/installer/setup/configure.nsh
@@ -236,6 +236,8 @@ Var ConfigureReturn
Section -ConfigureScript
DetailPrint $(TEXT_CONFIGURE_LYX)
+ SetShellVarContext current
+ SetOutPath "$APPDATA\${APP_DIR_USERDATA}"
nsExec::ExecToLog '"$INSTDIR\Python\python.exe" "$INSTDIR\Resources\configure.py"'
# $ConfigureReturn is "0" if successful, otherwise "1"
Pop $ConfigureReturn # Return value
More information about the lyx-cvs
mailing list