mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
installer: fix potential serious bug
This commit is contained in:
parent
d841229fae
commit
00f8bfcae5
@ -1,4 +1,9 @@
|
||||
Changelog for LyX-207-2:
|
||||
Changelog for LyX-207-3:
|
||||
- fix serious bug that LyX could directly be installed to c:\programs
|
||||
the uninstaller would then delete the whole c:\programs folder
|
||||
|
||||
|
||||
Changelog for LyX-207-2:
|
||||
- LyX can now be installed and uninstalled silently
|
||||
(administrators can start the installer with "LyX-207-Installer-2.exe /S")
|
||||
- updated to Python 2.7.6
|
||||
|
@ -14,6 +14,16 @@ Var PythonCompileReturn
|
||||
|
||||
Section -ProgramFiles SecProgramFiles
|
||||
|
||||
# if the $INSTDIR does not contain "LyX" we must add a subfolder to avoid that LyX will e.g.
|
||||
# be installed directly to C:\programs - the uninstaller will then delete the whole
|
||||
# C:\programs directory
|
||||
StrCpy $String $INSTDIR
|
||||
StrCpy $Search "LyX"
|
||||
Call StrPoint # function from LyXUtils.nsh
|
||||
${if} $Pointer == "-1"
|
||||
StrCpy $INSTDIR "$INSTDIR\${APP_DIR}"
|
||||
${endif}
|
||||
|
||||
!if ${SETUPTYPE} != BUNDLE
|
||||
# abort the installation if no LaTeX was found but should be used
|
||||
${if} $PathLaTeX == ""
|
||||
|
Loading…
Reference in New Issue
Block a user