Visual Studio 2010 – Unattended Silent Install

You can find on MSDN How to: Create and Run an Unattended Visual Studio Setup. This post focuses on unattended installation of VS 2010 product only (without SDK) along with screenshots and hints on what to avoid. Below are the steps I have followed to create a silent unattended installation script for VS 2010.

  • Create the VS 2010 unattend configuration file
    <path to VS installation folder>\setup\setup.exe /createunattend c:\VS2010Config.ini

    Note: Make sure you run the \setup\setup.exe and not \setup.exe directly.

  • The wizard will launch… Accept license terms, select the feature you want to install, then click Save Settings.
  • Once you click “Save Settings”, the VS config file will be created at c:\VS2010Config.ini
  • Now, do the unattended installation with the command below
    <path to VS installation folder>\setup\setup.exe /unattendfile c:\VS2010Config.ini

As you can see, the steps are pretty straight-forward. Enjoy!

About these ads
    • serman durai
    • January 25th, 2012

    i followed your step to make inf file .but i am not able to find save settings options .in that same place next options is there .Would pls help me for inf file

  1. Make sure you are running \setup\setup.exe not \setup.exe

    • Hi Ali,

      Thanks for wonderful hint for Unattended silent Installation of VS 2010….

    • Livio
    • September 11th, 2012

    Just click “Next”, then accept the License, there you can now chose if you want to save the full settings or custom settings (chose between Full or Custom and click Save Settings).
    For me that all worked but when I try to use it it tells me the file is wrong or something. I’m using PowerShell to chose the file.

    • Livio
    • September 17th, 2012

    Forget it. It works now.

  2. Whɑt’s up to all, how is all, I think everʏ
    one is getting more from this web site, and yyour vieas
    are good in ѕսpport of new users.

    • Honza
    • October 3rd, 2014

    Works good. Thank you very much.

    • shakthivel
    • November 25th, 2014

    hi its saying unable to file,how to resolve this

  1. September 1st, 2011
  2. September 11th, 2014

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: