Visual Studio 2017 silent install problems
05/04/2018 751 views
I am in the process of creating a new silent install for Visual Studio 2017 update 6.
I have created the offline layout and added our product key to the response file as I have done for the previous versions. When comparing the response file with previous versions they are almost identical with all the commas and quotes in the right places. the only difference is the options that are being installed this time around.
When I run the install command (either via run or cmd) the silent install completes successfully, which indicates that the response file is correct and files have downloaded successfully to create the offline layout.
However, when I run the deployment job via Altiris the deployment script runs through initial system checks as normal, starts the install process then fails with a 5002 error. The bootstrapper log file indicates 'illegal characters in path' but the exact same command works when run manually.
Answer Chosen by the Author
Please log in to answer
This issue was solved in the end by one of my colleagues.
It seems that the powershell script was setting command prompt to run from c:\ but the installer for visual studio was wanting to run from 'system 32'. He altered our deployment template to allow us to set command prompt back to 'system 32' and the installation the worked successfully.
Answered 09/25/2018 by: morph1006