From c680d0360a2cf2d84d8b98d9310adb5fdcfe3f80 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Wed, 10 Jun 2020 12:38:48 +0200 Subject: [PATCH] WinInstaller: assure configure.py is run in the user dir, by Eugene --- development/Win32/packaging/installer/setup/configure.nsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/development/Win32/packaging/installer/setup/configure.nsh b/development/Win32/packaging/installer/setup/configure.nsh index ff6caf28d9..7a40848796 100644 --- a/development/Win32/packaging/installer/setup/configure.nsh +++ b/development/Win32/packaging/installer/setup/configure.nsh @@ -239,6 +239,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