mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
WinInstaller2: assure configure.py is run in the user dir, by Eugene
This commit is contained in:
parent
b17bdcb81c
commit
0f6045848a
@ -964,6 +964,10 @@ Section -ConfigureScript # Runs the configure.py script
|
||||
${EndIf}
|
||||
StrCpy $LaTeXInstalled $R9 # FIXME remove
|
||||
DetailPrint $(TEXT_CONFIGURE_LYX) # Uses R9 to display the name of the installed latex distribution
|
||||
|
||||
Call PrepareShellCTX
|
||||
SetShellVarContext current # Otherwise $APPDATA would return C:\ProgrammData instead of C:\Users\username\AppData\Roaming
|
||||
SetOutPath "$APPDATA\LyX${VERSION_MAJOR}.${VERSION_MINOR}" # Need to run configure from the user dir, because it creates .lst files and some folders.
|
||||
nsExec::ExecToLog '"$INSTDIR\Python\python.exe" "$INSTDIR\Resources\configure.py"'
|
||||
Pop $0 # Return value
|
||||
SectionEnd
|
||||
|
Loading…
Reference in New Issue
Block a user