# How to Deploy Microsoft Visual Studio This document provides the steps required to deploy various editions of Microsoft Visual Studio to multiple computers using Endpoint Central. ## System Requirements Before you deploy Microsoft Visual Studio, ensure that the computers to which you are deploying meet the system requirements prescribed by Microsoft. Refer to the documents given in the table for further details. | System Requirements | |---| | [Microsoft Visual Studio 2015](https://learn.microsoft.com/en-us/visualstudio/releases/2015/vs2015-sysrequirements-vs) | | [Microsoft Visual Studio 2017](https://learn.microsoft.com/en-us/visualstudio/releases/2017/vs2017-system-requirements-vs) | | [Microsoft Visual Studio 2019](https://learn.microsoft.com/en-us/visualstudio/releases/2019/system-requirements) | | [Microsoft Visual Studio 2022](https://learn.microsoft.com/en-us/visualstudio/releases/2022/system-requirements) | ## Microsoft Visual Studio Installation Methods Microsoft Visual Studio can be installed using two methods: 1. **Offline Installation**: Installation files are downloaded and stored in a shared folder. These files are used for installation. This allows installations without an active internet connection. 2. **Online Installation**: During deployment, installation files are downloaded directly to the agent machines. It requires an active internet connection in the agent machines. ## Steps to Deploy Microsoft Visual Studio Using Offline Installation Method | Microsoft Visual Studio Versions | Command to be executed in Command Prompt | Command to be provided while creating a package | |---|---|---| | [Visual Studio 2015](https://visualstudio.microsoft.com/vs/older-downloads/index.html) | `vs_professional.exe --layout` | `"\\\vs_professional_ENU.exe" /AdminFile "\\\AdminDeployment.xml" /quiet /norestart` | | [Visual Studio 2017](https://visualstudio.microsoft.com/vs/older-downloads/index.html) | `vs_community.exe --layout` | `"\\\VS2017\vs_setup.exe" --quiet --norestart` | | [Visual Studio 2019](https://visualstudio.microsoft.com/vs/older-downloads/index.html) | `vs_community.exe --layout` | `"\\\VS2019\vs_setup.exe" --quiet --norestart` | | [Visual Studio 2022](https://visualstudio.microsoft.com/downloads/index.html) | `vs_community.exe --layout` | `"\\\VS2022\vs_setup.exe" --quiet --norestart` | ### Downloading the Installation Files 1. Create a common network share to store the required installable file. Use Network Share to deploy the software to computers within your network and use HTTP upload to deploy software to computers within your network or computers present in Remote Office. Kindly note that the Network Share should have read permissions for everyone in the group and should be accessible from all the computers on which you intend to install. 2. Create a new folder on the machine and download the Visual Studio installer file from the vendor's website. Save the installer file in the newly created folder. 3. Open **Command Prompt**, navigate to the folder containing the installer, and run the command provided in the above table to download all the required installation files. Command Format: ``` --layout ``` 4. Once the files are downloaded, copy the folder to a network share location. 5. Finally, create a deployment package using these files and deploy it to the target machines. ### Adding the Package - In the Endpoint Central console, navigate to **Software Deployment tab > Package Creation > Packages > Add Package > Windows**. ![Visual Studio Network Share Path Package Creation](https://www.manageengine.com/products/desktop-central/images/visual-studio-network-share-path-pkg-creation.png) - Give an appropriate name for your package in the **Package Name** field. - Select the **Package Type** as **EXE/APPX/MSIEXEC/MSU**. - Select the **License Type** as **Commercial**. - Select **Locate installable** as **From Shared Folder** to deploy Microsoft Visual Studio using Network Share Path. - Specify the **Installation Command with Switches/Arguments** as given in the table above based on the version you are installing. - Click **Add Package** to create your package. - You can view the created package under **Packages**. ### Deploy to Target Computers 1. Under **Packages**, select the package created and click on **Install/Uninstall Software > Windows > Computer Configuration**. 2. Provide a **Name** and **Description** for the configuration. 3. Configure the **Deployment Policies**, as per your requirement. 4. Define the target computers. 5. Configure **Execution Settings**, as per your requirement. 6. Select **Enable notifications** and **Scheduler settings** as per your requirements. 7. Click **Deploy/Deploy Immediately** to deploy Microsoft Visual Studio. You have now successfully deployed Microsoft Visual Studio using the offline installation method. ## Steps to Deploy Microsoft Visual Studio Using Online Installation Method | Visual Studio Version | Command to be provided while creating a package | |---|---| | [Visual Studio 2017](https://visualstudio.microsoft.com/vs/older-downloads/index.html) | `vs_community.exe --quiet --norestart` | | [Visual Studio 2019](https://visualstudio.microsoft.com/vs/older-downloads/index.html) | `vs_community.exe --quiet --norestart` | | [Visual Studio 2022](https://visualstudio.microsoft.com/downloads/index.html) | `vs_community.exe --quiet --norestart` | ### Downloading the Installation Files Download the installer from the vendor's download page mentioned in the table. ### Adding the Package 1. In the Endpoint Central console, navigate to **Software Deployment tab > Package Creation > Packages > Add Package > Windows**. ![Visual Studio HTTP Path Package Creation](https://www.manageengine.com/products/desktop-central/images/visual-studio-http-path-pkg-creation.png) 2. Give an appropriate name for your package in the **Package Name** field. 3. Select the **Package Type** as **EXE/APPX/MSIEXEC/MSU**. 4. Select the **License Type** as **Commercial**. 5. Select **Locate installable** as **From Local Computer** and upload the downloaded file to deploy Microsoft Visual Studio using HTTP Path. 6. Specify the **Installation Command with Switches/Arguments** as given in the table above based on the version you are installing. 7. Click **Add Package** to create your package. 8. You can view the created package under **Packages**. ### Deploy to Target Computers 1. Under **Packages**, select the package created and click on **Install/Uninstall Software > Windows > Computer Configuration**. 2. Provide a **Name** and **Description** for the configuration. 3. Configure the **Deployment Policies**, as per your requirement. 4. Define the target computers. 5. Configure **Execution Settings**, as per your requirement. 6. Select **Enable notifications** and **Scheduler settings** as per your requirements. 7. Click **Deploy/Deploy Immediately** to deploy Microsoft Visual Studio. You have now deployed Microsoft Visual Studio using an online installation.