Installing Visual Studio
Updated: June 2010
Visual Studio can be installed by using the installation media (for example, DVDs), or by downloading from the product website.
For a list of system requirements, see the Visual Studio Readme.
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.
Installing By Using Installation Media
Start installing Visual Studio by running Setup.exe, which is located in the root directory on the Visual Studio installation media.
Installing By Downloading from the Product Website
Start installing Visual Studio by going to Visual Studio Downloads on the MSDN website, and then selecting the edition you want to download.
Installing Visual Studio in Virtualized Environments
If you run Windows Server 2008 or Windows Server 2008 R2 with Hyper-V enabled and an accelerated graphics adapter, you may experience system slowdowns that are caused by an interaction of Hyper-V, CPU features, and accelerated graphics adapters (see KB 961661). This may affect customers who want to use the graphics-rich Visual Studio 2010 environment while they use Hyper-V for testing. To avoid these slowdowns, reconfigure the system as follows:
-
On Windows Server 2008, you can use a non-accelerated graphics card, a basic graphics driver (VGA.sys), or an XP-based graphics driver. Any of these options will cause reduced graphics performance and functionality, for example, loss of multi-monitor support.
-
On Windows Server 2008 R2, you can use any of the options for Windows Server 2008, or 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.
Using Command-Line Parameters
The following table lists command-line parameters that are available when you run Setup.
|
Parameter |
Description |
|---|---|
|
/? |
Display command-line parameters. |
|
/q |
User interface (UI) is suppressed. |
|
/remove |
Uninstall Visual Studio. |
|
/f |
Repair installed Visual Studio components. |
|
/full |
Install all features (only works in quiet mode). |
|
/norestart |
Never restart. The installer never restarts the computer during or after installation. Setup will still return 3010 if a restart is required. |
|
/CreateUnattend filename.ini |
Create a settings file that is named filename.ini for running unattended installations. |
|
/UnattendFile filename.ini |
Run in unattended mode by using the settings in filename.ini. |
|
/NoEventLog |
Turn off event logging. |
|
/NoErrorLog |
Turn off error logging. |
|
/CreateTransform="filename.mst" |
Configure the installation and save the configuration in the specified transform file. |
For more information about possible installation issues, see Additional Information About Setup and Installation Errors.
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.
Registering Visual Studio
To register Visual Studio
-
On the Help menu, click Register Product.
Note
Microsoft Passport Network credentials (the e-mail address and password on the Microsoft Passport network) 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.
Repairing Visual Studio
To repair Visual Studio on Windows XP or earlier
-
In Control Panel, on the Add or Remove Programs page, select the product edition you want to repair and then click Change/Remove.
-
In the Setup wizard, click Next.
-
Click Repair or Reinstall.
To repair Visual Studio on Windows Vista
-
In Control Panel, on the Programs and Features page, select the product edition you want to repair and then click Uninstall/Change.
-
In the Setup wizard, select Repair or Reinstall and then click Next.
-
Follow the remaining instructions.
Installing Optional Components
To install optional components on Windows 7 or Vista
-
In Control Panel, on the Programs and Features page, select the product edition you want to add to and then click Uninstall/Change.
-
In the Setup wizard, select Add Optional Products and then click Next.
-
Select the components you want to install and then click Next.
-
Follow the remaining instructions.
To install optional components on Windows XP or earlier
-
In Control Panel, on the Add or Remove Programs page, select the product edition you want to add to and then click Change/Remove.
-
In the Setup wizard, click Next.
-
Click Add or Remove Features.
-
In the Select features to install list, select the items that you want to install and then click Update.
Checking for Service Releases and Product Updates
To check for service releases
-
On the Help menu, click Check for Updates.
This opens the Microsoft Update website where service releases are available for download.
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
-
Go to the Visual Studio Shipped Software Updates website.
-
Browse for updates that may be available for your version.
Uninstalling Visual Studio
To uninstall Visual Studio
-
To uninstall Visual Studio, download and run the Microsoft Visual Studio 2010 Uninstall Utility. By default, this removes Visual Studio and supporting components, but does not remove components that are shared with other applications on the computer. To also remove shared components, run the uninstall utility with the /full switch. To also remove the .NET Framework 4, use the netfx switch.
Caution
Uninstalling shared components or .NET Framework 4 may break earlier versions of Visual Studio or other applications that depend on .
If you cannot uninstall Visual Studio by using the uninstall utility, you can perform a manual uninstall by removing Visual Studio and then removing related components.
To manually uninstall Visual Studio
-
In the Control Panel, open the utility for uninstalling a program, for example, in Windows 7, open Uninstall a program.
-
Remove all instances of Visual Studio 2010 products.
-
Uninstall any supporting products, in the following order. In non-English installations, you must also remove language packs for some of the listed products. You do not have to reboot until after you have removed the last package on the list.
-
Microsoft Visual Studio 2010 ADO.NET Entity Framework Tools
-
Microsoft SQL Server 2008 R2 Transact-SQL Language Service
-
Microsoft SQL Server 2008 R2 Data-Tier Application Project
-
Microsoft SQL Server 2008 R2 Data-Tier Application Framework
-
Microsoft Sync Framework SDK v1.0 SP1
-
Microsoft Sync Framework Services v1.0 SP1
-
Microsoft Sync Framework Runtime v1.0 SP1
-
Microsoft Silverlight 3 SDK
-
Microsoft ASP.NET MVC 2
-
Microsoft ASP.NET MVC 2 - Visual Studio 2010 Tools
-
Microsoft .NET Framework 4 Multi-Targeting Pack
-
Microsoft TFS Object Model
-
Microsoft Visual F# 2.0 Runtime
-
Microsoft Visual Studio x64 Prerequisites
-
|
Title |
Description |
|---|---|
|
Provides information about how to install multiple versions of Visual Studio on the same computer. |
|
|
Provides information about how to install graphics that can be used in Visual Studio applications. |
|
|
Provides information about deployment options for Visual Studio. |
|
|
Provides information about how to install different language versions of Visual Studio. |
|
|
Provides information about how to get help if you encounter Setup or installation errors. |
|
|
Provides information about how to upgrade from a trial edition to a full edition of Visual Studio 2010. |
|
|
Provides information about how to locate the product key for your installation of Visual Studio. |
|
|
Links to documents that can help you use Visual Studio effectively. |
|
|
Lists certain features that are supported in various versions of Visual Studio Professional. |
VS 2010 RC Readme: http://download.microsoft.com/download/A/F/F/AFFE9A0D-E43C-4402-99C1-DD4E0E58AB60/VS2010RCReadme.htm#Uninstalling
Visual Studio Uninstall Utility (for VS 2010 RTM): http://code.msdn.microsoft.com/vs2010uninstall
This document points us to the Readme file at the root of the installation media, which is also identical to the Readme file in the root installation directory. Here's the entire contents of that file:
Readme for Visual Studio 2010 For the latest version of this document please see the online version of the Readme.
This document also points us to the downloadable Readme file, the same one as the "online version of the Readme" mentioned above. That document contains no uninstallation instructions at all and refers us back to this help file.
- 5/29/2010
- Dave Sexton
- 4/6/2012
- Thomas Lee
[tfl - 06 04 12] Hi - and thanks for your post. Community content is not the appropriate place for technical support queries. Instead, you should visit the MSDN Forums at http://forums.microsoft.com/MSDN, where such posts are welcomed and where you stand a much better chance of getting your query resolved. Sorry if that's not the answer you wanted to hear.
- 1/18/2012
- engel003
- 4/6/2012
- Thomas Lee
so I wanna ask if these articles can suite the 2008 .
give me so guidance
[tfl - 06 04 12] Hi - and thanks for your post. Community content is not the appropriate place for technical support queries. Instead, you should visit the MSDN Forums at http://forums.microsoft.com/MSDN, where such posts are welcomed and where you stand a much better chance of getting your query resolved. Sorry if that's not the answer you wanted to hear.
- 3/30/2012
- willhuo
- 4/6/2012
- Thomas Lee