]> git.lyx.org Git - features.git/commitdiff
installer: fix the installation of JabRef
authorUwe Stöhr <uwestoehr@web.de>
Sat, 25 Aug 2007 19:56:18 +0000 (19:56 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sat, 25 Aug 2007 19:56:18 +0000 (19:56 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19797 a592a061-630c-0410-9148-cb99ea01b6c8

development/Win32/packaging/AltInstaller/InstallThirdPartyProgs.nsh

index d18a717f96ad0466f73ef10daf269ebaab17b26a..f36766054cdab6a5a92d728fe743dd8d92941589 100644 (file)
@@ -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}