Install Error '0x8007000a - The environment is incorrect' at MS Tools download/install stage
PROBLEM
The Visual COBOL / Enterprise Developer install can fail, at the Microsoft Build Tools and SDK download/install stage, with error '0x8007000a - The environment is incorrect'.When checking the install logs, it shows that 'cblms.exe' fails with error 0x8007000a.
SOLUTION
After the failed installation, 'cblms.exe' can be used to check if the MS Build Tools and SDK are found by the MF product - https://bit.ly/2NwBqZY
Check the output from the commands 'cblms -Q' and 'cblms -L'
If the MS Tools are installed and found, then it will show something like this:
cblms -Q
Windows SDK
location = c:\\Program Files (x86)\\Windows Kits\\10
version = 10.0.18362.0
Microsoft Build Tools
location = c:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise
version = 14.27.29110
cblms -L
Windows SDK
Id Version Locatio