mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
installer: fix the installation of JabRef
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19797 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e31d201dd6
commit
61dc386b65
@ -109,11 +109,11 @@ FunctionEnd
|
||||
ExecWait "$INSTDIR\${JabRefInstall}"
|
||||
# test if JabRef is installed
|
||||
StrCpy $BibTeXEditorPath ""
|
||||
ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${JabRefVersion}" "UninstallString"
|
||||
ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef ${JabRefVersion}" "UninstallString"
|
||||
${if} $BibTeXEditorPath == ""
|
||||
MessageBox MB_OK|MB_ICONEXCLAMATION "$(JabRefError)"
|
||||
${else}
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${JabRefVersion}" "OnlyWithLyX" "Yes${PRODUCT_VERSION_SHORT}" # special entry to tell the uninstaller that it was installed with LyX
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef ${JabRefVersion}" "OnlyWithLyX" "Yes${PRODUCT_VERSION_SHORT}" # special entry to tell the uninstaller that it was installed with LyX
|
||||
${endif}
|
||||
${endif}
|
||||
${endif}
|
||||
|
Loading…
Reference in New Issue
Block a user