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!

8 thoughts on “Visual Studio 2010 – Unattended Silent Install

  1. Pingback: Visual Studio Silent Install « Gokul's Blog
  2. 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

  3. 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.

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