LyXWinInstaller: fix recognition of Acrobat 8

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17211 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-02-16 02:03:35 +00:00
parent 922dbdb1db
commit 0c133ed918
2 changed files with 2 additions and 1 deletions

View 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

View 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