I upgraded from Miktex 2.7 to 2.9 yesterday on my Vista system [I'm an
experienced LaTeX user currently working in industry. Needed to write
a technical paper and went back to LaTeX] and it's been a nightmare.
Your help is much appreciated.
Here's a chronicle of my issues:
1. After installing, I tried compiling a simple document [my own]. It
said something about not finding hyperref. So I tried updating MikTeX
using the update manager, it didn't work. When I ask it to install the
missing package via package manager, [which I'd set to install
missing packages on the fly], it gave an error like this:
"Windows API error 5: Access is denied."
Did a reboot but no luck in making it go away. A Google search showed
nothing directly relevant but some reports that Adobe is an issue so
uninstalled that [I had Adobe Reader X]. Still no luck.
2. I then thought it was an installation problem and tried to
uninstall and now it gives me the following error:
"The operation could not be completed for the following reason:
The IniTeXMF executable could not be found"
3. I then made sure my anti-virus system {Norton} was not blocking and
and that was fine. Tried a recompile of the basic tex file and here's
the message in TeXworks:
-------------------------------------------------------------------------------
This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)
miktex-pdftex.exe: The memory dump file could not be found.
miktex-pdftex.exe: Data: pdflatex.fmt
-------------------------------------------------------------------------------
4. Tried to run update/package manager again and the former says "no
new updates" while the latter hangs ["Not responding" message].
From what I can tell, the installation is broken but I don't know how
to uninstall or fix it. Please help!!!
Delete all traces of Miktex. Run the installation process once more as
a administrator, and doing a full install and only for "This user".
Install to a separate directory, not "Program Files". Always run the
update manager as administrator, and be sure that you have closed
every Miktex-programs when you update. I have had the same error
twice, because Miktex try to update a file I am using (texworks, Yap,
a documentation fiel, etc.)
> Delete all traces of Miktex. Run the installation process once more as
> a administrator, and doing a full install and only for "This user".
> Install to a separate directory, not "Program Files". Always run the
> update manager as administrator,
There is absolutly no need to install as administrator or with admin
rights.
If you want a single user installation (which is in general a good
idea as it make managing miktex easier) do it in the user account
with the rights of this user in a folder where the user has writing
rights.
It only asks for trouble to give the user rights during installation
that he will not have later when running the application.
> and be sure that you have closed every Miktex-programs when you update.
That's in general a good idea.
--
Ulrike Fischer
Thanks for the responses. I had installed as a user with admin rights
and for that user only.
Is it ok to delete the Miktex folder in C:\Program Files [and the the
sub-folders, etc.] directly? I know uninstall is the best and as that
isn't working, this is probably the only option. However, will this
break the registry or something similar? Do let me know.
Thanks,
Atul
Running update as administrator was the only solution to upgrade
miktex-vc100-bin on my system. I don’t know why. My user account has
administrator rights, but the UAC is enable (and I am not allowed to
disable it). Maybe this combination makes some dirty tricks. I use
Win7 Pro. I read some place that many problems was solved if you run
the programs once with administrator rights. It very easy for me,
because I just right click on the program and choose "Run as
Administrator".
As far as I remember, "Access denied C:", was the error message when a
file in use could not been updated (texworks and yap) and when vc-100
bin could not been updated.
I have installed miktex in a separate directory structure (c:\ep
\miktex) and just renamed "miktex" to "miktex.old" and reinstalled
Miktex under "c:\ep\miktex". When everything works, I just delete
"miktex.old"
It has worked the last four re-installations. May be not correct, but
it works. And I am so fed up with Windowz$ bugs, that if it works, it
doesn’t matter if it is correct or not.
What I have done, is to rename the miktex forlder, and installed
miktex to a new folder with the same name. thereafter I have deleted
the old installation.
Did as you suggested: renamed the MikTeX folder under Program Files to
"OldMikTeX". Then reinstalled on a different drive [I think anything
outside Program Files may work but I didn't test that]. Was able to
update, install missing packages, etc. Got working on the paper even!!
Thanks a lot for your help!!
My pleasure!