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!