I am trying to uninstall VS2015 community edition on Windows 10 (64 bit) but it fails.
Referring to this SO post:Can't uninstall Visual Studio 2015 (The storage control blocks were destroyed)
This question very well describes my problem, but I'm on Windows 10 where KB 2999226 apparently is not applicable. So why does VS2015 try to uninstall it and how can I convince it not to?
I've tried vs_community.exe /uninstall /force
and I've tried Visual Studio Uninstaller. Both fail with the same error. Here's an excerpt from the MSI log (dd_vs_community_<timestamp>.log
):
[0884:29AC][2016-08-31T15:28:19]i000: MUX: ExecutePackageBegin PackageId: Windows7_MSU_x64
[1A74:2A60][2016-08-31T15:28:19]i301: Applying execute package: Windows7_MSU_x64, action: Uninstall, path: 2999226, arguments: '"C:\WINDOWS\SysNative\wusa.exe" /uninstall /kb:2999226 /quiet /norestart'
[1A74:2A60][2016-08-31T15:28:19]e000: Error 0x80070057: Failed to execute MSU package.
[0884:29AC][2016-08-31T15:28:19]e000: Error 0x80070057: Failed to configure per-machine MSU package.
[0884:29AC][2016-08-31T15:28:19]i000: MUX: Installation size in bytes for package: Windows7_MSU_x64 MaxAppDrive: 0 MaxSysDrive: 0 AppDrive: 0 SysDrive: 0
[0884:29AC][2016-08-31T15:28:19]i000: MUX: Return Code:0x80070057 Msi Messages:0 Result Detail:0 Restart:None
[0884:29AC][2016-08-31T15:28:19]i000: MUX: Set Result: Return Code=-2147024809 (0x80070057), Error Message=, Result Detail=, Vital=True, Package Action=Uninstall, Package Id=Windows7_MSU_x64
[0884:29AC][2016-08-31T15:28:19]i000: Setting string variable 'BundleResult' to value '1603'
[0884:29AC][2016-08-31T15:28:19]i319: Applied execute package: Windows7_MSU_x64, result: 0x80070057, restart: None
[0884:29AC][2016-08-31T15:28:19]e000: Error 0x80070057: Failed to execute MSU package.
It is possible that I installed VS2015 before I upgraded mu Windows 7 to Windows 10. In that case, possibly the VS 2015 installation required the KB when installed on my Windows 7, and installed it, which is recorded "somewhere". Then when I upgraded to Windows 10, the KB was removed. Now the VS uninstaller should ignore the KB entry in its uninstall process, but apparently fails to do so. If this is what happens, where can I modify the install log/info to remove the KB entry?
If additional info is needed to solve this, please just ask.