I have recently made an update of MiKTeX on Windows 10. Now if I try to open a tex file I receive messages of system error complaining that certain files are missing, and suggesting me to try reinstalling the application. The missing files are:
MiKTeX210300-hunspell.ddl
MiKTeX210300-log4cxx.ddl
MiKTeX210300-lua53.ddl
MiKTeX210300-poppler-Qt.ddl
I have checked that in my MiKTeX directory (...\AppData\Local\Programs\MiKTeX\miktex\bin\x64) are actually present the files MiKTeX221200-hunspell.ddl, MiKTeX221200-log4cxx.ddl, MiKTeX221200-lua53.ddl and MiKTeX221200-poppler-Qt.ddl, which I guess are more recent versions of the files than the required ones.
On the other hand, if I try to access miktex-console.exe in order to uninstall the application, I get the same type of system error messages, complaining this time that the missing files are
MiKTeX221200-ui-Qt.ddl
MiKTeX221200-setup.ddl
MiKTeX221200-loc.ddl
MiKTeX221200-packagemanager.ddl
And I have checked that in my directory there are the files MiKTeX210300-ui-Qt.ddl, MiKTeX210300-setup.ddl, MiKTeX210300-loc.ddl and MiKTeX210300-packagemanager.ddl, so in this case presumably older versions of the files than the required ones!
What should I do now? Does it make sense to try reinstalling MiKTeX, if I am unable to uninstall before the older version which does not work any more?
ExplorerDelete the MikTex Folder in where ever you installed it (Usually Program Files). Go to theAppDatafolder and delete theMikTeXfolder in<username>\Local\MikTeX. If you feel confident, open theRegistryand delete all keys containing the wordMikTeX. That removes almost all keys related to MikTeX. Then reinstall a fresh download from the MikTeX repository, immediately do anupdateto obtain the most recent version. Install all other packages after that. – alchemist Apr 11 '23 at 02:03