Skip to main content
Visual Studio 2012
Installing Visual Studio

To install Visual Studio, you can use the installation media—for example, DVDs—or you can download the installation files from the Microsoft website.

This document provides the following installation information:

Installing Visual Studio

You need administrator credentials to install Visual Studio. However, you don't need them to use Visual Studio after you install it.

If an earlier version of Visual Studio is installed on the computer, read about how to run multiple versions. For more information, see Installing Visual Studio Versions Side-by-Side and Determining Which Version of the .NET Framework Is Installed.

Installing by using installation media
  • To install Visual Studio, in the root directory on the Visual Studio installation media, run the installation file for the edition you want:

    Edition

    Installation File

    Visual Studio Ultimate

    vs_ultimate.exe

    Visual Studio Premium

    vs_premium.exe

    Visual Studio Professional

    vs_professional.exe

Installing by downloading from the product website
Downloading Visual Studio for an offline installation

In most cases, you can install Visual Studio from the download site with no problems. However, in some cases, you may want to download all the update packages before you install them (for example, to install on multiple machines or on an offline machine). The following steps explain how to download all the update packages that you need for an offline installation.

  1. After you download the update executable from the MSDN website to a location on your file system, run the following command at a command prompt: <executable name> /layout.

    This command downloads all the packages for the installation.

    By using the /layout switch, you can download all the installation packages, not just the ones that apply to the download machine. This approach gives you all the files that you need to run this update anywhere and may be useful if you want to install components that weren't installed originally.

  2. After you run the command, you should be prompted for the download location. Enter the location, and then choose Download.

  3. When the package download is successful, you should see a Visual Studio screen that says Setup Successful! All specified components have been acquired successfully.

  4. In the file location that you specified, find the executable file and the package folder. This is everything you need to copy to a shared location or install media.

  5. You can now run the installation from the file location or the install media.

Installing Visual Studio in virtualized environments

If you run Windows Server 2008 R2 with Hyper-V enabled and an accelerated graphics adapter, you may experience system slowdowns. This may affect customers who want to use the graphics-rich Visual Studio 2013 environment while they use Hyper-V for testing.

To avoid these slowdowns, you can ensure that the system supports a feature known as "Nested Page Tables" (AMD), "Rapid Virtualization Indexing" (AMD), or "Extended Page Tables" (Intel). This feature is present on AMD Phenom and Opteron processors, and on Intel Nehalem processors (Core i7 series, Xeon 5500 series). The processor feature is the preferred option because it enables full graphics performance and functionality without system slowdowns.

For more information, see the following page on the Microsoft website: Video performance may decrease when a Windows Server 2008 or Windows Server 2008 R2 based computer has the Hyper-V role enabled and an accelerated display adapter installed.

Using command-line parameters

When you run the installation application, you can use the following command-line parameters, which are case-insensitive.

Parameter

Description

/?

/help

/h

Displays command-line parameters.

/q

/quiet

/s

/silent

Suppresses the user interface (UI) for the installation application. If Visual Studio is already installed and you specify no parameters except this one, the installation application runs in Maintenance mode.

/qb

/passive

Shows progress but doesn't wait for user input.

/u

/Uninstall

Uninstalls Visual Studio.

/layout Directory

Copies the files on the installation media to the directory that you specify.

/CustomInstallPath InstallationDirectory

Installs all re-targetable packages in the directory that you specify.

/noweb

Prevents installation from the Internet.

/l

/Log Filename

Specifies a location for the log file.

/full

Installs all product features.

/norestart

Prevents the installation application from restarting the computer during or after installation. See Return codes for return codes to look for.

/PromptRestart

Prompts the user before restarting the computer.

/ForceRestart

Always restarts the computer after installation.

/AdminFile AdminDeployment.xml

Installs Visual Studio using the data file that you specified for administrative installation.

/ChainingPackage BundleName

Specifies which bundle is chaining this bundle.

/ProductKeyProductKey

Sets a custom product key that contains no dashes and no more than 25 characters.

/AddRemoveFeatures

Specifies which features to add or remove from the installed product.

/repair

Repairs Visual Studio.

/CEIPConsent

Consents to the collection of information to improve the customer experience in accordance with the product privacy policy.

/Uninstall /Force

/u /force

Uninstalls Visual Studio and all features that are shared with other products.

