About Windows Installer, the .NET Framework, and Visual Studio.
Now that Visual Studio 2010 SP1 has been released, administrators and developers may wish to install both RTM and SP1 together for a seamless experience. With the release of VS2010 RTM we already published the Visual Studio Administrator Guide that documents a lot of the instructions I’ll utilize below. I encourage you to review that before proceeding with the following instructions, particularly how to avoid restarts during setup by pre-installing certain packages like Windows Installer 4.5 and .NET Framework 4.0.
You’ll create a distribution point that will contain both Visual Studio 2010 RTM and SP1. This will work for existing installations of VS 2010 since setup will simply repair the product if it’s already installed. This has the added benefit that if any files are missing from the target machine, they should be reinstalled without a prompt for source during the SP1 install.
First you’ll be creating copies of the Visual Studio 2010 RTM and SP1 installations that you can share out or install locally.
Next you’ll be creating a batch install that will first install Visual Studio 2010 RTM followed by SP1. You can use any batch or scripting language you like so long as it is already supported on target machines. The example below uses the Windows batch language to make use of tokens like %~dp0 which provides the parent path to the batch script. This is handy in case you change the network or local image location in the future.
"%~dp0setup\setup.exe" /q /norestart
"%~dp0setup\setup.exe" /q /norestart /unattendfile "%~dp0unattend.ini"
"%ProgramFiles%\Microsoft Help Viewer\v1.0\HelpLibManager.exe" /silent /product VS /version 100 /locale en-US /content "%ProgramData%\Microsoft\HelpLibrary" /sourceMedia "%~dp0ProductDocumentation\HelpContentSetup.msha"
"%~dp0SP1\setup.exe" /q /norestart
You might consider adding some error processing for reboot return codes after each command. See the attached batch script for an example.
If you plan on deploying Visual Studio 2010 with SP1 over the network, you can share out the location you created above, ex: <drive>:\VS2010. As noted in the Administrator Guide, spaces in the share path may cause setup to fail so its best you avoid using spaces.
Since the batch file already passes the right options to the installers, the deployment scripts or developers can execute unattend.bat in an elevated command prompt directly.
You’ll use the distribution point you created above to create or modify a package for SCCM to install Visual Studio 2010 RTM and SP1. You’ll follow the process documented in How to: Deploy Visual Studio Using Microsoft System Configuration Manager (SCCM) and add a program to the package after Visual Studio.
The documentation cited above from the Administrators Guide has a number of help links to more information about Active Directory and SCCM.
I think you missed a line: :-)
msiexec /i Wix35.msi /qn
What can be integrated into the VS2010 SP1 install disc? Unattended installation but also with one or two hours
@Inchroy, I'm not sure what you mean. You can add anything in the unattend.bat file (or whatever you wish to call it).
this is a web installer "VS10sp1-KB983509.exe"
i downloaded Just Sp1 (VS2010SP1dvd1.iso).how to deploy or integrate Visual Studio 2010 with sp1?
@hessam, just copy the content of the DVD to the folder like you would've created using the web bootstrapper in step 5 of "Creating a network or local image" (ex: <drive>:\VS2010\SP1).
Is there a way to download the english components only with the web bootstrapper?
If not, I have the .iso downloaded already, can I delete the non -ENU files from the extracted folders?
@b, you can try deleting the non-ENU packages from the ISO copied over to disk, but this is not supported. It should work on machines with only ENU products installed, but please proceed at your own risk.
Hi, i wanto to know how to integrated the vs2010 setup iso and vs2010 sp1 together?
vs2010setup.iso + vs2010sp1.iso = vs2010withSp1Setup.iso
@Hanxin, after following the instructions above you can burn the folder containing all the files to a DVD. Windows XP and newer have built-in burning support, and there many other burners available on the market. Be sure to validate the image after (typically an option presented to you right before starting the burn - it's worth the extra time it takes so you don't potentially waste more time later with a bad install due to a bad burn).
Note if you are creating a network image and you create the unattend.ini file to go into the unattend.ini file and replace the "<drive>:\VS2010\" with ".\" wherever you find it. That path will be hardcoded into the unattend.ini file. I tested it and it worked. Assume that these files will move locations on the network.
from what i have read here, this is NOT slipstream or integrating SP1 into vs2010. This is just:
1) install vs2010
2) apply sp1 (by running SP1\setup.exe)
is there a way to real slipstream sp1 into vs2010?
Or it's like office 2007 which automatically applies all patches .msp after installation of office 2007?
@milo, slipstream is not supported for Dev10 SP1.
Please enable slipstream in VS11 again!!!!
please enable slipstream in VS11 or release an integrated version with sp1.
This works perfect for me with the exception of the help documentation.
Can someone post examples of how the commands are used to install the documentation? I think I may have a syntax error somewhere.