Visual Studio 2017 offline installation detailed steps

Source: Internet
Author: User
This article mainly for you in detail the visual Studio 2017 offline installation tutorial, with a certain reference value, interested in small partners can refer to

Visual Studio 2017 offline installation way to organize a copy to everyone, I hope you like.

Visual Studio, especially Visual Studio 2017, is usually an online installer, and you can run into problems if you lose connectivity during the installation process. However, due to legal reasons, Microsoft does not provide a complete downloadable ISO image. They can't pack Android installers from Google into the ISO. Users need to download some content themselves dynamically.

Fortunately, there are some ways to guide us through the offline installation process. This installation method can be used to create a USB installation or DVD installation disk.

First, login to Visualstudio.com/free and click Download. I downloaded the VS community, and of course if you have an enterprise license you can also download the Enterprise Edition and put the downloaded online installation files in your own folder.

If you want to fully install all components of VS, you can run the installer using the following command. Note that this e:\vs2017offline is the path I set and select en-us as my language.
Vs_community.exe--layout e:\vs2017offline--lang en-US

However, if you do not want to download all the VS components-maybe you just want to. Netcore,asp.net Core and Azure, you can use these options below. Microsoft called it "Workload."

Here is a list of all component IDs that can be selected.

The following command line is the offline setting for my own "Workload". I run this from a CMD prompt.

Vs_community.exe--layout e:\vs2017offline--lang en-US--add Microsoft.VisualStudio.Workload.Azure Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NetCoreTools Microsoft.VisualStudio.Workload.NetWeb

With the settings above, vs will download everything you need. If you want all the VS components, it may take a while.

If you experience problems or do not respond, check the dd_bootstrapper. log log file in%temp%.

When it's done, you'll get a folder like this that you can copy into a DVD or USB device.

One advantage of this installation is that you can use the-layout command to update the components of your offline folder at any time. Updates are available for visual Studio (RC or other), and you can run the-layout command again, pointing to the same wired folder to make sure that the folder contains the latest components. Only those components that have been updated since the last run will be downloaded.

Important: Make sure that your file is named "Vs_ [SKU]. exe". Sometimes you will get a file such as Vs_community__198521760.1486960229.exe, you need to rename it to Vs_community.exe so that you can work offline.

Before you run Setup, you need to install the root certificate in the \ Certificates folder.

They are the root certificates required to verify the installation of the application (ProgramFiles \ Visual Studio \ Installer) and directory (a JSON file that lists all the VS components that can be installed through the installer). Most computers already have these root certificates. It may not work on the Win7 user's machine. After you install these certificates, Setup will be able to verify that the content being installed is trusted. Do not delete them after the installation is complete.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.