Visual Studio 2017 offline installation package acquisition and installation tutorials for each version
Author: WSG
Date: 2017-11-06
System: windows 7 flagship
Preface: The Visual Studio 2017 version differs from previous versions of 2015, 2013, and 2012 with a new modular installation method. Microsoft has not provided an ISO image, according to the official offline download scheme (https://docs.microsoft.com/en-us/visualstudio/install/ Create-an-offline-installation-of-visual-studio) for you to sum up.
first, to the official website download the required version of the installation package acquisition program:
https://www.visualstudio.com/zh-hans/downloads/
Three versions, the corresponding file name is called:
Community Edition: Vs_community.exe
Professional Edition: Vs_professional.exe
Enterprise Version: Vs_enterprise.exe
Second, command line get installation package
1 Open the folder where the download files reside, hold down SHIFT and right-click on the blank, and click "Open Command Line window (W) Here":
1 according to their own version, enter the following command (space for the English space): (Red part of the download directory, you can choose, Note: directory can not contain spaces)
Community Edition:vs_community.exe--layout G:\VS2017 Community Edition offline
Professional Edition:vs_professional.exe--layout G:\VS2017 Professional Edition offline
Enterprise version:vs_enterprise.exe--layout G:\VS2017 Enterprise Edition offline
Wait a moment and go to the download page:
The process automatically creates the folder and puts the download file under the folder:
If you want an offline file for a language, add the lang command after the command, such as:
Vs_professional.exe--layout G:\VS2017 Professional Edition offline--lang ZH-CN
Common language:
English (USA): en-US
Chinese: zh-cn (Simplified), ZH-TW (trad.)
Chinese to English:--lang zh-cn en-US
Command parameter details please visit the official website: Https://docs.microsoft.com/en-us/visualstudio/install/use-command-line-parameters-to-install-visual-studio
Third, installation
1 Open the path that just holds the offline file, then locate the Certificates folder and open it, then install the software certificate under the folder. Double-click the certificate and follow the prompts to install the line.
2 Run Offline Directory setup program (Vs_xxx.exe):
Wait a moment and enter the installation interface:
Choose the module you need to install, select the installation directory, click on the lower right corner to install. (Note Do not select all, the election will occupy dozens of G space, and will occupy a large part of the C disk space, select the module you need to.) )
iv. updating offline packages
1 website Download the latest online installation execution file, download address: https://www.visualstudio.com/zh-hans/downloads/
2 Follow the steps to download the offline installation file, note: Thedownload folder path after--layout must be the path to the older version of the offline file store (if you have previously downloaded a good not moved that is the previous download path), After the command is executed, the installer scans the existing files and downloads the updated files and new files.
3 After the update is completed, perform the software updates again under the Offline folder root directory, or check for updates directly in Visual Studio ( Note: You do not need to re-import the certificate unless a new certificate is downloaded ).