#${LangFileString} RunConfigureFailed "Could not execute the configure script"
${LangFileString} InstallRunning "The installer is already running!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} is already installed!$\r$\n\
- Installing over existing installations is not recommended if the installed version$\r$\n\
- is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ Installing over existing installations is not recommended if the installed version\
+ is a test release or if you have problems with your existing LyX installation.\
In these cases better reinstall LyX.$\r$\n\
Do you nevertheless want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
# Binaries
SetOutPath "$INSTDIR\bin"
!insertmacro FileListLyXBin File "${FILES_LYX}\bin\"
+ # The 2.3.0 and early 2.3.1 installers used a version suffix
+ # We need to remove the old binaries if we're installing into the same directory
+ Delete "$INSTDIR\bin\LyX2.3.exe"
+ Delete "$INSTDIR\bin\tex2lyx2.3.exe"
!insertmacro FileListQtBin File "${FILES_QT}\bin\"
!insertmacro FileListMSVC File "${FILES_MSVC}\"
!insertmacro FileListNetpbmBin File "${FILES_NETPBM}\"
!insertmacro FileListUnoConv File "${FILES_UNOCONV}\"
# install the LaTeX class files that are delivered with LyX to MiKTeX
- # and enable MiKTeX's automatic package installation
${if} $LaTeXInstalled == "MiKTeX"
Call ConfigureMiKTeX # Function from LaTeX.nsh
${endif}