SCCM-Installing Visual Studio Enterprise 2015

SCCM-Installing Visual Studio Enterprise 2015

Hi All,

last week I had a requirement from a customer to install Visual Studio 2015 with PowerShell option, automated for all their developers. So, I’ll share here the experience.

1- 1st, you need to create the adminfile.xml. This file will be used to customize the installation. To do this you need to run the installer (in my case vs_enterprise.exe) with /CreateAdminFile

2- once you have the xml file, open it on notepad and search for PowerShellToolsV1. where Selected=”no” change to Selected=”yes”. Note that i’m not talking about Yes, has to be yes. it is case sensitive.

3- the 3rd line, BundleCustomizations, change NoCacheOnlyMode, NoWeb, NoRefresh and SuppressRefreshPrompt to =”yes” (again, case sensitive)

4- open the xml via internet explorer, if IE cannot open or generates an error, there is a problem with the XML and the installation will fail

5- copy the xml file to a share folder (i’m using a shared folder because I want to have flexibility when changing the file without need to distribute the changes to a DP and have the client downloading everything again).

6- Create a Application and Deployment Type.
For the installation command line, I used: “vs_enterprise.exe” /adminfile “\\server\share\adminfile.xml” /quiet /norestart /ProductKey xxxxxxxxxxxxxxxxxxxxxxxxx /log “C:\Windows\temp\VS2015_Install.log” (note that the serial number does not have the “-“, remove it when adding to the command line)

For uninstall, I used: “vs_enterprise.exe” /uninstall /force /quiet /norestart /log “C:\Windows\Temp\VS2015_Uninstall.log”.

the downside of uninstalling Visual Studio was that it also uninstall Silverlight, so Application Catalog will not work until the Silverlight is reinstalled.

7- For detection method, use a MSI Product Code for the file \packages\enterprisecore\vs_enterprisecore.msi

8- for user experience, make sure you install for system and the time I had to use 60min (but this was for the lab)

About

Raphael is a 9 times Microsoft MVP with over 20 years of experience in IT, in which 13 years have been dedicated to System Center and Automation. His extended experience has been developed through several IT roles, from first-line support to principal consultant, towards a wide range of clients and sectors. One of the four MVPs in Enterprise Client Management in the UK, Raphael holds more than 30 Microsoft certifications and is an MCT (Microsoft Certified Trainer). Since 2008, Raphael has been providing Microsoft trainings from basic to advanced levels in several categories. Throughout his career, Raphael has joined as speaker in well-known events such as TechEd and Gartner Security Risk Management. He also organised community events and lectured around the world, sharing best practices and knowledge within the industry. Bilingual in English and Portuguese, Raphael has authored diverse articles published in Microsoft's TechEd, served as the editor-in-chief of a magazine focused on System Center in Brazil and wrote two books: "Understanding System Center 2012 SP1 Configuration Manager: The walkthrough book" and "System Center 2012 R2 Configuration Manager: Automation from Zero to Hero".

Tagged with: , ,