Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have managed to download the ProTeX package and install TeXstudio. However, I keep failing in installing MiKTeX. (I have tried to download it several times from different places to insure that it was not due to errors in the file.)

The file report is

Loading package database...
starting package maintenance...
installation directory: "C:\Program Files\MiKTeX 2.9_3"
package repository: C:\Users\roenholt\AppData\Local\Temp\mik8802
visiting repository C:\Users\roenholt\AppData\Local\Temp\mik8802...
repository type: local package repository
loading lightweight database...
lightweight database digest: 619596a31709591ed2c339e41c0fb1d7
going to install 9522 file(s) (159 package(s))
problem: C:\Program Files\MiKTeX 2.9_3\miktex/bin\MiKTeX209-core-PS.dll does not exist
problem: C:\Program Files\MiKTeX 2.9_3\miktex/bin\MiKTeX209-core.dll does not exist
problem: C:\Program Files\MiKTeX 2.9_3\miktex/bin\MiKTeX209-packagemanager-PS.dll does not exist
problem: C:\Program Files\MiKTeX 2.9_3\miktex/bin\MiKTeX209-packagemanager.dll does not exist
extracting files from ae.tar.lzma...
extracting files from amsfonts.tar.lzma...
extracting files from amslatex.tar.lzma...
extracting files from avantgar.cab...
extracting files from babel.tar.lzma...
extracting files from bidi.tar.lzma...
extracting files from bookman.cab...
extracting files from carlisle.tar.lzma...
extracting files from cbcoptic.tar.lzma...
extracting files from cm.tar.lzma...
extracting files from courier.tar.lzma...
extracting files from dehyph-exptl.tar.lzma...
extracting files from ec.tar.lzma...
extracting files from elhyphen.tar.lzma...
extracting files from enctex.tar.lzma...
extracting files from euenc.tar.lzma...
extracting files from eurosym.tar.lzma...
extracting files from float.cab...
extracting files from fontspec.tar.lzma...
extracting files from geometry.tar.lzma...
extracting files from graphics.tar.lzma...
extracting files from helvetic.cab...
extracting files from hoekwater.tar.lzma...
extracting files from hyperref.tar.lzma...
extracting files from hyph-utf8.tar.lzma...
extracting files from ifxetex.tar.lzma...
extracting files from jknappen.cab...
extracting files from latex-fonts.tar.lzma...
extracting files from latex2e-help-texinfo.tar.lzma...
extracting files from lm.tar.lzma...
extracting files from ltxbase.tar.lzma...
extracting files from ltxmisc.tar.lzma...
extracting files from lua-alt-getopt.tar.lzma...
extracting files from luainputenc.tar.lzma...
extracting files from lualibs.tar.lzma...
extracting files from luamplib.tar.lzma...
extracting files from luaotfload.tar.lzma...
extracting files from luatexbase.tar.lzma...
extracting files from luatextra.tar.lzma...
extracting files from mflogo.cab...
extracting files from miktex-arctrl-bin-2.9.tar.lzma...
extracting files from miktex-biber-bin.tar.lzma...
extracting files from miktex-bibtex-base.cab...
extracting files from miktex-bibtex-bin-2.9.tar.lzma...
extracting files from miktex-bibtex8bit-base.cab...
extracting files from miktex-bibtex8bit-bin-2.9.tar.lzma...
extracting files from miktex-bin-2.9.tar.lzma...

Error: Permission denied: C:\Program Files\MiKTeX 2.9_3\miktex/bin/internal/miktex-update.exe

Does anyone in this forum have an idea of how to solve the problem?

share|improve this question
1  
Welcome to TeX.sx! –  hpesoj626 Nov 9 '12 at 9:40
4  
How did you get \miktex/bin? Shouldn't it be \miktex\bin? Do you use windows 7? If so do you have admin rights? Do you have miktex already installed or is it a fresh install? If not a fresh install, are you using update or package manager? –  Harish Kumar Nov 9 '12 at 13:07
    
Thanks for reply! I have no idea of how I get \miktex/bin. I just followed the instructions for downloading and installing. I use windows 7 and have admin rights. I use a fresh install. –  Stine Nov 9 '12 at 14:20
2  
I must second Harish: The slash looks very dubious. Please see in C:\Program Files\MiKTeX 2.9_3\miktex\bin\ , whether the files exist. It may a problem of ProTeX, but I don’t know it. You could also download the basic installer of MiKTeX directly from miktex.org and try an installation (or, if you are confident, the net installer for full installation), but I think, in TeXStudio you need to adjust the paths yourself then. Then there is the potential user right issue. (Strange and main dir name BTW, usually without manual changes it would be MiKTeX 2.9.) –  Speravir Nov 9 '12 at 16:37
1  
(Remove “and” in the last sentence of latest comment.) Some hints: Perhaps it’s better to do an installation out of Program Files (something like C:\MiKTeX\ or C:\LaTeX\MiKTeX\ , avoid if possible spaces in path), and if you are the only user, then choose installation for one user, take a look at Difference between administrative and user mode of MiKTeX. –  Speravir Nov 9 '12 at 16:45
show 1 more comment

1 Answer

A good candidate for the source of the problem, which we have found after a few hours (!) of testing, is... the virus scanner! Ours didn't allow under no circumstances to create executable files during the MikTeX installation -- even not in admin mode. Just after turning it off everything went smoothly.

A quick search found the following links: 1 2 3

See also: Is it necessary to disable virus scanner during TeX Live installation, and if so, why?

share|improve this answer
    
See also this comment of Paulo Cereda under the linked question: Is it necessary to disable virus scanner during TeX Live installation, and if so, why?. –  Speravir Jan 25 at 2:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.