MiKTeX / miktex

the MiKTeX source code
https://miktex.org
Other
802 stars 95 forks source link

Net Installer Crashing #576

Closed hugopy closed 4 years ago

hugopy commented 4 years ago

I'm trying to install MikTek through net install on Windows 10 (x64). I downloaded all the LaTeX packages, and the installer worked normally in the download part. However, when I click "Install" after choosing "Install from a directory on your computer", the installer simply closes. This happens, as I said, after checking "Install from a dir. on your computer" and then clicking next. Clicking next freezed and crashes the installer.

I've already tried disabling my antivirus, rebooting my computer, downloading the installer again, but nothing works. May someone help me, please? Thanks

edocevoli commented 4 years ago

It works for me. I would recommend that you try the basic installer or the command-line installer.

MathuserNik commented 4 years ago

I'm seeing the same behavior.

The net installer version "4.0.0.0" exits silently when choosing the "install" option. Left behind in C:\User\AppData\local\temp is temp file with the contents:


An error occurred:
  source file: Libraries\MiKTeX\Setup\SetupService.cpp
  source line: 740
  message: no local package directory found
  info: 

It appears that, if the setup file is executed in a folder that contains a downloaded package set (specifically, it looks like it's searching for a README.txt first), then it works fine. However, if the setup.exe is run outside of a folder containing package set, it exits silently as above.

edocevoli commented 4 years ago

There is an installer in the local package directory. So the obvious workaround: click the installer which resides in the local package directory.

edocevoli commented 4 years ago

@m0rphed this is unrelated there for I will delete your comment

edocevoli commented 4 years ago

This has been fixed. The new installer (version 4.1) will be available tomorrow.