26 out of 39 rated this helpful - Rate this topic

Installing Visual Studio

You can install Visual Studio by using the installation media (for example, DVDs) or by downloading files from the product download page for Visual Studio.

  • For information about system requirements for installing each edition of Visual Studio 2012 and supported upgrade paths, see Compatibility.

  • For information about how to use Visual Studio 2012 to develop applications that target platforms, see Compatibility.

  • For information about what features are available in each edition of Visual Studio 2012, see Compare Editions.

This document provides the following installation information:

You must have administrator credentials to install Visual Studio. However, you do not have to have these credentials to use Visual Studio after it is installed.

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.

Start to install Visual Studio by running the installation application, which is located in the root directory on the Visual Studio installation media.

Edition

Installation Application

Visual Studio Ultimate

vs_ultimate.exe

Visual Studio Premium

vs_premium.exe

Visual Studio Professional

vs_professional.exe

Start installing Visual Studio by going to Visual Studio Downloads on the MSDN website and then choosing the edition you want to download.

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

The following table lists command-line parameters that are available when you run the installation application.

Parameter

Description

/? or /help

Displays command-line parameters.

/q or /quiet

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 or /passive

Displays progress but does not wait for user input.

/Uninstall

Uninstalls Visual Studio.

/layout Directory

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

/p CustomInstallPath

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

/noweb

Prevents installation from the Internet.

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

/P ProductKey="key"

Specifies the volume license key.

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

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

To register Visual Studio

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

    Note Note

    Windows Live credentials and the product identification number (PID) are required to register. The PID is displayed in the About dialog box on the Help menu.

  • Or, use the registration card in the product box.

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%

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.

To check for service releases

  • On the menu bar, choose Help, Check for Updates.

    This step opens the Microsoft Update website, from which you can download service released.

    Note Note

    If you have changed the settings for Security and Privacy in the Internet Options dialog box in Internet Explorer, you might receive an error message when you try to check for updates. Reset the Security and Privacy settings to the default values, and then check for updates again.

To check for other updates

  1. Open the Shipped Software Updates page for Visual Studio on the Microsoft website.

  2. Browse for updates that may be available for your version.

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

Title

Description

Installing Visual Studio Versions Side-by-Side

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

How to: Install the Visual Studio Image Library

Provides information about how to install graphics that can be used 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.

Troubleshooting Setup and Installation Errors for Visual Studio

Provides information about how to get help if you encounter installation errors.

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

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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.