I have a problem with the Mom.exe (0xc0000135)
The resolution for this to install Net Framework 2.0
But when I try to install it I get this error code:
Error 25007. Error occurred while initialisng fusion. Setup could not load fusion with LoadLibraryShim (). Error: 0x80131700
Any ideas?
Delete this folder and try to install again:
C:\WINDOWS\WinSxS\Policies
If the issue persists then open your recycling bin and restore the above folder and we can try other solutions.
Try this.
None of these fixes worked for me.
I went on Aaron Stebners weblog and found this:
In order to allow the .NET Framework 2.0 to successfully install during the T13 phase of OS setup, you can include the following commands in svcpack.inf:
[SetupHotfixesToRun]
reg delete HKLM\Software\Microsoft\PCHealth\ErrorReporting\DW /f
reg add HKLM\SYSTEM\Setup /v SystemSetupInProgress /t REG_DWORD /d 0 /f
dotnetfx.exe /Q /C:"install.exe /Q"
reg add HKLM\SYSTEM\Setup /v SystemSetupInProgress /t REG_DWORD /d 1 /f
Deleting the DW registry key is necessary because .NET Framework 2.0 setup tries to write a value under this registry key and does not have the required permissions to write that value during OS setup.
Setting the SystemSetupInProgress value to 0 is necessary because when that value is set to 1 (which it is by default during OS installation), the action that installs assemblies to the GAC during .NET Framework 2.0 setup will fail with the following error:
Error 25007.Error occurred while initializing fusion. Setup could not load fusion with LoadLibraryShim(). Error: The handle is invalid.
and:
Hey,
After a long night of heavy debugging, I managed to install .NET Framewoek 2.0 from svcpack.inf
The solution is quite surprising, and I don't really understand why it works, but it does.
Just changed the REG_DWORD value of SystemSetupInProgress in HKEY_LOCAL_MACHINE\SYSTEM\Setup from 1 to 0,
and install.
This can be done by running the following:
REG ADD HKLM\SYSTEM\Setup /V SystemSetupInProgress /T REG_DWORD /D 0 /F
What I can't figure out is how I install Net.Framework from the svcpack.inf.