[Tex/LaTex] No PDF viewer installed error with LyX

errorslyxpreviewviewers

Recently I reinstalled LyX under Windows 10. Even though I have installed foxit reader, I get a pop up message in preview that it says:

"No PDF viewer is installed. Please install a PDF viewer such as Adobe Reader".

I tried to reconfigure LyX after installing Nitro, but the problem remains.

Do I miss a specific setting in order to say to LyX to use Foxit Reader?

Best Answer

I managed to overcome this problem by setting foxit reader as a default program for pdf files. For some reason, win10 by itself had set microsoft edge as the default program for pdf files.

In order to do so, do the followings: (This procedure works on win10. I assume that these steps are similar for win7 and win8)

control panel --> programs --> default programs --> associate a file type or protocol with a program

On the list, find .pdf format and associate it with your pdf reader.

After these steps, LyX's document preview works just fine