From: Juergen Spitzmueller Date: Wed, 10 Jun 2020 10:38:48 +0000 (+0200) Subject: WinInstaller: assure configure.py is run in the user dir, by Eugene X-Git-Tag: 2.3.6~94 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8d6d403873d4efc15a73ad75eb5d57028537496c;p=features.git WinInstaller: assure configure.py is run in the user dir, by Eugene (cherry picked from commit c680d0360a2cf2d84d8b98d9310adb5fdcfe3f80) --- diff --git a/development/Win32/packaging/installer/setup/configure.nsh b/development/Win32/packaging/installer/setup/configure.nsh index 31a18257b9..27c477f94b 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