Visual Studio 2017 Unattended Install.

Issue:
"vs2017_Professional.exe" --add Microsoft.VisualStudio.Workload.ManagedDesktop --IncludeRecommended
--productKey XXXXX-XXXXX-XXXXX-XXXXX-XXXXX --norestart --wait
Everything works except it won't product the product key automatically.
Resolution:
Remove the hyphen (-) in between the product key
"vs2017_Professional.exe" --add Microsoft.VisualStudio.Workload.ManagedDesktop --IncludeRecommended
--productKey XXXXXXXXXXXXXXXXXXXXXXXX --norestart --wait

Issue:
"vs2017_Professional.exe" --add Microsoft.VisualStudio.Workload.ManagedDesktop --IncludeRecommended
--productKey XXXXX-XXXXX-XXXXX-XXXXX-XXXXX --norestart --wait
Everything works except it won't product the product key automatically.
Resolution:
Remove the hyphen (-) in between the product key
"vs2017_Professional.exe" --add Microsoft.VisualStudio.Workload.ManagedDesktop --IncludeRecommended
--productKey XXXXXXXXXXXXXXXXXXXXXXXX --norestart --wait
Comments