Microsoft Edge

Try Microsoft Edge

A fast and secure browser that's designed for Windows 10 Get started

This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn more
Microsoft Microsoft
    • .NET
      • Apps
      • Internet of Things
      • Mixed Reality
      • Microsoft Edge
      • Hardware
      • IT Center
      • What is Azure
      • Products
      • Solutions
      • Pricing
      • Create a free account
      • Visual Studio
      • Visual Studio IDE
      • Visual Studio Team Services
      • Visual Studio Code
      • Xamarin
      • Visual Studio Dev Essentials
      • Subscriptions
      • Office Dev Center
      • Office 365 for IT pros
    • Microsoft Graph
      • Store
      • Cortana
      • Bing
      • Application Insights
      • .NET
      • Microsoft Azure
      • Microsoft Graph
      • Visual Studio
      • Visual Studio Team Services
      • Windows
      • Office
      • All Developer Centers
    • TechNet
    • Microsoft Developer Network
      • Windows IT Center
      • Office 365 for IT Pros
      • All IT TechCenters
      • Microsoft Download Center
      • Microsoft Azure
      • Visual Studio
      • SDKs
      • Windows
      • Office
      • Microsoft Graph
      • MSDN
      • Azure
      • Windows
    • PowerShell scripts
      • Microsoft Azure
      • Visual Studio
      • Visual Studio Team Services
      • Developer tools
      • Office Dev Blog
      • Server & management
      • Windows
      • Developers
      • TechNet
      • Microsoft Tech Community
      • Visual Studio (MSDN) subscriptions
      • Microsoft Cloud Essentials
      • Microsoft Virtual Academy
      • IT Pro Career Center
    • Microsoft Evaluation Center
    • Channel 9
    • No results
    Sign in
    Developer Community Status
    Visual Studio

    Developer Community

    Get help from our community supported forum
    Visual Studio Visual Studio for Mac .NET C++ VSTS TFS
    All Products
    • Visual Studio
    • Visual Studio for Mac
    • .NET
    • C++
    • VSTS
    • TFS
    Report a problem
    • for Visual Studio
    • for Visual Studio for Mac
    • for .NET
    • for C++
    • for VSTS
    • for TFS
    Report an issue in Visual Studio Installer or Visual Studio
    This allows diagnostic information about the program to be included in your report
    1. Installer or Visual Studio
    2. Report a Problem
    3. Type and Submit
    Available on Visual Studio 2017, Installer, and newer releases
    Would you like to know more?
    • Home /
    • Visual Studio /
    avatar image
    7

    Cannot uninstall or repair Visual Studio after I canceled update during it's processing

    Reported by 13e9 Dec 13, 2016 at 07:54 PM visual studio 2017 installer rcwindows 6.1.7601SetupFixed-in: Visual Studio 2017 version 15.0

    <Error Log>

    [4fd0:000d][2016-12-14T04:41:49] Error 0x80070057:

    Location: Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.BuildGraphCore(IPackage root, IEnumerable`1 packages, DependencyComparer comparer, Dictionary`2 packageIndex, Dictionary`2 nodeIndex, Boolean splitNodes)

    Location: Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.BuildGraph(IPackage root, IEnumerable`1 packages, Boolean isUpdate, IDependencyComparisonSeed seed)

    Location: Microsoft.VisualStudio.Setup.Engine.BuildDependencyGraph(Product product, Boolean overwrite)The root node "Microsoft.VisualStudio.Product.Enterprise,version=15.0.25928.0" is not in the package collection.

    Parameter Name : root

    [4fd0:000d][2016-12-14T04:41:49] Error 0x80070057:

    Location: Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.BuildGraphCore(IPackage root, IEnumerable`1 packages, DependencyComparer comparer, Dictionary`2 packageIndex, Dictionary`2 nodeIndex, Boolean splitNodes)

    Location: Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.BuildGraph(IPackage root, IEnumerable`1 packages, Boolean isUpdate, IDependencyComparisonSeed seed)

    Location: Microsoft.VisualStudio.Setup.Engine.BuildDependencyGraph(Product product, Boolean overwrite)

    Location: Microsoft.VisualStudio.Setup.Engine.CreateInstallOperation(Product product, String destination, ExecuteAction action)

    Location: Microsoft.VisualStudio.Setup.Engine.Uninstall(CancellationToken token)The root node "Microsoft.VisualStudio.Product.Enterprise,version=15.0.25928.0" is not in the package collection.

    Parameter Name : root

    <Error Process>

    After I canceled update during it's processing -because I wanted to restart the system first-, I can't progress uninstall or repair on Visual Studio installer.

    'Modify' function returns ArgumentException without log.

    Even there's no update button anymore.

    Only Executing Visual Studio works.

    thub.nodes.view.add-new-comment
    Add comment Show 11
    10 |10000 characters needed characters left characters exceeded
    ▼
    • Viewable by all users
    • Viewable by moderators
    • Viewable by moderators and the original poster
    • Advanced visibility
    Viewable by all users
    avatar image Ashley Bye · Dec 13, 2016 at 11:26 PM 0
    Share

    I have a similar problem with release 15.0.25928.0, having had to cancel my update earlier today. VS still notifies me updates are available but when I click the notification, no update options show. Attempting to modify, repair or uninstall using the VS Community installer does not work (log output makes messages exceed character limit), neither does attempting to remove it using the Programs and Features option in Control Panel (although it informs me uninstall was successful, but if it wasn't then uninstall with compatibility mode - this doesn't do the trick either). As it stands, I appear to be stuck with a possibly partially updated version of VS17 RC with no way of getting it off of my system.

    avatar image Visual Studio Team ♦♦ · Dec 14, 2016 at 01:01 AM 0
    Share

    Thank you for your feedback! In order for us to investigate this further, could you please provide logs. Download collect.exe from http://aka.ms/vscollect and launch it . Wait for collect.exe to finish. It will create a %temp%\vslogs.zip file containing all of the VS setup logs.  Upload %temp%\vslogs.zip to https://aka.ms/dev15logs The link will present a Dropbox upload interface, allowing you to upload the files quickly. Click on “Choose Files,” select the archive and upload. If you experience issues during the upload process when using MS Edge, please try an alternate browser such as Chrome or IE. We look forward to hearing from you!

    avatar image Ashley Bye · Dec 14, 2016 at 01:22 AM 0
    Share

    I'd be happy to upload my logs although I know I'm not the OP, however, the link provided goes to https://www.microsoft.com/en-gb/. Also, running collect.exe. shows no VSSetup events collected and no %temp%\vslogs.zip, even if attempting to repair, modify or uninstall was the last action undertaken prior. I can upload the VS Installer logs available at error time.

    avatar image 13e9 · Dec 14, 2016 at 04:12 AM 0
    Share

    @Ashley Bye

    Well, that 'Dropbox link' needs to be fixed, because those link includes dot character in the end. If you try again after erasing that, it correctly provides the dropbox link. And... about collect.exe, welp, I'm in Windows7 with Service Pack 1 and it runs well. Maybe you should run it as 'Run as Administator' option.

    avatar image 13e9 · Dec 14, 2016 at 04:14 AM 0
    Share

    @Visual Studio Team I completed uploading my vslogs.zip as username Enine Stuxnet. Thanks for your support.

    avatar image Blair Wang-MSFT ♦ · Dec 20, 2016 at 08:55 AM 0
    Share

    Similar issue here:

    https://developercommunity.visualstudio.com/content/problem/8320/cannot-run-modify-reinstall-repair-or-uninstall-vi.html

    avatar image Blair Wang-MSFT ♦ · Dec 22, 2016 at 06:25 AM 0
    Share

    Similar issue here:

    https://developercommunity.visualstudio.com/content/problem/8617/could-not-repair-modify-or-unistall-vs-2017-rc-com.html

    avatar image Blair Wang-MSFT ♦ · Jan 20, 2017 at 06:11 AM 0
    Share

    Similar issue here:

    https://developercommunity.visualstudio.com/content/problem/12460/sql-server-object-explorer-tab-missing-in-vs-2017.html

    avatar image Blair Wang-MSFT ♦ · Feb 09, 2017 at 02:24 AM 0
    Share

    Similar issue here:

    https://developercommunity.visualstudio.com/content/problem/18125/i-have-tried-to-upgrade-my-vs2017-rc-in-the-middle.html

    avatar image Visual Studio Team ♦♦ · Feb 23, 2017 at 06:52 AM 1
    Share

    Thank you for your feedback! We have fixed the problem and the bug fix will be included in an upcoming release. Thank you for helping us build a better Visual Studio!

    Show more comments

    Solutions

    · Add your solution
    avatar image
    8
    Best Solution

    Added a solution by Koen · Dec 14, 2016 at 06:48 AM

    I was able to get things going by manually removing the C:\ProgramData\Microsoft\VisualStudio\Packages folder. This allowed me to do a clean install again.

    ,

    I was able to start a reinstall by manually removing the C:\ProgramData\Microsoft\VisualStudio\Packages folder.

    thub.nodes.view.add-new-comment
    Add comment Show 1 · Share
    10 |10000 characters needed characters left characters exceeded
    ▼
    • Viewable by all users
    • Viewable by moderators
    • Viewable by moderators and the original poster
    • Advanced visibility
    Viewable by all users
    avatar image Ash-v-G · Dec 22, 2016 at 10:30 AM 0
    Share

    No luck with this solution. I tried system restore too, but it restored to a point in the middle of the RC install and failed again.

    Last part of my log:

    2016-12-22T21:07:10 : Verbose : Calling SetupEngine.Installer.EvaluateInstallParameters. [channelId: VisualStudio.15.Release, productId: Microsoft.VisualStudio.Product.Professional, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional', languages: 'en-US' selectedPackageReferences.length: 52]
    2016-12-22T21:07:10 : Verbose : SetupEngine.Installer.EvaluateInstallParameters succeeded. [channelId: VisualStudio.15.Release, productId: Microsoft.VisualStudio.Product.Professional, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional', languages: 'en-US' selectedPackageReferences.length: 52]
    2016-12-22T21:07:10 : Verbose : Calling SetupEngine.Installer.EvaluateInstallParameters. [channelId: VisualStudio.15.Release, productId: Microsoft.VisualStudio.Product.Professional, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017r\Professional', languages: 'en-US' selectedPackageReferences.length: 52]
    2016-12-22T21:07:11 : Verbose : SetupEngine.Installer.EvaluateInstallParameters succeeded. [channelId: VisualStudio.15.Release, productId: Microsoft.VisualStudio.Product.Professional, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017r\Professional', languages: 'en-US' selectedPackageReferences.length: 52]
    2016-12-22T21:07:11 : Verbose : Calling SetupEngine.Installer.EvaluateInstallParameters. [channelId: VisualStudio.15.Release, productId: Microsoft.VisualStudio.Product.Professional, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017rc\Professional', languages: 'en-US' selectedPackageReferences.length: 52]
    2016-12-22T21:07:11 : Verbose : SetupEngine.Installer.EvaluateInstallParameters succeeded. [channelId: VisualStudio.15.Release, productId: Microsoft.VisualStudio.Product.Professional, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017rc\Professional', languages: 'en-US' selectedPackageReferences.length: 52]
    2016-12-22T21:07:13 : Verbose : Calling SetupEngine.Installer.EvaluateInstallParameters. [channelId: VisualStudio.15.Release, productId: Microsoft.VisualStudio.Product.Professional, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017rc\Professional', languages: 'en-US' selectedPackageReferences.length: 52]
    2016-12-22T21:07:13 : Verbose : Calling SetupEngine.Installer.GetStatus.
    2016-12-22T21:07:13 : Verbose : SetupEngine.Installer.GetStatus succeeded.
    2016-12-22T21:07:13 : Verbose : SetupEngine.Installer.EvaluateInstallParameters succeeded. [channelId: VisualStudio.15.Release, productId: Microsoft.VisualStudio.Product.Professional, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017rc\Professional', languages: 'en-US' selectedPackageReferences.length: 52]
    2016-12-22T21:07:14 : Verbose : Calling SetupEngine.Installer.EvaluateInstallParameters. [channelId: VisualStudio.15.Release, productId: Microsoft.VisualStudio.Product.Professional, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017rc\Professional', languages: 'en-US' selectedPackageReferences.length: 52]
    2016-12-22T21:07:14 : Verbose : SetupEngine.Installer.EvaluateInstallParameters succeeded. [channelId: VisualStudio.15.Release, productId: Microsoft.VisualStudio.Product.Professional, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017rc\Professional', languages: 'en-US' selectedPackageReferences.length: 52]
    2016-12-22T21:07:16 : Verbose : Calling SetupEngine.Installer.EvaluateInstallParameters. [channelId: VisualStudio.15.Release, productId: Microsoft.VisualStudio.Product.Professional, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017rc\Professional', languages: 'en-US' selectedPackageReferences.length: 52]
    2016-12-22T21:07:16 : Verbose : SetupEngine.Installer.EvaluateInstallParameters succeeded. [channelId: VisualStudio.15.Release, productId: Microsoft.VisualStudio.Product.Professional, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017rc\Professional', languages: 'en-US' selectedPackageReferences.length: 52]
    2016-12-22T21:07:18 : Verbose : Calling SetupEngine.Installer.GetStatus.
    2016-12-22T21:07:18 : Verbose : SetupEngine.Installer.GetStatus succeeded.
    2016-12-22T21:07:21 : Verbose : Calling SetupEngine.Installer.InstallProduct. [channelId: VisualStudio.15.Release, productId: Microsoft.VisualStudio.Product.Professional, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017rc\Professional']
    2016-12-22T21:12:19 : Verbose : SetupEngine.Installer.InstallProduct reported error. [channelId: VisualStudio.15.Release, productId: Microsoft.VisualStudio.Product.Professional, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017rc\Professional', PackageFailureException: Package 'Microsoft.VisualStudio.TeamFoundation.TeamExplorer' failed to install at at Microsoft.VisualStudio.Setup.InstallOperation.Run(CancellationToken token)
    at Microsoft.VisualStudio.Setup.Engine.RunOperation(InstallOperation installOperation, CancellationToken token, ExecuteAction action)
    at Microsoft.VisualStudio.Setup.Engine.RunCoreOperation(InstallOperation coreOperation, ExecuteAction action, ITelemetryOperation telemetryOperation, CancellationToken token)
    at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)
    at Microsoft.VisualStudio.Setup.ProductInstaller.<>c_DisplayClass86_0.<InvokeEngine>b_0(IEngine engine)
    at Microsoft.VisualStudio.Setup.ProductInstaller.InvokeEngine(TelemetryContext telemetryContext, Action`1 action)]
    2016-12-22T21:12:20 : Verbose : Getting installed product. [installerId: SetupEngine, installationPath: C:\Program Files (x86)\Microsoft Visual Studio\2017rc\Professional]
    2016-12-22T21:12:20 : Verbose : Getting installed product summaries. [installerId: SetupEngine]
    2016-12-22T21:12:20 : Verbose : Getting product summaries. [installerId: SetupEngine]

    avatar image
    0

    Added a solution by Blair Wang-MSFT · Apr 27, 2017 at 06:57 AM

    This issue has been fixed and is available in our latest update. You can download the update via the in-product notification or from here: https://www.visualstudio.com

    Thanks to everyone who provided feedback, votes and solutions for this problem.

    thub.nodes.view.add-new-comment
    Add comment · Share
    10 |10000 characters needed characters left characters exceeded
    ▼
    • Viewable by all users
    • Viewable by moderators
    • Viewable by moderators and the original poster
    • Advanced visibility
    Viewable by all users
    Follow

    111 People are following this

    avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

    Related Problems

    Installation Failing because of Invalid Source/Destination Paths
    3 Solution

    If .NET Core and Docker (Preview) are not selected, installer shows an error but works after restart
    1 Solution

    Installations fails
    1 Solution

    Installation failed
    2 Solution

    Failed Installation
    1 Solution

    Modify fails to populate existing Individual Components properly - Regression
    1 Solution

    由于发生一个或多个包故障,产品未能安装列出的工作负荷和组件。->Due to one or more packet failures, the product failed to install the listed workloads and components
    4 Solution

    "Workloads" and "individual components" views are out of sync in installer
    1 Solution

    Incomplete workload .NET desktop development
    1 Solution

    Modify existing installation is not showing the installed components
    1 Solution

    Popular
    • Windows Dev Center
    • Microsoft Azure
    • Microsoft Visual Studio
    • Office Dev Center
    • ASP.NET
    • IIS.NET
    Learning Resources
    • Channel 9
    • Windows development videos
    • Microsoft Virtual Academy
    Programs
    • Microsoft developer program
    • Windows Insider program
    • Microsoft Affiliate program
    • BizSpark (for startups)
    • Microsoft Imagine
    For IT Pros
    • Microsoft Power BI
    • Microsoft SQL Server
    • Internet of Things
    • Operations Management Suite
    English (United States)
    • Contact us
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • About our ads
    • © Microsoft 2018
    • Anonymous
    • Sign in
    • Spaces
    • Visual Studio
    • Visual Studio for Mac
    • .NET
    • C++
    • VSTS
    • TFS
    • Explore
    • Topics
    • Problems
    • Users
    • Badges