Visual Studio 2017 offline installation tutorial, studio2017
The offline Installation Method of Visual Studio 2017 is provided to you.
Visual Studio, especially Visual Studio 2017, is usually an online Installer. If you lose connection during installation, you may encounter problems. However, for legal reasons, Microsoft does not provide a complete downloadable ISO image. They cannot package the Android installer from Google to ISO. You need to download some content dynamically.
Fortunately, there are some ways to guide us through offline installation. This installation method can be used to create a USB or DVD installation disk.
First,Log on to http://visualstudio.com/free, and click download. I downloaded the VS community. Of course, if you have an enterprise license, you can download the Enterprise Edition and put the downloaded online installation file in your own folder.
If you want to install all the components of VS, you can run the installation program using the following command. Note that this e: \ vs2017offline is the path I set and I chose en-US as my language.
Vs_community.exe -- layout e: \ vs1_offline -- lang en-US
However,If you do not want to download all VS components-maybe you just want. NETCore, ASP. NET Core, and Azure, you can use the following options. Microsoft calls this "Workload"
Here is a list of all the component IDs that can be selected.
The following command line is my own "Workload" offline settings. Run this command 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
Through the above settings, VS will download everything you need. If you want all VS components, it may take some time.
If you encounter any problem or no response, check the dd_bootstrapper *. log file in % TEMP %.
After it is complete, you will get a folder like this, you can copy to a DVD or USB device.
One advantage of this installation method is that you can use the-layout command to update components in your offline folder at any time. Updates can be used for Visual Studio 2017 (RC or other). You can run the-layout command again to point to the same connected folder to ensure that the folder contains the latest components. Only those updated since the last run will be downloaded.
Important:Make sure that your file name is "vs _ [SKU]. exe ". Offline To Work offline.
Before running the installer, you must install the root certificate in the \ certificates folder.
They are used to verify the installation of applications (items installed under ProgramFiles \ Visual Studio \ 2017 \ Installer) and directories (A json file listing all VS components that can be installed through the Installer) the required root certificate. Most computers already have these root certificates. But it may not work on Windows 7. After these certificates are installed, the installer will be able to verify that the content being installed is trusted. Do not delete them after installation.
OK. I hope this article will help you write so much.
The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.