Caution noteCaution

If you use this parameter, other products that are installed on the same computer might stop functioning correctly.

/NoCacheOnlyMode

Prevents pre-population of the package cache.

Troubleshooting installation

Use these resources to get help for setup and installation issues:

Enterprise network deployment

For information about how to deploy Visual Studio over a network, see Visual Studio Administrator Guide.

After Visual Studio is installed

After you have installed Visual Studio, we recommend that you register your copy of the product and check for updates.

Registering Visual Studio

To register Visual Studio

  1. On the menu bar, choose Help, About.

    The About dialog box shows the product identification number (PID). You'll need the PID and Windows Live credentials to register the product.

  2. On the menu bar, choose Help, Register Product.

Alternatively, use the registration card in the product box.

Installing Visual Studio Help content

After you install Visual Studio, you can add additional Help content.

To install or uninstall Help content

  1. On the Visual Studio menu bar, choose Help, Add and Remove Help Content.

  2. On the Manage Content tab of the Microsoft Help Viewer, select the installation source for your Help content.

  3. If you're looking for a specific Help collection, enter the name or a keyword in the Search text box and then press Enter.

  4. Next to the name of the Help collection you want, choose the Add or Remove link.

  5. Choose the Update button.

Repairing Visual Studio

To repair Visual Studio

  1. In Control Panel, on the Programs and Features page, choose the product edition that you want to repair, and then choose Uninstall/Change.

  2. In the Setup wizard, choose Repair, choose Next, and then follow the remaining instructions.

To repair Visual Studio in silent or passive modes (that is, repair from source)

  1. On the computer where Visual Studio is installed, open the Windows command prompt.

  2. Enter the following parameters:

    DVDRoot \vs_ProductName.exe </quiet|/passive> [/norestart]

    If ERRORLEVEL 1 Echo ERRORLEVEL=%ERRORLEVEL%

Installing selectable items

To install selectable items

  1. In Control Panel, on the Programs and Features page, choose the product edition to which you want to add one or more components, and then choose Change.

  2. In the Setup wizard, choose Modify, and then choose the components that you want to install.

  3. Choose Next, and then follow the remaining instructions.

Checking for Service Releases and Product Updates

Visual Studio doesn't automatically upgrade extensions when you upgrade from previous versions because not all extensions are compatible. You must reinstall the extensions from the Visual Studio Galleryor the software publisher.

To automatically check for service releases

  1. On the menu bar, choose Tools, Options.

  2. In the Options dialog box, expand Environment, and then select Extensions and Updates. Make sure the Automatically check for updates check box is selected, and then choose OK.

Uninstalling Visual Studio

To uninstall Visual Studio

  1. In Control Panel, on the Programs and Features page, choose the product edition that you want to uninstall, and then choose Change.

  2. In the Setup wizard, choose Uninstall, choose Yes, and then follow the remaining instructions in the wizard.

To uninstall Visual Studio in silent or passive modes (that is, uninstall from source)

  1. On the computer where Visual Studio is installed, open the Windows command prompt.

  2. Enter the following parameters:

    DVDRoot \vs_ProductName.exe </quiet|/passive> [/norestart]

    If ERRORLEVEL 1 Echo ERRORLEVEL=%ERRORLEVEL%

If you can't uninstall Visual Studio by using the uninstallation utility, you can perform a manual uninstallation by removing Visual Studio and then removing related components. For more information, see the Visual Studio Developer Center.

Related Topics

Title

Description

Installing Visual Studio Versions Side-by-Side

Provides information about how to install multiple versions of Visual Studio on the same computer.

The Visual Studio Image Library

Provides information about how to install graphics that you can use in Visual Studio applications.

Visual Studio Administrator Guide

Provides information about deployment options for Visual Studio.

Installing Multiple Language Versions of Visual Studio

Provides information about how to install different language versions of Visual Studio.

How to: Upgrade from a Trial Edition of Visual Studio

Provides information about how to upgrade from a trial edition to a full edition of Visual Studio 2013.

How to: Locate the Visual Studio Product Key

Provides information about how to locate the product key for your installation of Visual Studio.

Getting Started with Visual Studio

Links to documents that can help you use Visual Studio effectively.

Availability of Features in Visual Studio Versions

Lists certain features that are supported in various versions of Visual Studio.