At least now we know exactly what exactly is failing - registration of core miktex dlls. Unfortunately I don't know what could be the cause of it. I have no problems running registration/unregistration on my system even if the dlls are already registered:
Perhaps contact MiKTeX developers about it. I don't know what else to suggest. You may also try to register the above dlls manually with regsvr32 and rerun the installation. Maybe that will help.
I've actually managed to install MikTeX somehow. Unfortunately I cannot say how. I tried out so many things .. :-/
In fact I think the registering problem has nothing to do with MikTeX but with the registry server - because the error occurs on registering the dlls.
One thing I tried was to call this manually : initexmf --update-fndb --force --mklinks --mkmaps --verbose
The output from this call said something about errors with fonts - maybe the error has something to with this?
Anyhow, one of my several installations of MikTeX managed it to register itself, I could see this calling regedit.exe. Although the installation is still not recognized as "software" component (and therefore not listed in the Software list of the Windows system view), there are all essential exe-files within /miktex/bin - that's sufficient for using WinShell.
In conclusion: The error is still there, it must have something to do with the registry server. Maybe there is somebody who finds that out. But as long as all essential exe-files are installed correctly, I can use them together with my editor at least.
My tip for monsterjet: Have a look at miktext/bin - maybe the required exe's are already complete?! I'll keep my fingers crossed!
maybe you can give me a hint. I mean the more you can narrow my search the better.
By the way, did the installation process complete normally?
Also, I have the .exe files but when i run Lyx and i write some text, it fails later when i try to convert it into pdf, which as far as i know is the moment when miktex is called to perform that action
After many tests and installations I found that indeed the problem is in running 'mpm.exe --register-components --verbose' which registers the dll files that you mentioned!
The thing is, that I can run it manually, and it works, yet the installation procedure has to do that by itself and obviously shows an error if it does not manage to do that itself. Any clue why it runs manually, but not automatically?
that's exactly what I also realized: The registering seems to work manually but not automatically. This let me suspect the RegServer and maybe it has nothing to do with these dlls but with the last action before. Due to the registry cleaning I have maybe confused it somehow.
Regarding Lyx: I don't know how it works there, but can't to set the paths to the exe files? This is what I have to do for Winshell. Thus it doesn't matter if the MikTeX installation aborts at the last few registering calls, because all my required exe files exist
I am having the same problem but I am not sure how to manually run the mpm.exe --register-components --verbose. Can you please help me with this last step?
I've been trying to install MikTex 2.7 now for almost 3 days and it just won't work.
I had the same errors as described earlier in this thread:
The installation didn't finish properly:
...
problem: C:\Programme\LaTex\MiKTeX 2.7\miktex\bin\MiKTeX207-core-PS.dll does not exist
problem: C:\Programme\LaTex\MiKTeX 2.7\miktex\bin\MiKTeX207-core.dll does not exist
problem: C:\Programme\LaTex\MiKTeX 2.7\miktex\bin\MiKTeX207-packagemanager-PS.dll does not exist
problem: C:\Programme\LaTex\MiKTeX 2.7\miktex\bin\MiKTeX207-packagemanager.dll does not exist
...
An error occurred:
source file: C:\work3\miktex-2.7\Libraries\MiKTeX\Core\Process.cpp
source line: 296
message: The operation failed for some reason.
info: C:\Programme\LaTex\MiKTeX 2.7\miktex\bin\mpm.exe
I've tried the command mpm --register-components --verbose. After I had switched off my virus scanner, it worked and the dll-files were registered.
But the main problem that occured when I tried to integrate MikTex into TeXnicCentre is that the necessary .exe files (latex.exe, pdflatex.exe...) are not in the miktex\bin folder!
I've deleted and reinstalled MikTex several times, in versions 2.5, 2.6 and 2.7. It's always the same problem that the important .exe files are missing!