diff --git a/development/Win32/packaging/installer/LyXWinInstaller/MissingPrograms.nsh b/development/Win32/packaging/installer/LyXWinInstaller/MissingPrograms.nsh index bf178c66d2..71dbf18c6b 100644 --- a/development/Win32/packaging/installer/LyXWinInstaller/MissingPrograms.nsh +++ b/development/Win32/packaging/installer/LyXWinInstaller/MissingPrograms.nsh @@ -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 diff --git a/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dpr b/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dpr index 7b57c9d772..5d142dabb9 100644 --- a/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dpr +++ b/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dpr @@ -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