5

I am trying to install MikTex 2.9.3927 on Windows 7 x64. Very early in the installation process, I get a MikTex setup wizard error saying: "Windows API Error 2: The system cannot find the file specified Details: C:...\somefile.tpm"

The file that results in the error seems to be different every time I try. I have tried many different installation paths, with many different setup options. The same error occurs if I download the ~138MB "Basic MiKTeX 2.9" Installer or if I use the Net Installer to download the entire setup (~1GB).

Thanks for help in advance.

Eric
  • 51
  • 1
  • 1
  • 2

2 Answers2

1

This is a known error with MikTex http://sourceforge.net/tracker/?func=detail&atid=110783&aid=3118717&group_id=10783

One proposed solution is to try to install to c:/MikTex/ but others say that doesn't work.

Another thread talks about a place to find the missing files http://sourceforge.net/projects/miktex/forums/forum/33790/topic/3455946

I might be able to help. I had the same problem at installing Miktex-Basic in a notebook with XP SP3. Most probable cause is a corrupted file. So, I downloaded (in my case) miktex-zzdb1-2.8.tar.lzma, miktex-zzdb2-2.8.tar.lzma and miktex-hunspell-bin-2.8.tar.lzma from a repository for instance: http://ftp.jaist.ac.jp/pub/CTAN/systems/win32/miktex/tm/packages/

I moved them to the installation sub-directory. Run again Miktex2.8 Net Installer and this time the installation went fine

Someone suggested it may be a conflict with adobe reader and could be resolved with a simple registry edit. http://entangled.wordpress.com/2009/09/18/installation-of-miktex-2-8-failed/#comment-1748

While there isn't a complete concensus try these three options here and see what works for you. If nothing else a google search for "Windows api error 2 minitex" yielded the most results.

Daisetsu
  • 6,171
0

I had the same problem with the x64 netinstaller on Windows 7. Running the installer as administrator in Windows 2008 Server compatibility mode fixed the problem for me (right-click the installer icon, choose "Properties" and click on the "Compatibility" tab).