Scenario: An installed VS2017 maintains the following error when installing MVC4:
Look at the problem description is because the Sqlcmdlnutils installation failure affects the installation of other components, and then download the installation package for installation, found that the installation of all normal, continue to maintain the VS2017, but still here to install the failure, extremely depressed ... , there is no specific failure causes swollen? Then think about it because the download version and the hint is not the same? Then the landlord went to AppData under the search for this file (because I was installed online, the installation files will be cached), sure enough to search for this file, then install a try it, a try at ease, why, error, the reason for the following:
Could not open KEY:UNKNOWN\COMPONENTS\7ABFE44842C12B390AF18C3B9B1A1EE8\000021599B0090400100000000F01FEC. Verify that you had sufficient access to that key, or the contact your the support personnel.
There is a wrong reason to solve the problem, look at the error should be a permissions issue, search solution, there are two ways to solve:
First, after the administrator runs cmd, enter Secedit/configure/cfg%windir%/inf/defltbase.inf/db defltbase.sdb/verbose, and then run the installation again
Second, open the registry, find Hkey_local_machine\software\microsoft\windows\currentversion\installer\userdata\s-1-5-18\components, Then follow the steps for the solution:
1. Right-click component "Components", select "Permissions"
2. Click "Advanced"
3. Select owner "owner" tab
4. Select "Administrators" as the owner "owner", then click on "Apply"
5. When the check box is selected (Replace owner on sub containers and objects), click Apply Again
6. Return to the previous permission "Permissions" tab, select the checkbox "Replace all child objects with inheritable Permissions from this object", then click Apply Again
I use method two to solve the problem, after the operation is completed, re-run the program just searched, the installation is normal, re-maintenance VS2017 successfully completed!
Reference Solution: http://blog.csdn.net/zh15732621679/article/details/53813117
Encounter problems and many conversion ideas to solve, but also thanks to the heidi_8 solution!
VS2017 Installation Error: The workload is incomplete and the package "SQLCMDLNUTILS,VERSION=15.1.61703.130,CHIP=X64,LANGUAGE=ZH-CN" could not be installed.