Microsoft.Net Framework 1.1 setup has ended prematurely

This trick may have shown up somewhere else. But I still see people asking the same question. So I’ll post it in my blog.

Many people experience failure when installing .Net Framework 1.1 Redist. Usually you see a MSI dialog says “Internal Error 2908.”. Later you will see another dialog says “Error 1935. An error occured during the installation of component xxxx. HRESULT: -2147319761”.

The problem usually is because a broken previous install. Rename %windir%\system32\mscoree.dll and re-install usually does the trick.

This works because MSI uses existence of %windir%\system32\mscoree.dll to tell if a .Net framework is already installed. If MSI believes a .Net framework is already installed, it will use the existing .Net framework to install assemblies into GAC. Renaming mscoree.dll tricks MSI to believe .Net framework is not present. In that case MSI will do a fresh install. Fresh installs rarely fail.

Comments (13)

  1. kyle says:

    i am having the same prob, but when i search the sys32 directory for the mscoree.dll file it is nowhere to be found, actually i can’t find it anywhere on my machine.

  2. Kyle, this is just one of the common setup problems. By no means this is the only problem.

    Please refer to my the other post about how to detect .Net Framework. Can you remove the registry keys described in the link Redistributing .Net Framework 1.1, and try the setup again?

  3. kyle says:

    you were right about that, i was trying to install without the wuc cd, i tried downloading everything seperatly, thought i had it, after the dotnetfx download it did install. I got it all installed, then the 1st time i went to create a project it gave me a error message and told me to re-install so i’m gettin the wuc cd tomorrow and i’ll give it another go.



  4. Jake says:

    excellent, worked a treat, thanks!!

  5. Christopher Nersisyan says:

    I searched Microsoft’s sight and its a shame they did not have a fix for this problem. The closest advice they had regarding mscoree.dll was stopping the installer. Your fix did the trick thank you very much.

  6. It’s works! Thank you very much!!!

  7. Henry L. says:

    Works, great! Thanks

  8. Lee says:

    That did the trick. Now why couldn;t Microsoft make it that simple?