/build/static/layout/Breadcrumb_cap_w.png

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??

5 Comments   [ + ] Show comments
  • please share the XML and the error details. - dedenker 8 years ago
  • I am also facing same error could anyone help me on this for me xml file is not created - sriram236 8 years ago
  • If you are installing on windows 7 you need to select the windows 8/10 sdk otherwise you might ens up with the error you are receiving.

    The log which should be present in %TEMP% Will till you more. - Hedkandi 8 years ago
    • where can I select that windows 8/10 sdk? Can you please tell me the command line what should be used to create admin deployment file? I am using /AdminFile. I am getting this error "There are some validation errors in the admin deployment metadata xml provided" - sriram236 8 years ago
  • shouldn`t your quotes look like this instead ? : vs_professional.exe /adminfile "AdminDeployment.xml" /quiet /norestart - KevinViolette 7 years ago
    • i am getting an error stating that admin file has issue (when removed quiet )..i created a vanilla xml file and still getting same error. what am i doing wrong - junuzzz 7 years ago
      • what i do is run a batch file to copy source files locally and then the batch file executes the command line of VS_professional.exe /adminfile "c:\copied_xml_location\file.xml" /quiet /norestart /ProductKey "enter prod key here" - KevinViolette 7 years ago
      • check here for more info https://msdn.microsoft.com/en-us/library/ee225237.aspx - KevinViolette 7 years ago
  • as the deployment was failing i tried running the command line locally from Admin Cmd...and i am getting a error saying that xml file is having issue.. is there any step by instuction to create that xml file (tried with /createAdminfile and used as is and still got error.. - junuzzz 7 years ago

Answers (1)

Posted by: oxforditninja 7 years ago
White Belt
1
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 7 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