Installation of MiKTex 2.8 Failed (Solved)
Just noticed that MikTeK 2.8 is now available for download. However, I had problem in installation of this latest version.
Error message in the installation log file (setup-2.8.3541.exe) said:
“C:\Program Files\MiKTeX 2.8\miktex\bin\initexmf.exe” –register-shell-file-types –admin –log-file=”C:\Program Files\MiKTeX 2.8\miktex\config\uninst.log” –verbose:
initexmf.exe: Windows API error 5: Access is denied. initexmf.exe: Data: Software\Classes\.pdf\OpenWithProgIds
An error occurred:
source file: Libraries\MiKTeX\Core\Process.cpp
source line: 296
message: The operation failed for some reason.
info: C:\Program Files\MiKTeX 2.8\miktex\bin\initexmf.exe
I tried to look for the solution over the net. Though several the installation problems have been reported (related to registry writing), I didn’t find any useful information about my installation problem.
I uninstalled 2.7 and thought it’d help (because of confliction or something like that). But it didn’t. I had to reinstalled 2.7 and added some packages manually.
Probably you can finish the installation by running some command-line programs, but I don’t know how. So, I just removed the files of version 2.8 manually. Check later for the debugged setup program.
As in Peter’s comment below, it seems that there’s conflict between Adobe Reader and MiKTeX 2.8. I followed his suggestion: uninstall Adobe Reader and restart, and then install MiKTeX. Voilà, it worked!.
BTW I haven’t used Adobe Reader for a while. Foxit Reader is currently my default reader (but I am also interested in PDF-XChange Viewer Portable). Notice that Foxit Reader doesn’t conflict with the MiKTeX 2.8 installer.
Update on 03/10/2010:
MiKTex 2.8 is installed successfully in my new Windows 7 PC.
Update on 03/28/2010:
See the solution provided in the comment.
Update on 11/13/2010:
I installed MiKTeX 2.8 in MacBook Pro’s Bootcamp (with Win XP SP3) without any problem. Note that I don’t use Acrobat Reader. Upgrading from 2.8 to 2.9 was also smooth process.