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

This commit is contained in:
Juergen Spitzmueller 2020-06-10 12:38:48 +02:00
parent d5fb7ddaf2
commit c680d0360a

View File

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