Unattended Installation of Visual Studio 2015
I am trying to create an admin xml file:
vs_professional.exe /createadminfile \\filelocation\admin.xml
And getting an error when trying to insall with "vs_professional.exe /adminfile \\filelocation\admin.xml"
There are some validation errors in the admin deployment metadata xml provided.
What am i missing??
vs_professional.exe /createadminfile \\filelocation\admin.xml
And getting an error when trying to insall with "vs_professional.exe /adminfile \\filelocation\admin.xml"
There are some validation errors in the admin deployment metadata xml provided.
What am i missing??
5 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
oxforditninja
8 years ago
Oh my god this annoyed the pants of me.
The solution is to put the path of the admin file in quotes after the /adminfile switch.
So my installer now looks like .\vs_enterprise.exe /AdminFile "c:\jobs\vs\AdminDeployment.xml"
Also, make sure to edit AdminDeployment.xml and change NoWeb="default" to NoWeb="yes"
This isn't very well documented - so I hope people find this useful! This is at least what worked for me - if you have a different problem that you have solved be sure to post it here to help others! :)
Comments:
-
Just to clarify my full options for deployment are .\vs_enterprise.exe /adminfile "c:\Jobs\vs\AdminDeployment.xml" /quiet /norestart /ProductKey ABCDEFGHIJKLMNOPQRSTUVWXY - oxforditninja 8 years ago
The log which should be present in %TEMP% Will till you more. - Hedkandi 8 years ago