我一直试图在 Windows 笔记本电脑上安装 MikTex,但所有目录似乎都安装完毕后,我仍收到相同的错误。错误日志如下所示:
... extracting files from xypic.tar.lzma...
extracting files from zapfchan.cab...
extracting files from zapfding.cab...
updating package definition directory ("C:\MiKTeX 2.9\tpm\packages")...
installed 2989 package definition files
visiting repository C:\Users\Matthew\AppData\Local\Temp\mik1932...
repository type: local package repository
loading lightweight database...
"C:\MiKTeX 2.9\miktex/bin\initexmf.exe" --user-install="C:\MiKTeX 2.9" --log-file="C:\MiKTeX 2.9\miktex/config\uninst.log" --verbose:
An error occurred:
source file: Libraries\MiKTeX\Core\Process\Process.cpp
source line: 159
message: The executed process did not succeed.
info: fileName="C:\MiKTeX 2.9\miktex/bin\initexmf.exe", arguments="--user-install="C:\MiKTeX 2.9" --log-file="C:\MiKTeX 2.9\miktex/config\uninst.log" --verbose", exitCode="-1073741792"
我尝试了许多推荐的修复方法(卸载 Adobe、检查 Windows 注册表中 .pdf 的权限、在 Program Files 之外安装但在 C:/ 中的新文件夹中安装、关闭防火墙)。我以管理员身份执行此操作,因此我看不出这有什么问题。但我每次都收到完全相同的错误消息。