locked
How to remove ASP.NET MVC 3 and MVC 4 Runtime RRS feed

  • Question

  • On my Windows 8.1 Pro machine, I've just uninstalled Visual Studio 2012 and a couple of Express Editions of 2013 plus all of their associated packages. I've since realised that I probably didn't do them in the correct order, since I didn't realise there was one.  Two of the packages I removed were:

    Microsoft ASP.NET MVC 3                   3.0.50813.0
    Microsoft ASP.NET MVC 4 Runtime      4.0.40804.0

    After removing them and then later running Check for Updates, I saw the following in the list of Important updates:

    Security Update for Microsoft ASP.NET MVC 3 (KB2993937)
    Security Update for Microsoft ASP.NET MVC 4.0 (KV2993928)

    Once Windows has applied them, the following entires reappear in the list of Add or Remove Programs

    Microsoft ASP.NET MVC 3                   3.0.50813.0
    Microsoft ASP.NET MVC 4 Runtime      4.0.40804.0

    I've checked a Windows 7 SP1 machine and the same happens.

    How can I completely remove these items?

      
    • Moved by Barry Wang Monday, January 12, 2015 8:27 AM Setup issue.
    Sunday, January 11, 2015 9:17 AM

Answers

  • Hello,

    May I ask why you need to remove them all?

    For Visual Studio 2012 components, you can refer to the following list:

    http://support.microsoft.com/kb/2771441

    A reasonable way is to use msiinv.exe tool from here http://blogs.msdn.com/b/astebner/archive/2005/07/01/using-msiinv-to-gather-information-about-what-is-installed-on-a-computer.aspx to get all installed components on your OS.

    Then you can use the following command msiexec /x <product code> to remove any components. You can refer to the blog above for details.

    However, please notice that some components are shared components so if you moved them some products will not work well.  Please make sure you know the use of those MVC components then remove them.

    And as the security update is for MVC, maybe you need to manually uninstall them from your control panel, view installed updates.

    Best regards,



    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Barry Wang Monday, January 19, 2015 8:33 AM
    Monday, January 12, 2015 8:32 AM

All replies

  • As your concern is with removing Visual Studio components, and not with .NET Framework setup (this forum's topic), I suggest you ask in the Visual Studio Installation and Setup forum, here:

    https://social.msdn.microsoft.com/Forums/en-US/vssetup/threads

    You also may want to ask in the MVC forum, here:

    http://forums.asp.net/1146.aspx/1?MVC

    Monday, January 12, 2015 12:41 AM
  • Hello,

    May I ask why you need to remove them all?

    For Visual Studio 2012 components, you can refer to the following list:

    http://support.microsoft.com/kb/2771441

    A reasonable way is to use msiinv.exe tool from here http://blogs.msdn.com/b/astebner/archive/2005/07/01/using-msiinv-to-gather-information-about-what-is-installed-on-a-computer.aspx to get all installed components on your OS.

    Then you can use the following command msiexec /x <product code> to remove any components. You can refer to the blog above for details.

    However, please notice that some components are shared components so if you moved them some products will not work well.  Please make sure you know the use of those MVC components then remove them.

    And as the security update is for MVC, maybe you need to manually uninstall them from your control panel, view installed updates.

    Best regards,



    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Barry Wang Monday, January 19, 2015 8:33 AM
    Monday, January 12, 2015 8:32 AM
  • Uninstall Microsoft ASP.NET MVC 4 Runtime in Programs and Features

    Remove C:\ProgramData\Microsoft\NetFramework\BreadcrumbStore\System.Web.Mvc,*

    Check for updates and hopefully it stays removed. 

    I briefly installed something that caused this to install long ago. I don't even remember what it was, but I do remember after uninstalling it I couldn't get the update to go away. After much digging I found these, removed them, and the update no longer reinstalls.

    • Proposed as answer by Avrertw Monday, August 27, 2018 7:33 PM
    Thursday, August 23, 2018 3:28 PM