在 Windows 上,基本的 MiKTeX 2.9 安装失败。因此,我在清理完毕后编辑了日志文件,以清除第一次失败尝试留下的灰尘。
这是清理了很多东西之后的最简单的日志文件(主要是因为第一次安装 MiKTeX 失败):
2016-12-03 17:37:28,244+0100 INFO initexmf - starting: MiKTeX Configuration Utility (MiKTeX 2.9.6100 64-bit)
2016-12-03 17:37:28,307+0100 INFO initexmf - Registering root directories...
2016-12-03 17:37:28,540+0100 INFO initexmf - starting: MiKTeX Configuration Utility (MiKTeX 2.9.6100 64-bit)
2016-12-03 17:37:28,610+0100 INFO initexmf - Removing fndb (C:\ProgramData\MiKTeX\2.9)...
2016-12-03 17:37:29,956+0100 INFO initexmf - starting: MiKTeX Configuration Utility (MiKTeX 2.9.6100 64-bit)
2016-12-03 17:37:30,032+0100 INFO initexmf - Skipping user root directory (C:\Users\Jean-Claude\AppData\Roaming\MiKTeX\2.9)...
2016-12-03 17:37:30,033+0100 INFO initexmf - Skipping user root directory (C:\Users\Jean-Claude\AppData\Local\MiKTeX\2.9)...
2016-12-03 17:37:30,033+0100 INFO initexmf - Skipping user root directory ("C:\Program Files (x86)\Tex")...
2016-12-03 17:37:30,037+0100 INFO initexmf - Creating fndb for common root directory (C:\ProgramData\MiKTeX\2.9)...
2016-12-03 17:37:30,112+0100 INFO initexmf - Creating fndb for common root directory ("C:\outils\MiKTeX 2.9")...
2016-12-03 17:37:38,698+0100 INFO initexmf - starting: MiKTeX Configuration Utility (MiKTeX 2.9.6100 64-bit)
2016-12-03 17:37:38,939+0100 FATAL initexmf - A MiKTeX configuration file could not be loaded.
2016-12-03 17:37:38,939+0100 FATAL initexmf - Info: file="C:\Program Files (x86)\Tex\miktex/config\scripts.ini", line="147", error="the file has been tampered with"
2016-12-03 17:37:38,940+0100 FATAL initexmf - Source: Libraries\MiKTeX\Core\Cfg\Cfg.cpp
2016-12-03 17:37:38,940+0100 FATAL initexmf - Line: 1138
有什么帮助吗?
答案1
经过大量步骤和尝试后终于解决了。因此,我的答案只是一些想法:
- 每次尝试失败后,删除所有已安装的文件
- 在安装目录中取消激活防病毒软件
- 以管理员身份执行安装程序
- 检查是否有其他与乳胶有关的工具并将其从路径中删除
- 避免安装路径为空白
然后,如果幸运的话,您将安装 MiKTeX。