Difference between revisions of "Microsoft Visual Studio 2010"
From WPKG | Open Source Software Deployment and Distribution
(→Preparing the Installation) |
(→Preparing the Installation) |
||
Line 10: | Line 10: | ||
<source lang="winbatch">\\SERVER\wpkg\software\ms_vs_pro_2010\setup\setup.exe /createunattend \\SERVER\wpkg\ms_vs_pro_2010\unattend.ini</source> | <source lang="winbatch">\\SERVER\wpkg\software\ms_vs_pro_2010\setup\setup.exe /createunattend \\SERVER\wpkg\ms_vs_pro_2010\unattend.ini</source> | ||
− | Note that we should always use setup\setup.exe and not the setup.exe on the DVD root! | + | 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 | Additional pre-requisites may be required, such as Microsoft .net framework 4 |
Revision as of 15:37, 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! 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\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>