Let's try this way
- Open CMD with admin privilage and go to this path
cd /d c:\program files (x86)\microsoft visual studio\installer
Depend on which version of visual studio you have installed (Enterprise, Community or Professional) type :
for Enterprise
vs_installershell.exe repair --installPath="C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise"
for Community
vs_installershell.exe repair --installPath="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community"
for Professional
vs_installershell.exe repair --installPath="C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional"
here is the source it has worked for some users
https://developercommunity.visualstudio.com/content/problem/313423/missing-option-value-installpath.html