Difference between revisions of "Microsoft Visual Studio"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Created new page for the installer used in Visual Studio 2012 and 2013. Linked to articles for older installers.)
(No difference)

Revision as of 19:24, 13 November 2013

Visual Studio 2012 and 2013 (using /adminfile)

For these versions of the Visual Studio installer, copy the DVD installation files to an appropriate location in your WPKG software share. Inside this install point, you'll need to customize AdminDeployment.xml. Change:

<BundleCustomizations TargetDir="default" NoWeb="default"/>

to:

<BundleCustomizations TargetDir="yes" NoWeb="default"/>

See the MSDN article for additional information.

Visual Studio Ultimate 2013

This requires the Microsoft .NET Framework 4.5. Installing it in advance avoids a reboot.

<?xml version="1.0" encoding="UTF-8"?>

<packages>
        <package id="ms_vs_ult_2013" name="Microsoft Visual Studio Ultimate 2013" revision="1" reboot="false" priority="2">

        <!-- .NET 4.5 is required to avoid a reboot -->
        <depends os="windows 7" package-id="dotnetfx45" />
 
        <check type="uninstall" condition="exists" path="Microsoft Visual Studio Ultimate 2013" />
 
        <install cmd='"%SOFTWARE%\VisualStudio\2013\vs_ultimate.exe" /adminfile "%SOFTWARE%\VisualStudio\2013\admindeployment.xml" /s /NoRestart' />
 
        <upgrade include="install" />

        <remove cmd='"%SOFTWARE%\VisualStudio\2013\vs_ultimate.exe" /q /norestart /uninstall' />
 
        </package>

</packages>


Visual Studio Ultimate 2012

This likely requires the Microsoft .NET Framework 4.5. Installing it in advance avoids a reboot.

<?xml version="1.0" encoding="UTF-8"?>

<packages>
        <package id="ms_vs_ult_2012" name="Microsoft Visual Studio Ultimate 2012" revision="1" reboot="false" priority="2">

        <!-- .NET 4.5 is required to avoid a reboot -->
        <depends os="windows 7" package-id="dotnetfx45" />
 
        <check type="uninstall" condition="exists" path="Microsoft Visual Studio Ultimate 2012" />
 
        <install cmd='"%SOFTWARE%\VisualStudio\2012\vs_ultimate.exe" /adminfile "%SOFTWARE%\VisualStudio\2012\admindeployment.xml" /s /NoRestart' />
 
        <upgrade include="install" />

        <remove cmd='"%SOFTWARE%\VisualStudio\2012\vs_ultimate.exe" /q /norestart /uninstall' />
 
        </package>

</packages>

Older versions

Microsoft Visual Studio 2010

Microsoft Visual Studio 2008

Visual Studio 6