Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Visual-Studio

Visual Studio 2010 – Unattended Silent Install

0.00/5 (No votes)
8 Oct 2010CPOL 26K  
Unattended silent install of Visual Studio 2010

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 straightforward. Enjoy!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)