]> git.lyx.org Git - lyx.git/commitdiff
LyXWinInstaller: fix recognition of Acrobat 8
authorUwe Stöhr <uwestoehr@web.de>
Fri, 16 Feb 2007 02:03:35 +0000 (02:03 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Fri, 16 Feb 2007 02:03:35 +0000 (02:03 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17211 a592a061-630c-0410-9148-cb99ea01b6c8

development/Win32/packaging/installer/LyXWinInstaller/MissingPrograms.nsh
development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dpr

index bf178c66d2d463e62057a08a9517dbb838423a7d..71dbf18c6bdce70345ad48021d7bd6c50940ad71 100644 (file)
@@ -151,6 +151,7 @@ Function MissingPrograms
    StrCpy $Acrobat "None"
   ${endif}
   ${if} $Acrobat != "None"
+   ReadRegStr $String HKCR "AcroExch.Document/shell/open/command" ""
    StrCpy $Search "8" ; search for Acrobat or Adobe Reader 8 because then PDFViewWin8.exe is needed to view PDF-files
    !insertmacro StrPointer $String $Search $Pointer ; macro from LyXUtils
    ${if} $Pointer == "-1" ; if nothing was found
index 7b57c9d772d8b2c2a9774bc26615aefaf19e74d2..5d142dabb92a3140f8097842e94cf1f9e983af4b 100644 (file)
@@ -13,7 +13,7 @@ program PDFViewWin7;
  while the unrenamed version can be modified. When the modified version should
  be displayed, the eventually opened renamed version is closed in Acrobat and
  the modified version is copied, renamed and opened in Acrobat.
- To open/close files in Acrobat, OLE-Obcects are used because the latest
+ To open/close files in Acrobat, OLE-Objects are used because the latest
  manual "Developing Applications Using Interapplication Communication" from
  Adobe Acrobat SDK Version 8 states:
  "Although DDE is supported, you should use OLE automation instead of DDE