Visual Studio 2010 unattended setup

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

Visual Studio 2010 unattended setup

To deploy Visual Studio 2010 in unattended mode, you must create the unattend file for the Visual Studio 2010 installation.

 

You must create a unique .INI unattend file for each target operation system. For example, unattend file created for Windows 7 would not be usable for Windows 2008 and vise versa.

 

To create a answer file, follow these steps:

 

Step 1:

Create Visual Studio unattended .ini file

Insert the Visual Studio 2010 DVD or map the ISO file and ignore the autorun message.

open a command line and type the following:

<your drive>:\setup\Setup.exe /createunattend C:\MyAnswerFileForVS2010_W2K8R2SP0x64.ini

 

On the Options page, select the features intended to be deployed, and then click Save Settings

 

Step 2:

Create MSDN Studio unattended .ini file

open a command line and type the following:

<your drive>:\msdn\setup\Setup.exe /createunattend <path to my MSDN INI-file>

Sample:

D:\msdn\setup\setup.exe /createunattend c:\MSDN2008_deployment.ini

 

On the Options page, select the features intended to be deployed, and then click Save Settings

 

Run Unattended Setup

Step 1:

Run unattended Visual Studio setup on a client machine

Verify that Visual Studio 2010 is available on the network.

open a command line and type the following:

\\<servername>\VS2010\Setup\setup.exe /unattendfile <path to your VS2010 INI-file>

Sample:

\\server\VS2010\Setup\setup.exe /unattendfile \\server\VS2010\VS2010_deployment.ini

 

Step 2:

Run unattended MSDN Library setup on a client machine (Optional)

open a command line and type the following:

\\<servername>\VS2010\msdn\Setup\setup.exe /unattendfile <path to MSDN INI-file>

Sample:

<\\server\VS2010\msdn\Setup\setup.exe /unattendfile \\server\VS2010\MSDN2010_deployment.ini

 

 

ProductKey

Edit setup.sdb with a text-editor, (Notepad) and search for the line, wich contains [Product Key].