WinInstaller: assure configure.py is run in the user dir, by Eugene

(cherry picked from commit c680d0360a)
This commit is contained in:
Juergen Spitzmueller 2020-06-10 12:38:48 +02:00 committed by Richard Kimberly Heck
parent 59006b3f51
commit 8d6d403873

View File

@ -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