installer: detect JabRef 2.6, drop support for JabRef 2.2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34298 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-04-26 23:47:20 +00:00
parent 17af3ea8f4
commit d4dca29275

View File

@ -136,10 +136,7 @@ Function MissingPrograms
# test if the BibTeX-editor JabRef is installed # test if the BibTeX-editor JabRef is installed
StrCpy $BibTeXEditorPath "" StrCpy $BibTeXEditorPath ""
ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef 2.2" "UninstallString" ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef 2.3" "UninstallString"
${if} $BibTeXEditorPath == ""
ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef 2.3" "UninstallString"
${endif}
${if} $BibTeXEditorPath == "" ${if} $BibTeXEditorPath == ""
ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef 2.3.1" "UninstallString" ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef 2.3.1" "UninstallString"
${endif} ${endif}
@ -155,6 +152,9 @@ Function MissingPrograms
${if} $BibTeXEditorPath == "" ${if} $BibTeXEditorPath == ""
ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef 2.5" "UninstallString" ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef 2.5" "UninstallString"
${endif} ${endif}
${if} $BibTeXEditorPath == ""
ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef 2.6" "UninstallString"
${endif}
# test if Inkscape is installed # test if Inkscape is installed
ReadRegStr $SVGPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Inkscape" "InstallLocation" ReadRegStr $SVGPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Inkscape" "InstallLocation"