Difference between revisions of "Microsoft Visual Studio 2010"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Package XML)
(Package XML)
Line 20: Line 20:
  
 
<check type="uninstall" condition="exists" path="Microsoft Visual Studio 2010 Professional  - ENU" />
 
<check type="uninstall" condition="exists" path="Microsoft Visual Studio 2010 Professional  - ENU" />
+
 
 +
<install cmd='"%SOFTWARE%\ms_vs_pro_2010\WCU\dotNetFramework\dotNetFx40_Full_x86_x64.exe" /q /norestart /ChainingPackage "ADMINDEPLOYMENT"' />
 
<install cmd='"%SOFTWARE%\ms_vs_pro_2010\setup\setup.exe" /q /norestart /unattendfile "%SOFTWARE%\ms_vs_pro_2010\unattend.ini"' />
 
<install cmd='"%SOFTWARE%\ms_vs_pro_2010\setup\setup.exe" /q /norestart /unattendfile "%SOFTWARE%\ms_vs_pro_2010\unattend.ini"' />
  
 +
<upgrade cmd='"%SOFTWARE%\ms_vs_pro_2010\WCU\dotNetFramework\dotNetFx40_Full_x86_x64.exe" /q /norestart /ChainingPackage "ADMINDEPLOYMENT"' />
 
<upgrade cmd='"%SOFTWARE%\ms_vs_pro_2010\setup\setup.exe" /q /norestart /unattendfile "%SOFTWARE%\ms_vs_pro_2010\unattend.ini"' />
 
<upgrade cmd='"%SOFTWARE%\ms_vs_pro_2010\setup\setup.exe" /q /norestart /unattendfile "%SOFTWARE%\ms_vs_pro_2010\unattend.ini"' />
 
 
<remove cmd='"%SOFTWARE%\ms_vs_pro_2010\setup\setup.exe" /q /norestart /remove /unattendfile "%SOFTWARE%\ms_vs_pro_2010\unattend.ini"' />
+
<remove cmd='"%SOFTWARE%\ms_vs_pro_2010\setup\setup.exe" /q /norestart /remove' />
  
 
</package>
 
</package>

Revision as of 15:46, 3 March 2011

These steps are for the volume edition of Visual Studio 2010 Pro - If you find there are variations for other SKU's, please do add the details here!

Some documentation is available on this technet page.

Preparing the Installation

Copy DVD installation files to an approrpiate location in your WPKG software share.

Create an unattended installation ini file:

\\SERVER\wpkg\software\ms_vs_pro_2010\setup\setup.exe /createunattend \\SERVER\wpkg\ms_vs_pro_2010\unattend.ini

Note that we should always use setup\setup.exe and not the setup.exe on the DVD root! It is also important not to move or rename the INI file after creation, as the filename and path are hardcoded into the INI file - changing them can cause installations to fail.

Additional pre-requisites may be required, such as Microsoft .net framework 4

Package XML

	<package id="ms_vs_pro_2010" name="Microsoft Visual Studio Professional 2010" revision="2010.01" reboot="false" priority="2">

		<check type="uninstall" condition="exists" path="Microsoft Visual Studio 2010 Professional  - ENU" />

		<install cmd='"%SOFTWARE%\ms_vs_pro_2010\WCU\dotNetFramework\dotNetFx40_Full_x86_x64.exe" /q /norestart /ChainingPackage "ADMINDEPLOYMENT"' />
		<install cmd='"%SOFTWARE%\ms_vs_pro_2010\setup\setup.exe" /q /norestart /unattendfile "%SOFTWARE%\ms_vs_pro_2010\unattend.ini"' />

		<upgrade cmd='"%SOFTWARE%\ms_vs_pro_2010\WCU\dotNetFramework\dotNetFx40_Full_x86_x64.exe" /q /norestart /ChainingPackage "ADMINDEPLOYMENT"' />
		<upgrade cmd='"%SOFTWARE%\ms_vs_pro_2010\setup\setup.exe" /q /norestart /unattendfile "%SOFTWARE%\ms_vs_pro_2010\unattend.ini"' />
		
		<remove cmd='"%SOFTWARE%\ms_vs_pro_2010\setup\setup.exe" /q /norestart /remove' />

	</package>