mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
installer: check for Gnumeric because we need this for our spreadsheet external inset template (bug #7870)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40496 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5f5a6e777e
commit
e497931c4d
@ -131,6 +131,13 @@ Function MissingPrograms
|
||||
|
||||
# test if metafile2eps is installed
|
||||
ReadRegStr $WMFPath HKLM "Software\Microsoft\Windows NT\CurrentVersion\Print\Printers\Metafile to EPS Converter" "Name"
|
||||
|
||||
# test if Gnumeric is installed
|
||||
ReadRegStr $0 HKLM "Software\Classes\Applications\gnumeric.exe\shell\Open\command" ""
|
||||
${if} $0 != ""
|
||||
StrCpy $0 $0 -18 # remove "gnumeric.exe" "%1""
|
||||
StrCpy $GnumericPath $0
|
||||
${endif}
|
||||
|
||||
FunctionEnd
|
||||
|
||||
|
@ -23,6 +23,7 @@ Var CreateFileAssociations
|
||||
Var DelPythonFiles
|
||||
Var EditorPath
|
||||
Var GhostscriptPath
|
||||
Var GnumericPath
|
||||
Var ImageEditorPath
|
||||
!if ${SETUPTYPE} == BUNDLE
|
||||
Var InstallJabRef
|
||||
|
@ -11,7 +11,7 @@ These typically need to be modified for each LyX release
|
||||
|
||||
!define APP_VERSION_MAJOR 2
|
||||
!define APP_VERSION_MINOR 0
|
||||
!define APP_VERSION_REVISION 1
|
||||
!define APP_VERSION_REVISION 2
|
||||
!define APP_VERSION_BUILD 1 # Start with 1 for the installer releases of each version
|
||||
|
||||
!define APP_VERSION "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}" # Version to display
|
||||
@ -50,7 +50,7 @@ These typically need to be modified for each LyX release
|
||||
|
||||
!define JabRefVersion "2.7"
|
||||
!define MiKTeXDeliveredVersion "2.9"
|
||||
!define ImageMagickVersion "6.7.2"
|
||||
!define ImageMagickVersion "6.7.3"
|
||||
|
||||
# definitions for the Complete installer
|
||||
!if ${SETUPTYPE} == BUNDLE
|
||||
|
@ -118,6 +118,9 @@ Section -Configure
|
||||
${if} $WMFPath != ""
|
||||
StrCpy $PathPrefix "$PathPrefix;$WMFPath"
|
||||
${endif}
|
||||
${if} $GnumericPath != ""
|
||||
StrCpy $PathPrefix "$PathPrefix;$GnumericPath"
|
||||
${endif}
|
||||
${if} $PathBibTeXEditor != ""
|
||||
StrCpy $PathPrefix "$PathPrefix;$PathBibTeXEditor"
|
||||
${EndIf}
|
||||
|
Loading…
Reference in New Issue
Block a user