I was using MiKTeX 2.9 (x64) on my Win 7 machine for some time with TeXnicCenter. Now I tried to install LyX on the same PC. The problem I get is Lyx does find neither latex.exe nor sees all the other files in \bin folder of MiKTeX. I read Lyx had problem with x64 bit MiKTeX, so I removed every "MiKTeX 2.9 x64" in Windows path and in "Lyx->Tools->Preferences-PATH prefix" and just leave 32-bit version in it.
When I do: "latex.exe" in cmd, I get the correct version:
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9)
I also tried to reconfigure LyX (Tools->Reconfigure), but always get this error:
The system reconfiguration has failed.
Default textclass is used but LyX may not be able to work properly.
Please reconfigure again if needed.
I also tried to reinstall LyX-2-0.5-Installer-3.exe and tried even with LyX-2-0.5-Bundle-3.exe. Both installations seems to finish with no error. I also tried to log off and log on, recheck all the PATHs, but nothing seems to help.
When I try to export (File->Export...) I see a popup window with no output formats. I also tried to add a new environment variable "miktexdir", but that did not do any change whatsoever. Also tried to run as Administrator, no help.
What am I doing wrong, what is the solution?
