Difference between revisions of "Microsoft Visual Studio 2010"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Initial version)
 
(Preparing the Installation)
Line 14: Line 14:
 
Additional pre-requisites may be required, such as Microsoft .net framework 4
 
Additional pre-requisites may be required, such as Microsoft .net framework 4
  
-to add package here-
+
== Package XML ==
 +
<source lang="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\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"' />
 +
 
 +
</package>
 +
</source>

Revision as of 15:35, 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! MS documentation is at: [1]

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!

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\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"' />

	</package>