Deploying Visual Studio Components Individually
Network administrators can deploy Visual Studio components individually. The following tables show all Visual Studio components that can be installed, their locations, and their silent installation commands.
Note
When you deploy these components individually, preinstall the following products:
Windows Installer 4.5
.NET Framework version 4
To avoid a restart in the middle of Setup, install Windows Installer 4.5 and then defer the restart until after the .NET Framework version 4 is installed. Make sure that a restart has occurred after Windows Installer 4.5 and the .NET Framework version 4 have been installed, and before Microsoft SQL Server 2008 Express Edition is installed.
Prerequisite Components (Required Before Visual Studio 2010 Is Installed)
The following table lists the components required prior to installing Visual Studio 2010.
Component |
Directory |
Unattended Installation Command |
---|---|---|
Microsoft Windows Installer 4.5 |
Windows Installer 4.5 Redistributable (links to the Microsoft Download Center Web site) |
See MSI 4.5 installation instructions (Windows Installer 4.5 Redistributable) |
Microsoft .NET Framework version 4 |
WCU\dotNetFramework |
dotNetFx40_Full_x86_x64.exe /q /norestart /ChainingPackage "ADMINDEPLOYMENT" |
Microsoft Windows Installer 4.5 Hotfix |
Windows Installer Team Blog – Update to MSI4.5 |
See MSI 4.5 Hotfix installation instructions (KB958655) |
Microsoft Application Error Reporting* |
WCU\Watson |
dw20shared.msi APPGUID=<some random guid>REBOOT=ReallySupress /log "%temp%\dd_dw20shared_x86_msi.txt" |
Microsoft Visual C Runtime 9.0* |
WCU\VC90SP1 |
vc_red.msi USING_EXUIH=1 /log "%TEMP%\dd_vc_90_x86_runtime_msi.txt" |
Microsoft VC Runtime 2010* |
WCU\VCRuntimes\<arch> <arch>=x86 or x64 |
X86: vc_runtime_x86.msi NOVSUI=1 /log "%TEMP%\dd_vc_x86_runtime_msi.txt" X64: vc_runtime_x86.msi NOVSUI=1 /log "%TEMP%\dd_vc_x64_runtime_msi.txt" vc_runtime_x64.msi NOVSUI=1 /log "%TEMP%\dd_vc_x86_runtime_msi.txt" |
Microsoft Visual Studio 2010 64bit Prerequisites (x64)*+ |
WCU\64bitPrereq\x64 |
X64: VS_Prerequisites_x64_enu.msi USING_EXUIH=1 OIINSTALLDIR="[VS_Install_Dir]Common7\IDE\PrivateAssemblies\" /log "%TEMP%\dd_MSI45_log.txt" |
Microsoft Visual F# Runtime* |
WCU\FSharp |
FSharpRedist2.0.msi /log "%TEMP%\dd_FSharp_2.0_msi.txt" |
Microsoft Visual Studio Macro Tools |
WCU\VSA |
vsa_env.exe VSEXTUI=1 /log "%TEMP%\dd_vsa_env_msi.txt" |
Microsoft Team Foundation Server 2010 Object Model |
WCU\TFS |
X86: TFSObjectModel-x86_ENU.msi USING_EXUIH=1 "%TEMP%\dd_TFSObjectModel-x86_ENU_msi.txt" X64: TFSObjectModel-x64_ENU.msi USING_EXUIH=1 "%TEMP%\dd_TFSObjectModel-x64_ENU_msi.txt" |
Microsoft .NET Framework 4 Multi-Targeting PAck |
WCU\MTPack |
NetFx_DTP.msi EXTUI=1 /log "%TEMP%\dd_netfx_dtp.txt" |
* All MSI's should follow the standard MSIExec command line parameters. For more information, see Msiexec (command-line options).
+ Only required for x64 Operating systems.
Components to Install After Visual Studio 2010 Is Installed
The following table lists the components to install after installing Visual Studio 2010.
Component |
Directory |
Unattended Installation Command |
---|---|---|
Microsoft Web Deployment Tool (x86)* |
WCU\MSDeploy |
X86: WebDeploy_x86_en-US.msi SKIPVISTASP1CHECK=1 SKIPFX20SP1CHECK=1 SKIPINSTALLSHORTCUTS=1 /log "%TEMP%\dd_x86_msdeploy.msi.txt" X64: WebDeploy_x64_en-US.msi SKIPVISTASP1CHECK=1 SKIPFX20SP1CHECK=1 SKIPINSTALLSHORTCUTS=1 /log "%TEMP%\dd_x64_msdeploy.msi.txt" |
Microsoft ASP.NET MVC 2* |
WCU\ASPNETMVC |
AspNetMVC2.msi /log "dd_AspNetMVC2.msi.txt" |
Microsoft ASP.NET MVC 2 Tools* |
WCU\ASPNETMVC |
VS2010ToolsMVC2.msi/log "dd_VS2010ToolsMVC2.msi.txt" |
Microsoft Silverlight 3* |
WCU\Silverlight |
Silverlight.3.0_Developer.exe /q /ignorewarnings |
Microsoft Silverlight 3 SDK* |
WCU\Silverlight |
silverlight_sdk.msi /log "dd_silverlight_sdk.msi.txt" |
Visual Studio Tools for Office Runtime |
WCU\VSTO |
X86: x86\vstor40_x86.exe TRIUMPH.3643236F_FC70_11D3_A536_0090278A1BB8="[VS_Install_Dir]Visual Studio Tools for Office" /log "%TEMP%\dd_vstor40_x86_msi.txt" X64: x64\vstor40_x64.exe TRIUMPH.3643236F_FC70_11D3_A536_0090278A1BB8="[VS_Install_Dir]Visual Studio Tools for Office" /log "%TEMP%\dd_vstor40_x64_msi.txt" |
Microsoft Office Development Tools for Visual Studio 2010* |
WCU\VSTO |
X86: vstodt40_x86.msi TRIUMPH.3643236F_FC70_11D3_A536_0090278A1BB8="[VS_Install_Dir]Visual Studio Tools for Office" /log "%TEMP%\dd_vstodt40_x64.msi.txt" X64: vstodt40_x64.msi TRIUMPH.3643236F_FC70_11D3_A536_0090278A1BB8="[VS_Install_Dir]Visual Studio Tools for Office" /log "%TEMP%\dd_vstodt40_x86.msi.txt" |
Dotfuscator Software Services - Community Edition* |
WCU\Dotfuscator |
DotfuscatorCE.msi /log "%TEMP%\dd_DotfuscatorCE_MSI.txt" |
Crystal Reports templates for Visual Studio 2010* |
WCU\Crystal Reports |
CrystalReportsTemplates.msi /log "dd_CrystalReportsTemplates.txt" |
Microsoft SQL Server Compact 3.5 SP2* |
WCU\SSCE |
X86: SSCERuntime_x86-ENU.msi /log "%TEMP%\dd_SSCERuntime_x86_MSI.txt" X64: SSCERuntime_x86-ENU.msi /log "%TEMP%\dd_SSCERuntime_x86_MSI.txt" SSCERuntime_x64-enu.msi /log "%TEMP%\dd_SSCERuntime_x64_MSI.txt" |
Microsoft Visual Studio 2010 Tools for SQL Server Compact* |
WCU\SSCE |
SSCEVSTools-ENU.msi /log "%TEMP%\dd_SQLCEToolsForVS2007_MSI.txt" |
Microsoft Sync Framework Runtime v1.0 SP1* |
WCU\Synchronization |
X86: Synchronization_x86_enu.msi APPGUID={2E1F8484-12D1-3CA9-8ADB-C8F2AA34004B}/log "%TEMP%\dd_SyncFrameworkRuntime_x86_MSI.txt" X64: Synchronization_amd64_enu.msi APPGUID={2E1F8484-12D1-3CA9-8ADB-C8F2AA34004B} /log "%TEMP%\dd_SyncFrameworkRuntime_amd64_MSI.txt" |
Microsoft Sync Services for ADO.NET v2.0 SP1* |
WCU\Synchronization |
X86: SyncServicesADO_x86_enu.msi APPGUID={2E1F8484-12D1-3CA9-8ADB-C8F2AA34004B} /log "%TEMP%\dd_SyncFrameworkRuntime_x86_MSI.txt" X64: SyncServicesADO_amd64_enu.msi APPGUID={2E1F8484-12D1-3CA9-8ADB-C8F2AA34004B} /log "%TEMP%\dd_SyncFrameworkRuntime_amd64_MSI.txt" |
Microsoft Sync Framework Services v1.0 SP1* |
WCU\Synchronization |
X86: ProviderServices_x86_enu.msi APPGUID={2E1F8484-12D1-3CA9-8ADB-C8F2AA34004B} /log "%TEMP%\dd_ProviderServices_x86_MSI.txt" X64: ProviderServices_amd64_enu.msi APPGUID={2E1F8484-12D1-3CA9-8ADB-C8F2AA34004B} /log "%TEMP%\ dd_ProviderServices_amd64_MSI.txt" |
Microsoft Sync Framework SDK v1.0 SP1* |
WCU\Synchronization |
X86: SyncSDK_x86_enu.msi APPGUID={2E1F8484-12D1-3CA9-8ADB-C8F2AA34004B} /log "%TEMP%\dd_ProviderServices_x86_MSI.txt" X64: SyncSDK_amd64_enu.msi APPGUID={2E1F8484-12D1-3CA9-8ADB-C8F2AA34004B} /log "%TEMP%\ dd_ProviderServices_amd64_MSI.txt" |
Microsoft Visual C++ 2010 x64 Designtime*+ |
WCU\VCDesigntime\x64 |
X64: VC_x64Designtime. NOVSUI=1 /log "%TEMP%\dd_vc_designtime_x64_msi.txt" |
Microsoft Visual Studio 2010 Performance Collection Tools* |
WCU\Profiler |
X86: PerformanceCollectionTools_x86_enu.msi USING_EXUIH=1 /log "dd_Performance_Collection_Tools_x86_MSI.txt" X64: PerformanceCollectionTools_x64_enu.msi USING_EXUIH=1 /log "dd_Performance_Collection_Tools_x64_MSI.txt" |
Microsoft Visual Studio 2010 Historical Debugger collection (x64)*+ |
WCU\TraceDebugger |
X64: TraceDebugger_NativeBits_amd64_enu.msi USING_EXUIH=1 /log "dd_TraceDebugger_NativeBits_amd64_enu_MSI.txt" |
Microsoft SQL Server Database Publishing Wizard 1.4* |
WCU\SQLPub |
SqlPubWiz.msi IsInvokedFromVS= /log "%TEMP%\dd_SqlPubWiz_14_msi.txt" |
SQL Server System CLR Types* |
WCU\SMO |
X86: SQLSysClrTypes_x86_enu.msi /log "%TEMP%\dd_SQLSysClrTypes_x86_msi.txt" X64: SQLSysClrTypes_x86_enu.msi /log "%TEMP%\dd_SQLSysClrTypes_x86_msi.txt" SQLSysClrTypes_amd64_enu.msi /log "%TEMP%\dd_SQLSysClrTypes_x64_msi.txt" |
SQL Server 2008 R2 Management Objects* |
WCU\SMO |
X86: SharedManagementObjects_x86_enu.msi /log:"%TEMP%\dd_SharedManagementObjects_x86_MSI.txt" X64: SharedManagementObjects_x86_enu.msi /log "%TEMP%\dd_SharedManagementObjects_x86_MSI.txt" SharedManagementObjects_amd64_enu.msi /log "%TEMP%\dd_SharedManagementObjects_x64_MSI.txt" |
Microsoft SQL Server 2008 R2 Express Edition |
WCU\SSE |
X86: SQLExpr32_x86_enu.exe /q /ACTION=Install /FEATURES=SQL /INSTANCENAME=SQLEXPRESS /SQLSVCACCOUNT="NT AUTHORITY\Network Service" /SQLSVCStartupType=Automatic /AddCurrentUserAsSqlAdmin /ENABLERANU=1 /SKIPRULES=RebootRequiredCheck /hideconsole /TIMESTAMP="VSExpress_10.0" X64: SQLExpr_x64_enu.exe /q /ACTION=Install /FEATURES=SQL /INSTANCENAME=SQLEXPRESS /SQLSVCACCOUNT="NT AUTHORITY\Network Service" /SQLSVCStartupType=Automatic /AddCurrentUserAsSqlAdmin /ENABLERANU=1 /SKIPRULES=RebootRequiredCheck /hideconsole /TIMESTAMP="VSExpress_10.0" |
Microsoft SQL Server 2008 R2 Data-Tier Application Framework* |
WCU\DAC |
DACFramework_enu.msi /log "%TEMP%\dd_DACFramework_enu_MSI.txt" |
Microsoft SQL Server 2008 R2 Data-Tier Application Project* |
WCU\DAC |
DACProjectSystemSetup_enu.msi /log "%TEMP%\dd_DACProjectSystemSetup_enu_MSI.txt" |
Microsoft SQL Server 2008 R2 Transact-SQL Language Service* |
WCU\DAC |
TSqlLanguageService_enu.msi /log "%TEMP%\dd_TSqlLanguageService_enu_MSI.txt" |
Microsoft Visual Studio 2010 SharePoint Developer Tools* |
WCU\SpTools |
SpTools_x86_enu.MSI USING_EXUIH=1 /log "%TEMP%\dd_SpTools_x86_enu.txt" |
Microsoft Visual Studio 2010 ADO.NET Entity Framework Tools* |
WCU\EFTools |
ADONETEntityFrameworkTools_enu.msi USING_EXUIH=1 /log "dd_ADONETEntityFrameworkTools_enu_MSI.txt" |
Microsoft Help Viewer |
WCU\Help |
X86: Extract Help MSI's: HelpSetup_x86.exe/x <path> help3_vs.msi USING_EXUIH=1 VS_SETUP=1 /log "%TEMP%\dd_HelpSetup_MSI.txt" X64: Extract Help MSI's: HelpSetup_x86.exe/x <path> help3_vs.msi USING_EXUIH=1 VS_SETUP=1 /log "%TEMP%\dd_HelpSetup_MSI.txt" |
* All MSI's should follow the standard MSIExec command line parameters. For more information, see Msiexec (command-line options).
+ Only required for x64 Operating systems.
To install a component unattended
Click Start, and then click Run.
Type cmd, and then click OK.
Navigate to the appropriate component directory (see the first table in this topic) on the Visual Studio DVD and type the unattended installation command for the component. For example, if you want to install the .NET Framework, navigate to the \WCU\dotNetFramework\ folder and then type the following command at the command prompt:
dotNetx40_Full_x86_x64.exe /q /norestart /ChainingPackage "ADMINDEPLOYMENT"
The following table lists the Setup command-line options.
Command-Line Option |
Description |
---|---|
Msiexec |
Executable file name for Windows Installer. |
/p |
Enables Windows Installer to apply an update to an existing installation. |
[path\name of update MSP file] |
Path and file name of the .msp file for the update. |
/a |
Enables Windows Installer to perform an administrative installation of a product on a network share. |
[path\name of MSI file] |
Path and file name of the Windows Installer package for your original administrative image. |
/qb |
Sets the user interface to the basic level (basic progress and error handling). |
/L*v |
Turns on logging and sets a path for the log file. The *v flag causes the switch to log all information. |
[path\name of log file] |
Path and file name of the Windows Installer log file. If none is given, look for MSI*.log in the temp folder of the computer where command was run. |
[path\name of target folder] |
Path and name of the target folder where the admin image will be. |