mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
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:
parent
922dbdb1db
commit
0c133ed918
@ -151,6 +151,7 @@ Function MissingPrograms
|
|||||||
StrCpy $Acrobat "None"
|
StrCpy $Acrobat "None"
|
||||||
${endif}
|
${endif}
|
||||||
${if} $Acrobat != "None"
|
${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
|
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
|
!insertmacro StrPointer $String $Search $Pointer ; macro from LyXUtils
|
||||||
${if} $Pointer == "-1" ; if nothing was found
|
${if} $Pointer == "-1" ; if nothing was found
|
||||||
|
@ -13,7 +13,7 @@ program PDFViewWin7;
|
|||||||
while the unrenamed version can be modified. When the modified version should
|
while the unrenamed version can be modified. When the modified version should
|
||||||
be displayed, the eventually opened renamed version is closed in Acrobat and
|
be displayed, the eventually opened renamed version is closed in Acrobat and
|
||||||
the modified version is copied, renamed and opened in Acrobat.
|
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
|
manual "Developing Applications Using Interapplication Communication" from
|
||||||
Adobe Acrobat SDK Version 8 states:
|
Adobe Acrobat SDK Version 8 states:
|
||||||
"Although DDE is supported, you should use OLE automation instead of DDE
|
"Although DDE is supported, you should use OLE automation instead of DDE
|
||||||
|
Loading…
Reference in New Issue
Block a user