mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
installer:
- fix an uninstallation bug that user settings were not remove if requested - whitespace fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40814 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0d165bf5d6
commit
69b2843d46
@ -44,7 +44,7 @@ Configuration of LyX installer
|
||||
!define APP_SERIES_KEY "${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}"
|
||||
!define APP_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\${APP_NAME}.exe"
|
||||
!define APP_DIR "${APP_NAME} ${APP_SERIES_NAME}"
|
||||
!define APP_DIR_USERDATA "lyx${APP_VERSION_MAJOR}${APP_VERSION_MINOR}"
|
||||
!define APP_DIR_USERDATA "${APP_NAME}${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}"
|
||||
!define APP_INFO "${APP_NAME} - The Document Processor"
|
||||
!define APP_COPYRIGHT "LyX is Copyright © 1995 by Matthias Ettrich, 1995-2012 by the LyX Team"
|
||||
|
||||
|
@ -39,8 +39,8 @@ Function MissingPrograms
|
||||
GSloop:
|
||||
EnumRegKey $1 HKLM "Software\GPL Ghostscript" $3
|
||||
${if} $1 != ""
|
||||
ReadRegStr $2 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GPL Ghostscript $1" "DisplayName"
|
||||
StrCpy $0 "Software\GPL Ghostscript\$1"
|
||||
ReadRegStr $2 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GPL Ghostscript $1" "DisplayName"
|
||||
StrCpy $0 "Software\GPL Ghostscript\$1"
|
||||
${if} $2 == "" # if nothing was found in the uninstall section
|
||||
ReadRegStr $2 HKLM "SOFTWARE\GPL Ghostscript" "OnlyWithLyX" # check if Ghostscript was installed together with LyX
|
||||
${endif}
|
||||
|
Loading…
Reference in New Issue
Block a user