Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Windows API Error 2

Help
2010-11-25
2012-10-17
  • Dave Jarvis
    Dave Jarvis
    2010-11-25

    The operation could not be completed for the following reason:

    Windows API Error 2: The system cannot find the file specified.


    I have tried various ways of installing MiKTeX, including:

    • Uninstall ImageMagick & GhostScript
    • Reboot
    • Run CCleaner to clear out registry keys
    • Use the "complete" installer and "basic" installer
    • Launch the installer from LyX

    The laptop is running: Windows XP Home Edition, Service Pack 3

    On my first attempt, I ran out of disk space (400MB was insufficient). Now,
    with over 1.6GB free, the installer never completes.

    The failure occurs at different times throughout the installation.

    Any help on what to do to get the installer to finish would be greatly
    appreciated.

    Thank you!

    --

    The files downloaded were:

    Directory of D:\miktex

    25/11/2010 01:13 PM 89,063 ae.tar.lzma
    25/11/2010 01:10 PM 5,111,002 amsfonts.tar.lzma
    25/11/2010 01:10 PM 1,648,670 amslatex.tar.lzma
    25/11/2010 01:11 PM 276,931 avantgar.cab
    25/11/2010 01:11 PM 1,762,036 babel.tar.lzma
    25/11/2010 01:11 PM 2,219,541 bidi.tar.lzma
    25/11/2010 01:11 PM 329,086 bookman.cab
    25/11/2010 01:09 PM 33,735 carlisle.tar.lzma
    25/11/2010 01:10 PM 291,473 cbcoptic.tar.lzma
    25/11/2010 01:14 PM 105,694 cm.tar.lzma
    25/11/2010 01:09 PM 529,459 courier.cab
    25/11/2010 01:10 PM 444,984 dehyph-exptl.tar.lzma
    25/11/2010 01:26 PM 35,074 download-2010-11-25-13-26.log
    25/11/2010 01:14 PM 404,309 ec.cab
    25/11/2010 01:19 PM 734,451 elhyphen.tar.lzma
    25/11/2010 01:11 PM 337,039 enctex.tar.lzma
    25/11/2010 01:10 PM 156,297 euenc.tar.lzma
    25/11/2010 01:21 PM 154,840 eurosym.tar.lzma
    25/11/2010 01:11 PM 30,646 float.cab
    25/11/2010 01:11 PM 2,955,221 fontspec.tar.lzma
    25/11/2010 01:11 PM 231,386 geometry.tar.lzma
    25/11/2010 01:11 PM 912,833 graphics.tar.lzma
    25/11/2010 01:12 PM 745,459 helvetic.cab
    25/11/2010 01:11 PM 241,390 hoekwater.cab
    25/11/2010 01:13 PM 3,319,871 hyperref.tar.lzma
    25/11/2010 01:11 PM 1,560,769 hyph-utf8.tar.lzma
    25/11/2010 01:10 PM 169,138 ifxetex.tar.lzma
    25/11/2010 01:08 PM 13,267 jknappen.cab
    25/11/2010 01:11 PM 18,674 latex-fonts.tar.lzma
    25/11/2010 01:10 PM 1,554,565 latex2e-help-texinfo.tar.lzma
    25/11/2010 01:21 PM 13,560,522 lm.tar.lzma
    25/11/2010 01:13 PM 9,105,216 ltxbase.tar.lzma
    25/11/2010 01:13 PM 71,146 ltxmisc.tar.lzma
    25/11/2010 01:14 PM 5,606 lua-alt-getopt.tar.lzma
    25/11/2010 01:10 PM 411,439 luainputenc.tar.lzma
    25/11/2010 01:22 PM 157,970 lualibs.tar.lzma
    25/11/2010 01:11 PM 180,826 luamplib.tar.lzma
    25/11/2010 01:10 PM 277,755 luaotfload.tar.lzma
    25/11/2010 01:22 PM 2,329,948 luatexbase.tar.lzma
    25/11/2010 01:22 PM 382,629 luatextra.tar.lzma
    25/11/2010 01:12 PM 19,079 mflogo.cab
    25/11/2010 01:08 PM 17,450 miktex-arctrl-bin-2.9.tar.lzma
    25/11/2010 01:22 PM 18,309 miktex-arctrl-bin-x64-2.9.tar.lzma
    25/11/2010 01:10 PM 134,263 miktex-bibtex-base.cab
    25/11/2010 01:22 PM 49,641 miktex-bibtex-bin-2.9.tar.lzma
    25/11/2010 01:22 PM 62,958 miktex-bibtex-bin-x64-2.9.tar.lzma
    25/11/2010 01:21 PM 20,869 miktex-bibtex8bit-base.cab
    25/11/2010 01:09 PM 49,668 miktex-bibtex8bit-bin-2.9.tar.lzma
    25/11/2010 01:22 PM 56,209 miktex-bibtex8bit-bin-x64-2.9.tar.lzma
    25/11/2010 01:18 PM 2,687,822 miktex-bin-2.9.tar.lzma
    25/11/2010 01:22 PM 3,158,845 miktex-bin-x64-2.9.tar.lzma
    25/11/2010 01:22 PM 36,632 miktex-cjkutils-bin-2.9.tar.lzma
    25/11/2010 01:12 PM 38,011 miktex-cjkutils-bin-x64-2.9.tar.lzma
    25/11/2010 01:22 PM 4,855 miktex-config-2.9.tar.lzma
    25/11/2010 01:14 PM 53,489 miktex-cweb-base.cab
    25/11/2010 01:11 PM 45,358 miktex-cweb-bin-2.9.tar.lzma
    25/11/2010 01:22 PM 49,867 miktex-cweb-bin-x64-2.9.tar.lzma
    25/11/2010 01:10 PM 211,246 miktex-dict-english.tar.lzma
    25/11/2010 01:10 PM 267,732 miktex-dict-french.tar.lzma
    25/11/2010 01:12 PM 490,970 miktex-dict-german.tar.lzma
    25/11/2010 01:22 PM 2,303,711 miktex-doc-2.9.tar.lzma
    25/11/2010 01:22 PM 34,628 miktex-dvicopy-bin-2.9.tar.lzma
    25/11/2010 01:22 PM 41,437 miktex-dvicopy-bin-x64-2.9.tar.lzma
    25/11/2010 01:10 PM 183,457 miktex-dvipdfm-base-2.7.tar.lzma
    25/11/2010 01:12 PM 2,517,429 miktex-dvipdfmx-base-2.7.tar.lzma
    25/11/2010 01:14 PM 222,970 miktex-dvipdfmx-bin-2.9.tar.lzma
    25/11/2010 01:22 PM 257,025 miktex-dvipdfmx-bin-x64-2.9.tar.lzma
    25/11/2010 01:22 PM 34,732 miktex-dvipng-bin-2.9.tar.lzma
    25/11/2010 01:22 PM 37,651 miktex-dvipng-bin-x64-2.9.tar.lzma
    25/11/2010 01:10 PM 38,211 miktex-dvips-base.tar.bz2
    25/11/2010 01:22 PM 89,229 miktex-dvips-bin-2.9.tar.lzma
    25/11/2010 01:10 PM 100,162 miktex-dvips-bin-x64-2.9.tar.lzma
    25/11/2010 01:08 PM 514,034 miktex-dvips-doc.cab
    25/11/2010 01:10 PM 55,148 miktex-etex-base.cab
    25/11/2010 01:08 PM 14,743 miktex-findtexmf-bin-2.9.tar.lzma
    25/11/2010 01:22 PM 15,099 miktex-findtexmf-bin-x64-2.9.tar.lzma
    25/11/2010 01:14 PM 8,819 miktex-fontconfig-base.tar.lzma
    25/11/2010 01:22 PM 102,278 miktex-fontconfig-bin-2.9.tar.lzma
    25/11/2010 01:22 PM 112,305 miktex-fontconfig-bin-x64-2.9.tar.lzma
    25/11/2010 01:09 PM 129,327 miktex-fontname-base.tar.lzma
    25/11/2010 01:14 PM 86,143 miktex-fonts-bin-2.9.tar.lzma
    25/11/2010 01:22 PM 100,594 miktex-fonts-bin-x64-2.9.tar.lzma
    25/11/2010 01:19 PM 154,266 miktex-freetype-base.cab
    25/11/2010 01:22 PM 104,159 miktex-freetype-bin-2.9.tar.lzma
    25/11/2010 01:22 PM 118,579 miktex-freetype-bin-x64-2.9.tar.lzma
    25/11/2010 01:22 PM 198,942 miktex-freetype2-bin-2.9.tar.lzma
    25/11/2010 01:21 PM 226,635 miktex-freetype2-bin-x64-2.9.tar.lzma
    25/11/2010 01:22 PM 302,960 miktex-ghostscript-base-2.9.tar.lzma
    25/11/2010 01:23 PM 9,268,666 miktex-ghostscript-bin-2.9.tar.lzma
    25/11/2010 01:24 PM 9,462,720 miktex-ghostscript-bin-x64.tar.lzma
    25/11/2010 01:24 PM 320,328 miktex-graphics-bin-2.9.tar.lzma
    25/11/2010 01:24 PM 351,369 miktex-graphics-bin-x64-2.9.tar.lzma
    25/11/2010 01:19 PM 3,452 miktex-gsf2pk-base.cab
    25/11/2010 01:24 PM 20,683 miktex-gsf2pk-bin-2.9.tar.lzma
    25/11/2010 01:10 PM 22,747 miktex-gsf2pk-bin-x64-2.9.tar.lzma
    25/11/2010 01:24 PM 71,624 miktex-hunspell-bin-2.9.tar.lzma
    25/11/2010 01:24 PM 82,270 miktex-hunspell-bin-x64-2.9.tar.lzma
    25/11/2010 01:11 PM 8,808 miktex-hyph-french.tar.bz2
    25/11/2010 01:21 PM 70,916 miktex-hyph-german.tar.bz2
    25/11/2010 01:08 PM 18,298 miktex-hyph-usenglish.cab
    25/11/2010 01:25 PM 2,983,566 miktex-icu-bin-2.9.tar.lzma
    25/11/2010 01:10 PM 3,046,213 miktex-icu-bin-x64.tar.lzma
    25/11/2010 01:25 PM 11,097 miktex-kpathsea-bin-2.9.tar.lzma
    25/11/2010 01:19 PM 4,484 miktex-latex-config-2.9.tar.lzma
    25/11/2010 01:11 PM 148,231 miktex-lua51-bin-2.9.tar.lzma
    25/11/2010 01:25 PM 154,791 miktex-lua51-bin-x64-2.9.tar.lzma
    25/11/2010 01:25 PM 2,797 miktex-luatex-base.tar.lzma
    25/11/2010 01:25 PM 1,154,945 miktex-luatex-bin-2.9.tar.lzma
    25/11/2010 01:21 PM 1,302,785 miktex-luatex-bin-x64-2.9.tar.lzma
    25/11/2010 01:09 PM 58,876 miktex-makeindex-base.cab
    25/11/2010 01:11 PM 22,644 miktex-makeindex-bin-2.9.tar.lzma
    25/11/2010 01:22 PM 25,549 miktex-makeindex-bin-x64-2.9.tar.lzma
    25/11/2010 01:10 PM 7,974 miktex-metafont-base.cab
    25/11/2010 01:25 PM 125,489 miktex-metafont-bin-2.9.tar.lzma
    25/11/2010 01:14 PM 143,510 miktex-metafont-bin-x64-2.9.tar.lzma
    25/11/2010 01:11 PM 57,279 miktex-metafont-misc.tar.lzma
    25/11/2010 01:21 PM 1,897,633 miktex-metapost-base-2.7.tar.lzma
    25/11/2010 01:25 PM 171,827 miktex-metapost-bin-2.9.tar.lzma
    25/11/2010 01:11 PM 189,093 miktex-metapost-bin-x64-2.9.tar.lzma
    25/11/2010 01:21 PM 3,812 miktex-mft-base.cab
    25/11/2010 01:25 PM 62,464 miktex-mfware-bin-2.9.tar.lzma
    25/11/2010 01:10 PM 69,847 miktex-mfware-bin-x64-2.9.tar.lzma
    25/11/2010 01:10 PM 40,724 miktex-misc.tar.lzma
    25/11/2010 01:08 PM 40,158 miktex-mkfntmap-bin-2.9.tar.lzma
    25/11/2010 01:25 PM 45,288 miktex-mkfntmap-bin-x64-2.9.tar.lzma
    25/11/2010 01:25 PM 38,331 miktex-mktex-bin-2.9.tar.lzma
    25/11/2010 01:22 PM 44,053 miktex-mktex-bin-x64-2.9.tar.lzma
    25/11/2010 01:10 PM 85,247 miktex-mo-bin-2.9.tar.lzma
    25/11/2010 01:09 PM 95,066 miktex-mo-bin-x64-2.9.tar.lzma
    25/11/2010 01:25 PM 60,805 miktex-mpm-bin-2.9.tar.lzma
    25/11/2010 01:10 PM 64,666 miktex-mpm-bin-x64-2.9.tar.lzma
    25/11/2010 01:25 PM 27,852 miktex-mthelp-bin-2.9.tar.lzma
    25/11/2010 01:19 PM 30,160 miktex-mthelp-bin-x64-2.9.tar.lzma
    25/11/2010 01:13 PM 19,748 miktex-mtprint-bin-2.9.tar.lzma
    25/11/2010 01:25 PM 21,026 miktex-mtprint-bin-x64-2.9.tar.lzma
    25/11/2010 01:08 PM 309,458 miktex-omega-bin-2.9.tar.lzma
    25/11/2010 01:25 PM 382,634 miktex-omega-bin-x64-2.9.tar.lzma
    25/11/2010 01:11 PM 29,456 miktex-pdftex-base-2.9.tar.lzma
    25/11/2010 01:25 PM 418,478 miktex-pdftex-bin-2.9.tar.lzma
    25/11/2010 01:25 PM 478,185 miktex-pdftex-bin-x64-2.9.tar.lzma
    25/11/2010 01:10 PM 2,324,916 miktex-pdftex-doc-2.6.tar.bz2
    25/11/2010 01:13 PM 1,437,180 miktex-poppler-base.tar.lzma
    25/11/2010 01:25 PM 445,307 miktex-poppler-bin-2.9.tar.lzma
    25/11/2010 01:21 PM 499,332 miktex-poppler-bin-x64-2.9.tar.lzma
    25/11/2010 01:10 PM 61,934 miktex-ps2pk-bin-2.9.tar.lzma
    25/11/2010 01:10 PM 69,841 miktex-ps2pk-bin-x64-2.9.tar.lzma
    25/11/2010 01:19 PM 26,520 miktex-psutils-base.cab
    25/11/2010 01:09 PM 25,166 miktex-psutils-bin-2.9.tar.lzma
    25/11/2010 01:13 PM 25,550 miktex-psutils-bin-x64-2.9.tar.lzma
    25/11/2010 01:08 PM 4,156,685 miktex-qt4-bin-2.9.tar.lzma
    25/11/2010 01:09 PM 4,680,210 miktex-qt4-bin-x64.tar.lzma
    25/11/2010 01:08 PM 853,116 miktex-runtime-bin-2.9.tar.lzma
    25/11/2010 01:25 PM 951,163 miktex-runtime-bin-x64-2.9.tar.lzma
    25/11/2010 01:25 PM 24,001 miktex-teckit-bin-2.9.tar.lzma
    25/11/2010 01:11 PM 25,614 miktex-teckit-bin-x64-2.9.tar.lzma
    25/11/2010 01:21 PM 40,868 miktex-tex-base.tar.lzma
    25/11/2010 01:21 PM 140,004 miktex-tex-bin-2.9.tar.lzma
    25/11/2010 01:25 PM 161,929 miktex-tex-bin-x64-2.9.tar.lzma
    25/11/2010 01:09 PM 30,993 miktex-tex-misc.tar.lzma
    25/11/2010 01:25 PM 60,130 miktex-tex4ht-bin-2.9.tar.lzma
    25/11/2010 01:25 PM 63,554 miktex-tex4ht-bin-x64-2.9.tar.lzma
    25/11/2010 01:25 PM 59,762 miktex-texify-bin-2.9.tar.lzma
    25/11/2010 01:25 PM 68,718 miktex-texify-bin-x64-2.9.tar.lzma
    25/11/2010 01:21 PM 76,073 miktex-texinfo-base.tar.lzma
    25/11/2010 01:09 PM 88,397 miktex-texinfo-bin-2.9.tar.lzma
    25/11/2010 01:11 PM 98,599 miktex-texinfo-bin-x64-2.9.tar.lzma
    25/11/2010 01:13 PM 61,656 miktex-texware-bin-2.9.tar.lzma
    25/11/2010 01:25 PM 74,629 miktex-texware-bin-x64-2.9.tar.lzma
    25/11/2010 01:25 PM 1,486,375 miktex-texworks-bin-2.9.tar.lzma
    25/11/2010 01:10 PM 1,586,229 miktex-texworks-bin-x64-2.9.tar.lzma
    25/11/2010 01:18 PM 1,052,987 miktex-texworks-doc.tar.lzma
    25/11/2010 01:25 PM 2,998,306 miktex-vc100-bin-x64.tar.lzma
    25/11/2010 01:09 PM 2,716,386 miktex-vc100-bin.tar.lzma
    25/11/2010 01:25 PM 51,361 miktex-web-bin-2.9.tar.lzma
    25/11/2010 01:25 PM 56,076 miktex-web-bin-x64-2.9.tar.lzma
    25/11/2010 01:11 PM 259,107 miktex-xdvipdfmx-bin-2.9.tar.lzma
    25/11/2010 01:10 PM 294,446 miktex-xdvipdfmx-bin-x64-2.9.tar.lzma
    25/11/2010 01:11 PM 638,209 miktex-xetex-base.tar.lzma
    25/11/2010 01:11 PM 433,700 miktex-xetex-bin-2.9.tar.lzma
    25/11/2010 01:25 PM 508,673 miktex-xetex-bin-x64-2.9.tar.lzma
    25/11/2010 01:25 PM 392,418 miktex-yap-bin-2.9.tar.lzma
    25/11/2010 01:10 PM 417,142 miktex-yap-bin-x64-2.9.tar.lzma
    25/11/2010 01:25 PM 156,574 miktex-zip-bin-x64.tar.lzma
    25/11/2010 01:14 PM 137,464 miktex-zip-bin.tar.lzma
    25/11/2010 01:08 PM 103,944 miktex-zzdb1-2.9.tar.lzma
    25/11/2010 01:08 PM 513,645 miktex-zzdb2-2.9.tar.lzma
    25/11/2010 01:11 PM 5,346 multirow.cab
    25/11/2010 01:08 PM 325,591 ncntrsbk.cab
    25/11/2010 01:18 PM 21,456,733 oberdiek.tar.lzma
    25/11/2010 01:19 PM 379,872 palatino.cab
    25/11/2010 01:21 PM 13,343 pdftex-def.tar.lzma
    25/11/2010 01:11 PM 7,418 pslatex.cab
    25/11/2010 01:08 PM 395,818 psnfss.cab
    25/11/2010 01:13 PM 7,488,932 pstricks.tar.lzma
    25/11/2010 01:25 PM 180 README.TXT
    25/11/2010 01:21 PM 56,606 rsfs.tar.lzma
    25/11/2010 01:09 PM 80,646 ruhyphen.cab
    25/11/2010 01:03 PM 5,779,456 setup-2.9.3959.exe
    25/11/2010 01:21 PM 91,471 tds.cab
    25/11/2010 01:10 PM 25,040 thumbpdf.tar.lzma
    25/11/2010 01:21 PM 391,735 times.cab
    25/11/2010 01:11 PM 3,073,892 tools.tar.lzma
    25/11/2010 01:13 PM 213,505 ukrhyph.cab
    25/11/2010 01:10 PM 220,289 utopia.cab
    25/11/2010 01:11 PM 143,297 xetexref.tar.lzma
    25/11/2010 01:21 PM 7,941 xetexurl.tar.lzma
    25/11/2010 01:21 PM 71,206 xgreek.tar.lzma
    25/11/2010 01:10 PM 482,957 xkeyval.tar.lzma
    25/11/2010 01:11 PM 144,202 xltxtra.tar.lzma
    25/11/2010 01:21 PM 16,264 xunicode.tar.lzma
    25/11/2010 01:21 PM 4,597,235 xypic.tar.lzma
    25/11/2010 01:21 PM 89,149 zapfchan.cab
    25/11/2010 01:10 PM 47,973 zapfding.cab
    213 File(s) 178,097,014 bytes
    2 Dir(s) 21,306,888,192 bytes free

     
  • U_Fischer
    U_Fischer
    2010-11-26

    I never had problems to install miktex. In general I
    - always install only the basic-version and download/import additional packages after the installation
    - always install in my user account "only for me" (single user mode)
    - don't install in C:\Programe (as it is called in german) as I quite often search files in the tree and prefer a shorter path.

    Ulrike Fischer

     
  • Alan Lue
    Alan Lue
    2010-12-04

    I'm having the same problem on a 64-bit Windows 7 machine.

    Alan

     
  • I ran into the same problem, also tried compatibility mode.

     
  • I had the same error. An excerpt from log:
    An error occurred:
    source file: Libraries\MiKTeX\Core\win\winFile.cpp
    source line: 270

     
  • This is an error report on windows web server 2008 r2 64-bit, I used miktex
    2.9 portable installation updater.

    Problem signature:
    Problem Event Name: BEX
    Application Name: mpm_mfc.exe
    Application Version: 2.9.3478.0
    Application Timestamp: 4ca78cc4
    Fault Module Name: StackHash_0a9e
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception Offset: cccccccc
    Exception Code: c0000005
    Exception Data: 00000008
    OS Version: 6.1.7600.2.0.0.1296.17
    Locale ID: 1049
    Additional Information 1: 0a9e
    Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
    Additional Information 3: 0a9e
    Additional Information 4: 0a9e372d3b4ad19135b953a78882e789