New
#1
Cannot remove Microsoft Visual Studio C++ nor Microsoft.Net Core SDK
I am described an uninstall problem when using the latest Video Studio Installer with my Windows 10 Pro Version 10.0.19043 Build 19043 (that was system info.
winver reports:
Microsoft Windows
Version 21H1 (OS Build 10.0.19043 Build 19043.1348
The Windows 10 Pro operating system are protected by trademark...
These uninstall problems might have been a problem before I uninstalled Visual Studio 2017, but I cannot remove Microsoft .NET Core SDK-2.1.103, nor Microsoft Visual Studio C++ 2008 Redistributable x86_64 version 9.0.30729.6161.
Note: I haven't done an exhaustive search on this forum for my issue yet. Apologies if it's a known problem. A google search is worthless.
Hopefully a forum member can review what I found, and offer suggestions to clean up these unwanted packages. I would appreciate any steps I should take. The worst that can happen is I will have some dangling cruft in my system. I could upgrade Visual Studio (free version) from 2017 to the Visual Studio Community 2022 version (released 11/8/2021) version to see if it cleans up the problem. I cannot reinstall 2017 because of the issue described here, it is blocking the Visual Studio installer program, so I will uninstall Video Studio Installer (version 2.11.46.52233 and just use the Visual Studio 2022 installer to install a clean new update.
When I try to delete these versions of C++ or .NET from the Video Studio Installer, the standard Windows App based uninstaller launches and when I choose the .NET version I want and press uninstall, the App reports it failed, displays an error code (0x80070643), and generated a link to a log file of the failure. I'll paste the pertinent section here, but will attach the full log file. I also cannot use the uninstaller app to remove any version of Microsoft Visual Studio C++ 2008, the uninstall button seems to engage, but nothing happens, and there is no error message.
The.NET message is a .png file, which can't be attached. I will provide a text version. Note that it says installer, but the action is uninstall. The message "please fix the issues" is a rude joke.
Window bar: Microsoft.NET Core SDK-2.1.103(x86) installer
Uninstall Failed
One or more issues caused the setup to fail. Please fix the issues and retry setup. For more information see the log file -link-
0x80070643
The pertinent log messages are:
[7EE4:07F8][2021-11-14T12:48:50]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{759f58bf-356b-4499-882f-086f6ea9d3f2}, resume: Active, restart initiated: No, disable resume: No
[7EE4:07F8][2021-11-14T12:48:50]i326: Removed dependency: {759f58bf-356b-4499-882f-086f6ea9d3f2} on package provider: Microsoft.AspNetCore.Runtime.Package.Store_x64_ENU,v2.0,RTM, package AspNetCoreRuntimePackageStore_x64
[7EE4:07F8][2021-11-14T12:48:50]i326: Removed dependency: {759f58bf-356b-4499-882f-086f6ea9d3f2} on package provider: Dotnet_CLI_2.1.103_x64, package dotnet_sdk_internal_2.1.103_win_x64.msi
[7EE4:07F8][2021-11-14T12:48:50]i301: Applying execute package: dotnet_sdk_internal_2.1.103_win_x64.msi, action: Uninstall, path: (null), arguments: ' ARPSYSTEMCOMPONENT="1" DOTNETHOME="C:\Program Files\dotnet" EXEFULLPATH="C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Net.Core.SDK,version=15.6.2742 8.2015,chip=x64\dotnet-sdk-2.1.103-win-x64.exe"'
[7EE4:07F8][2021-11-14T12:48:50]e000: Error 0x80070643: Failed to uninstall MSI package.
[7EE4:07F8][2021-11-14T12:48:50]e000: Error 0x80070643: Failed to execute MSI package.
[3CA4:5E04][2021-11-14T12:48:50]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[3CA4:5E04][2021-11-14T12:48:50]i319: Applied execute package: dotnet_sdk_internal_2.1.103_win_x64.msi, result: 0x80070643, restart: None
[3CA4:5E04][2021-11-14T12:48:50]e000: Error 0x80070643: Failed to execute MSI package.
[7EE4:07F8][2021-11-14T12:48:50]i318: Skipped rollback of package: dotnet_sdk_internal_2.1.103_win_x64.msi, action: Install, already: Present
[3CA4:5E04][2021-11-14T12:48:50]i319: Applied rollback package: dotnet_sdk_internal_2.1.103_win_x64.msi, result: 0x0, restart: None
[7EE4:07F8][2021-11-14T12:48:50]i325: Registering dependency: {759f58bf-356b-4499-882f-086f6ea9d3f2} on package provider: Dotnet_CLI_2.1.103_x64, package: dotnet_sdk_internal_2.1.103_win_x64.msi
[7EE4:07F8][2021-11-14T12:48:50]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{759f58bf-356b-4499-882f-086f6ea9d3f2}, resume: ARP, restart: None, disable resume: No
[7EE4:07F8][2021-11-14T12:48:50]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{759f58bf-356b-4499-882f-086f6ea9d3f2}, resume: ARP, restart initiated: No, disable resume: No
[3CA4:5E04][2021-11-14T12:48:51]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart: No