Share →

You may think, why is he uninstalling VS2010? Well, apart from proving that it works…And that it plays well with VS2008 I need to remove the pre-beta beta that I have installed.

image

This is in fact the second time I have uninstalled VS2010 on this computer, and I had no problems last time, but the difference is that I will be installing a slightly different build :) of Beta 1.

I am hoping that I do not have any problems, but my scenario is largely unsupported.

I have removed visual studio, but it probably left a few trainer that I will need to remove manually. The easiest way is to see what was installed in the last month and check it all… Gruelling I know, but what can you do…

There is a nice little feature in Vista when you are in the programs list that lets you filter the list… coz it can be realy big

image

Here is he list of software I have installed in the last month:

image

I have highlighted all of the 2010 bits and it at first seams like there are rather a lot of them, but as you go through the list (I will finish with the .NET 4.0 bits) you find that it is just a cleanup issue..

image

So I then had some fun uninstalling .NET 4.0…

I know that this was unsupported, and that we were warned us not to do it, but we are developers and we like to push the big red buttons, but I installed the pre-beta beta on my production computer…

During the uninstall there was an infinite number of runtime errors.

clip_image002

And after cancelling and rebooting received lots of .net 4.0 errors for all sorts of applications upon boot.

clip_image004

The same thing happened during my second attempt at uninstalling. The plan now is to try a repair and then an uninstall…

Well, the repair failed, so I am going strait to installing from the new .NET 4.0 Beta 1 release and everything seams to be working ok so far. I realise that my computer will be in an unknown state afterwards, but I can always reinstall when I get the chance.

image

And after a restart, no problems… Wohooo….

Now to VS2010… And if my infrastructure team get me my VPC there will be TFS fun as Well.

So the end result is that although I have not uninstalled .NET 4.0, I do have the latest version which is what I wanted…

Technorati Tags:     
  • Don Burnett

    I tried to uninstall beta 1 myself and I am getting a very weird error the logs are telling me.. I also uninstalled .net 4.0 b1 (the MVP LCP) now when I try to reinstall the new b1 Net 4.0 I am getting this error message.. This is from the install log..

    [5/19/2009, 14:57:42] Action: Performing Action on Exe at c:\716384dbcd60b99768e2\Windows6.1-KB958488-v6001-x64.msu…

    [5/19/2009, 14:57:42] (ExeInstallerBase::Launch) Launching CreateProcess with command line = wusa.exe “c:\716384dbcd60b99768e2\Windows6.1-KB958488-v6001-x64.msu” /quiet /norestart
    [5/19/2009, 14:58:7] (ExeInstallerBase::EnsureExitCodeIsAnMSIErrorCode) Original exit code: c:\716384dbcd60b99768e2\Windows6.1-KB958488-v6001-x64.msu returned non-MSI error code: 0×80092004 – Cannot find object or property.
    [5/19/2009, 14:58:8] (ExeInstallerBase::EnsureExitCodeIsAnMSIErrorCode) Modified exit code: c:\716384dbcd60b99768e2\Windows6.1-KB958488-v6001-x64.msu returned error code: 0×643 – Fatal error during installation.
    [5/19/2009, 14:58:8] (ExeInstallerBase::PerformAction) Exe (c:\716384dbcd60b99768e2\Windows6.1-KB958488-v6001-x64.msu) failed with 0×80070643 – Fatal error during installation. .
    [5/19/2009, 14:58:8] (ExeInstallerBase::PerformAction) PerformOperation on exe returned exit code 1603 (translates to HRESULT = 0×80070643)

    [5/19/2009, 14:58:8] Action complete

    Any ideas??

    Obviously installer is having a problem with..

    Windows6.1-KB958488-v6001-x64.msu

    which I uninstalled and restarted under installed updates on the control panel..

    I can’t find out what this update is..

    Help!

  • Martin Hinshelwood

    Mark Michaelis game me a solution that works for him… Don’t know if it will work for you:

    Hi Martin,

    Here is how I did it.

    Open Programs & Features and search on 2010

    Uninstall Visual Studio 2010
    Uninstall Visual Studio Office 2010
    Uninstall other stuff… (can’t recall)
    Uninstall 2010 Pre-reqs
    Search on Framework
    Uninstall .NET Framework 4.0 Extended
    This was where the errors you mentioned occurred(mostly with ngen.exe for me)
    Rename the crashed program (always in the v4.0 frameworks directory in my case) to have a *.OLD extension
    Uninstall the .NET Framework 4 Client Profile

    Good luck!

    Mark

  • Alex

    Thanks Mark. It worked for me two.

  • Mario

    strange thing happening here, beside the native compiler errors which are thousands:

    at the Maintanance installer of VS2010, the latest task to uninstall are the Macro Tools. It is generating the setup script for ages now, it seems to me the progress bar is slightly moving so I hope it will finish in the end!
    It is running on this latest task for more then an hour now.

    I didn’t like VS2010 at all, and I need the disk space at the moment and don’t want to re-install the whole OS now again…..

  • Charles Rex

    Hello,

    When playing with beta software, I warmely recommed to use images of the system partition (e.g. C:). For example Symantec Ghost is such a hard disk imaging tool.

    Then restore the system partition at any time to a previously running state.

  • Paul

    Uninstalling Visual Studio 2010 Beta 2 gave this error:

    MSI (s) (30:24) [21:46:46:369]: Executing op: CustomActionSchedule(Action=CA_VSTestConfig_Uninstall_DEF,ActionType=3137,Source=BinaryData,Target=CAQuietExec,CustomActionData=”C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\VSTestConfig.exe” NetworkEmulation /CheckedUninstall)
    MSI (s) (30:AC) [21:46:46:369]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI47.tmp, Entrypoint: CAQuietExec
    CAQuietExec: Microsoft (R) VSTestConfig Version 10.0.0.0
    CAQuietExec: for Microsoft Visual Studio v10.0
    CAQuietExec: Copyright (c) Microsoft Corporation. All rights reserved.
    CAQuietExec:
    CAQuietExec: Network Emulation Configuration:
    CAQuietExec:
    Exception : Could not load file or assembly ‘Microsoft.VisualStudio.QualityTools.NetworkEmulationApi.dll’ or one of its dependencies. The specified module could not be found.
    CAQuietExec: Error 0xffffffff: Command line returned an error.
    MSI (s) (30:24) [21:46:49:920]: Executing op: ActionStart(Name=UnregisterClassInfo,Description=Unregister Class servers,Template=Class Id: [1])
    CAQuietExec: Error 0xffffffff: CAQuietExec Failed

  • jeet

    good cyte for everybody

  • Selçuk Yavuz

    This post solve my uninstall problem.

    Thanks for sharing.