• Please let the VC redist 10 to be the last to remove


    The VC redist 10 refers to Microsoft Visual C++ 2010 Beta 1 x86/x64 Redistributable.

    When you want to completely remove Visual Studio 2010 beta 1 and .NET Framework 4 beta1, please follow the order: 

    1.     Uninstall TFS Object Model (Visual Studio Team System 2010 Team Suite Beta 1 customers only).

    a.     Click Run from the Start Menu (or press Win+R).

    b.     In the Run Dialog box, type control "appwiz.cpl" and then click OK.

    c.     In the list of installed applications, select Microsoft Team Foundation Server 2010 Beta 1 Object Model and then click Uninstall.

    2.     Uninstall Visual Studio 2010 Beta 1.

    a.     Click Run from the Start Menu (or press Win+R)

    b.     In the Run Dialog box, type control "appwiz.cpl" and then click OK.

    c.     In the list of installed applications, select an instance of Visual Studio 2010 Beta 1 (e.g. Microsoft Visual Studio Team System 2010 Team Suite Beta 1) and then click Uninstall.

    d.     The Wizard will open. Then, on the Welcome screen click Next to proceed.

    e.     On the Maintenance screen, click Uninstall and then click OK to completely uninstall. The Uninstall progress screen will show the progress and then you should see the finish dialog indicating whether the uninstall was successful.

    f.      Reboot, if prompted.

    g.     Repeat Step 2 for each installed version of Visual Studio 2010 Beta 1.

    3.     Uninstall .NET Framework 4 Beta 1.

    a.     Click Run from the Start Menu (or press Win+R).

    b.     In the Run Dialog box, type control "appwiz.cpl" and then click OK.

    c.     In the list of installed applications, locate the following applications and then click Uninstall for each in this order:

                                                 i. Microsoft .NET Framework 4 Extended Beta 1 - Language Pack

                                                ii. Microsoft .NET Framework 4 Client Profile Beta 1 - Language Pack

                                               iii. Microsoft .NET Framework 4 Extended Beta 1

                                               iv. Microsoft .NET Framework 4 Client Profile Beta 1

    4.     Uninstall Visual C++ 2010 Redistributable (x86 and/or x64).

    a.     Click Run from the Start Menu (or press Win+R).

    b.     In the Run Dialog box, type control "appwiz.cpl" and then click OK.

    c.     In the list of installed applications, select Microsoft Visual C++ 2010 Beta 1 Redistributable (x86 and/or x64) and then click Uninstall.

    Reference: Preventative measures to avoid an unusable Visual Studio 2010 on Windows 7 after upgrading from Windows Vista

    I have just had a test on my Windows Server 2008 and verified that there will be a big problem if you remove VC redist 10 at first.

    Here is the problem description and how I got over the problem, the following part is especially for those DTG guys who are interested in troubleshooting setup problems.

    Unable to uninstall .NET Framework 4 Client Profile Beta 1, and cannot install/repair previous versions of .NET Framework such as .NET 2.0/3.0/3.5/3.5 SP1, and even cannot make event viewer work!

    Event viewer or other administrative tools will leave such an error:

    MMC could not create the snap-in.  The snap-in might not have been installed correctly.
    name: Server Manager
    CLSID: FX:{18ea3f92-d6aa-41d9-a205-2023400c8fbb}

    Yes, you got so in trouble.

    But wait, let's check out the installation log to see if we can get any clue, we go to %temp% and look for Microsoft .NET Framework 4 Client Profile Beta 1 Setup*.html and Microsoft .NET Framework 4 Client Profile Beta 1 Setup*.txt.

    You will see the setup failed at the CommandLine = "C:\Windows\Microsoft.NET\Framework\v4.0.20506\SetupCache\Microsoft .NET Framework 4 Client Profile Beta 1\Setup.exe" /repair /x86
    It is not enough, exploring further we will investigate the details at Microsoft .NET Framework 4 Client Profile Beta 1 Setup*.txt

    Trying searching for "return value 2" to find the vital error(s)(I'll give explanation later)... the relevant part was:

    10/20/09 12:55:16 DDSet_Entry: ConfigureNativeImage started
    10/20/09 12:55:16 DDSet_Status: ExecuteNgen: Deferred or Commit action for NGEN
    10/20/09 12:55:16 DDSet_Status: CustomActionData: C:\Windows\Microsoft.NET\Framework\v4.0.20506\ngen.exe uninstall "PresentationUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";866304
    10/20/09 12:55:16 DDSet_Status: Running Command Line: C:\Windows\Microsoft.NET\Framework\v4.0.20506\ngen.exe uninstall "PresentationUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    10/20/09 12:55:16 DDSet_Status: LANGID: 1033
    MSI (s) (1C:08) [12:55:18:609]: I/O on thread 3960 could not be cancelled. Error: 1168
    MSI (s) (1C:08) [12:55:18:609]: I/O on thread 760 could not be cancelled. Error: 1168
    MSI (s) (1C:08) [12:55:18:609]: I/O on thread 2420 could not be cancelled. Error: 1168
    MSI (s) (1C:08) [12:55:18:609]: I/O on thread 4344 could not be cancelled. Error: 1168
    MSI (s) (1C:08) [12:55:18:609]: I/O on thread 1712 could not be cancelled. Error: 1168
    MSI (s) (1C:08) [12:55:18:609]: I/O on thread 5900 could not be cancelled. Error: 1168
    MSI (s) (1C:08) [12:55:18:609]: I/O on thread 4068 could not be cancelled. Error: 1168
    MSI (s) (1C:08) [12:55:18:609]: I/O on thread 4112 could not be cancelled. Error: 1168
    10/20/09 12:55:18 DDSet_Status: Process returned -1073741515
    10/20/09 12:55:18 DDSet_Status: Incrementing progress bar for filesize: 866304
    10/20/09 12:55:18 DDSet_CARetVal: 0
    MSI (s) (1C:F8) [12:55:18:613]: Executing op: ActionStart(Name=CA_ConfigureNativeImageRollback_x86.3643236F_FC70_11D3_A536_0090278A1BB8,,)
    10/20/09 12:55:18 DDSet_Entry: ConfigureNativeImage ended successfully
    MSI (s) (1C:F8) [12:55:18:620]: User policy value 'DisableRollback' is 0
    MSI (s) (1C:F8) [12:55:18:620]: Machine policy value 'DisableRollback' is 0
    Action ended 12:55:18: InstallExecute.
    Return value 2.

    Now there is some clue that the problem was happening at the bold command line i.e. C:\Windows\Microsoft.NET\Framework\v4.0.20506\ngen.exe uninstall

    Then, I tried running the command line manually, it gave me the error:

    This application has failed to start because MSVCR100.dll was not found.
    Re-installing the application may fix this problem.

    Oh, yes, we were approaching to the root cause!

    The problem was the missing file MSVCR100.dll, that is to say it was actually complaining about the VCredist 10 beta 1 cannot be found there.

    Rather than reinstall all of VS 2010 Beta 1, we can try to reinstall the .Net Framework 4 beta1 to get it back, for there is no standalone VCredist 10 available. We can get .NET Framework 4 installer at <VS2010 installation source>\WCU\dotNetFramework\dotNetFx40_Full_x86_x64.exe

    Well, the solution however is simple: reinstall .NET 4 beta 1 and then remove them in the order.

    As for "return value 2", it refers to "User canceled", 0 for Action not executed;1 for Success;3 for Fatal error and 4 for Suspended, waiting for reboot.

    Usually we search for "return value 3" which probably can speed up the job, but in this case the user was forced to cancel the setup for runtime errors, so there is no value 3 but 2.

    For more information about MSI log, here is a great blog: How to Interpret Windows Installer Logs

    If you meet with similar problems by any chance, please don't worry, let's overcome it! :)

    Have a nice Day!

    Edit: after finishing this blog, I also find there is a similar problem logged at connect website, for your reference: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=462367

    And more readings:

    Visual Studio 2010 Beta 2 Readme: http://go.microsoft.com/fwlink/?LinkID=166199

    Visual Studio 2010 Beta 2 Installing and maintaining Visual Studio documents: http://msdn.microsoft.com/en-us/library/e2h7fzkw(VS.100).aspx  

    Microsoft VS/.NET Log Collection Tool: http://www.microsoft.com/downloads/details.aspx?FamilyID=e0da314f-6216-4a18-bc6b-7d29cf83af20&displaylang=en

    Installing Visual Studio 2010 Beta 2 if you’ve already installed Visual Studio 2010 Beta 1 and you don’t want to flatten your box

    Important uninstall instructions for migrating from the .NET Framework 4 and VS 2010 beta 1 to beta 2

  • 相关阅读:
    每天进步一点点------基础实验_08_触发器 :D、T触发器各一
    每天进步一点点------基础实验_07_锁存器 :锁存器器及透明锁存器各一
    每天进步一点点------基础实验_06_优先译码器 :优先译码器
    每天进步一点点------基础实验_05_译码器 :3位输入8位输出译码器
    每天进步一点点------基础实验_04_优先编码器:8位输入3位输出高位优先
    每天进步一点点------基础实验_03_编码器 :8位输入3位输出编码器
    每天进步一点点------基础实验_02_多路解复用器 :4通道8位带三态输出
    每天进步一点点------基础实验_01_多路复用器 :4通道8位带三态输出
    每天进步一点点------时序分析基础与时钟约束实例(三)
    每天进步一点点------时序分析基础与时钟约束实例(二)
  • 原文地址:https://www.cnblogs.com/feishunji/p/1586907.html
Copyright © 2020-2023  润新知