I tried to install MikTex 2.9 on windows 8.1, but the operation failed with the following error:
MikTex setup wizard
The operation failed for some reason
Details: C:\Program Files (x86)\MikTex2.9\miktex/bin\initexmf.exe
Does anyone know how to fix this please ??
Best Answer
Try this,
Right click on My PC/My Computer and select properties. (Should lead to Control Panel\All Control Panel Items\System)
Select "advanced system settings"
Under the advanced tab click "Environment variables"
Find PATHEXE in the user AND system variables. If it's not there, insert .EXE into the lists of extensions. Make sure C:\WINDOWS\System32 is in both of the PATH lists too.
Restart your computer.
[copied]