When visiting Microsoft website to download VS2015 you can download a file of a few MB in size to install Visual Studio. When you open the file it acquires the files necessary from internet, but you can not choose where these files are stored. How can I download the entire installation of Visual Studio 2015 to perform an offline installation? For example, for multiple machines.
访问Microsoft网站下载VS2015时,您可以下载几MB大小的文件来安装Visual Studio。当您打开文件时,它会从Internet获取所需的文件,但您无法选择这些文件的存储位置。如何下载Visual Studio 2015的整个安装以执行脱机安装?例如,对于多台机器。
15 个解决方案
#1
edit:
Starting from visual studio 2017 Microsoft is no longer offering .ISO images. For the new visual studio 2017 you have to download vs_community.exe from here and create an offline instalation folder:
从Visual Studio 2017开始,Microsoft不再提供.ISO图像。对于新的Visual Studio 2017,您必须从此处下载vs_community.exe并创建一个脱机的instalation文件夹:
vs_community.exe --layout c:\vs2017offline
vs_community.exe --layout c:\ vs2017offline
Then, in order to install from that folder you have to first install certificates from \certificates in the download folder and then run the installation.
然后,要从该文件夹安装,您必须首先从下载文件夹中的\ certificates安装证书,然后运行安装。
#2
Download the file of website and start it with the commandline switch "/layout" (see msdn to download visual studio 2015 installer for offline installation). So C:\vs_community.exe /layout
for example. It asks for a location and the download begins.
下载网站文件并使用命令行开关“/ layout”启动它(请参阅msdn以下载visual studio 2015安装程序以进行离线安装)。所以C:\ vs_community.exe / layout就是例子。它要求一个位置,下载开始。
EDIT: With the ISO version you still need internet connection to be able to install ALL the features. As pointed out by Augusto Barreto.
编辑:使用ISO版本,您仍然需要互联网连接才能安装所有功能。正如Augusto Barreto所指出的那样。
#3
For the Visual Studio Community 2015 with Update 2 you will have to click on Visual Studio 2015 on the left panel first, in order to display the Download options.
对于使用Update 2的Visual Studio社区2015,您必须首先单击左侧面板上的Visual Studio 2015,以显示“下载”选项。
The SHA-1 values, in order to verify the integrity of the downloaded file, can be found here.
可以在此处找到SHA-1值,以验证下载文件的完整性。
For the record, Microsoft Download Center has the ISO images for both Visual Studio Community 2015 and Visual Studio Community 2015 with Update 1.
为了记录,Microsoft下载中心具有适用于Visual Studio社区2015和带有更新1的Visual Studio社区2015的ISO映像。
#4
It seems there are direct links and anyone could get it with a download manager.
似乎有直接链接,任何人都可以通过下载管理器获得它。
References from here
从这里引用
#5
That is direct link to ISO file
这是ISO文件的直接链接
[https://go.microsoft.com/fwlink/?LinkId=615448&clcid=0x409][1]
#6
Even if you download the ISO files there will be lots of stuff not included in the installer which requires connection to internet when installing, for example:
即使您下载ISO文件,安装程序中也会包含许多未包含安装时连接到Internet的内容,例如:
- Emulators for Windows Mobile
- Windows 10 SDK
- Tools for Windows 10 Universal Apps
- GitHub Extension for Visual Studio and Git CLI
- C#/.NET Xamarin
- Visual C++ Mobile Development (iOS support)
- Joyent Node.js
- Java SE Development Kit
- Android SDK, NDK, and emulator
适用于Windows Mobile的仿真器
Windows 10 SDK
适用于Windows 10 Universal Apps的工具
Visual Studio和Git CLI的GitHub扩展
Visual C ++移动开发(iOS支持)
Java SE开发工具包
Android SDK,NDK和模拟器
Perhaps some of them are not possible to include but it is annoying nonetheless.
也许其中一些不可能包括但仍然令人讨厌。
#7
I bumped into this page "Download #VisualStudio 2015 (ISO + Web Installer)" (http://www.kunal-chowdhury.com/2015/07/download-visualstudio-2015.html) and the ISO link (https://go.microsoft.com/fwlink/?LinkId=615448&clcid=0x409) provided in this page seems to be valid.
我碰到了这个页面“下载#VisualStudio 2015(ISO + Web安装程序)”(http://www.kunal-chowdhury.com/2015/07/download-visualstudio-2015.html)和ISO链接(https:/此页面中提供的/go.microsoft.com/fwlink/?LinkId=615448&clcid=0x409)似乎有效。
I am downloading the ISO at this very moment.
我正在下载ISO。
Edit:
Was able to download the ISO and burned into a DVD. Also tried installing (only C/C++) on a 64-bit Windows 10 laptop and everything seems to work except that the installer couldn't find and had to go to Internet to download packages\vcRedistD12\1033\vcredist_x64.exe (although this file does exist in DVD and runnable).
能够下载ISO并刻录成DVD。还尝试在64位Windows 10笔记本电脑上安装(只有C / C ++),除了安装程序找不到并且不得不去Internet下载软件包\ vcRedistD12 \ 1033 \ vcredist_x64.exe之外,一切似乎都有效(尽管这个文件确实存在于DVD和runnable中)。
#8
You can download visual studio community edition with /layout
switch.
您可以使用/ layout开关下载visual studio社区版。
But I prefer to use /layout
with /NoRefresh
for my low-speed internet connection that downloading long more than a day.
但是我喜欢使用/ layout with / NoRefresh用于我的低速互联网连接,下载时间超过一天。
vs_community.exe /layout /NoRefresh
Every time that you run the installer it searches for new updates and if it finds updates, start downloading them and consume more time and more bandwidth!
每次运行安装程序时,它都会搜索新的更新,如果找到更新,则开始下载并消耗更多时间和更多带宽!
#9
I think the ISO version is smaller than the Layout method because the ISO version is just in English or whatever language it is that you choose, however the "Layout" version is ALL of the languages available, So for example if the "Layout" version downloads a 3gb file(English Version) it will download the same 3gb file in another language that you will not ever use wasting your downloads, time and all that other good stuff.
我认为ISO版本比Layout版本要小,因为ISO版本只是英文或者您选择的任何语言,但“布局”版本是所有可用的语言,例如,如果“布局”版本下载3gb文件(英文版)它将下载相同的3gb文件用另一种语言,你永远不会浪费你的下载,时间和所有其他好东西。
#10
Go to https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
转到https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
Navigate to "Visual studio downloads", select "Visual studio 2015"
导航到“Visual studio downloads”,选择“Visual studio 2015”
Next, choose format "ISO"
接下来,选择格式“ISO”
#11
If you are a MSDN subscriber follow the steps below:
如果您是MSDN订阅者,请按照以下步骤操作:
-
Go to msdn.microsoft.com and sign in.
转到msdn.microsoft.com并登录。
-
Go to Programs->Subscriptions->Overview
转到程序 - >订阅 - >概述
-
Click on Subscriber Access
单击Subscriber Access
-
Click on Product Keys ( Claim key as needed)
单击产品密钥(根据需要声明密钥)
-
Select your Visual Studio Preference.
选择Visual Studio首选项。
-
click the EXE drop down list, and select DVD. This will change it to an .ISO image.By default the web installer is selected,
单击EXE下拉列表,然后选择DVD。这会将其更改为.ISO图像。默认选择Web安装程序,
-
Click green download button(approximately 7.12Gb)
点击绿色下载按钮(约7.12Gb)
note: I used a Virtual-CloneDrive-5.5 to mount this ISO and install
注意:我使用Virtual-CloneDrive-5.5来安装此ISO并进行安装
#12
I was unable to find the direct download detailed in davidnr's post. You can download the ISO directly from the Microsoft Download Center here: https://www.microsoft.com/en-us/download/details.aspx?id=46872. Click the download button and select the ISO.
我无法在davidnr的帖子中找到详细的直接下载。您可以直接从Microsoft下载中心下载ISO:https://www.microsoft.com/en-us/download/details.aspx?id = 46872。单击下载按钮,然后选择ISO。
#13
You can download the ISO from https://beta.visualstudio.com/downloads/ (even if it has "beta" in the URL you'll have the latest stable version. Currently update 3)
您可以从https://beta.visualstudio.com/downloads/下载ISO(即使它在URL中有“beta”,您将拥有最新的稳定版本。目前更新3)
#14
For the latest VS2015 sp3, the command line shoud be:
对于最新的VS2015 sp3,命令行应该是:
en_visual_studio_community_2015_with_update_3_x86_x64_web_installer_8922963.exe /Layout c:\VS2015sp3_offline
#15
The following worked for me on a Windows 8.1 machine to download and prepare the setup folder, and then on a Windows 10 laptop to install:
以下是在Windows 8.1机器上为我下载和准备安装文件夹,然后在Windows 10笔记本电脑上安装:
- Go to https://my.visualstudio.com/downloads?q=visual%20studio%20community%202015
- Select “Visual Studio Community 2015 with Update 3” x64, English, DVD, and Download.
- Open the folder containing the download, which is called: en_visual_studio_community_2015_with_update_3_x86_x64_dvd_8923300.iso and its size is 7,617,847,296 bytes.
- Right-click on the file name: Mount
- On the mount folder, shift-right-click on an empty space: Open command window here
- On the command window: vs_community.exe /layout "blah blah blah blah \Visual Studio 2015\Setup" (or whatever path you want; the Setup folder gets created).
- Follow the dialog box instructions.
转到https://my.visualstudio.com/downloads?q=visual%20studio%20community%202015
选择“Visual Studio Community 2015 with Update 3”x64,英语,DVD和下载。
打开包含下载的文件夹,名为:en_visual_studio_community_2015_with_update_3_x86_x64_dvd_8923300.iso,其大小为7,617,847,296字节。
右键单击文件名:Mount
在mount文件夹中,按住Shift键并右键单击空白区域:在此处打开命令窗口
在命令窗口:vs_community.exe / layout“blah blah blah blah \ Visual Studio 2015 \ Setup”(或任何你想要的路径;创建Setup文件夹)。
按照对话框说明操作。
When I did this, it remained for exactly two hours and ten secs in the Acquiring: Optional items. Don’t despair.
当我这样做时,它在Acquiring:Optional项目中保持正好两小时十秒。不要绝望。
When it completed, the size of the Setup folder was 12.9 GB. Compare with the size of the .iso above.
完成后,Setup文件夹的大小为12.9 GB。与上面.iso的大小比较。
After completion, I succeeded on installing without a network connection, and that even though on completion I had got the following:
完成后,我成功安装没有网络连接,即使完成后我得到以下内容:
#1
edit:
Starting from visual studio 2017 Microsoft is no longer offering .ISO images. For the new visual studio 2017 you have to download vs_community.exe from here and create an offline instalation folder:
从Visual Studio 2017开始,Microsoft不再提供.ISO图像。对于新的Visual Studio 2017,您必须从此处下载vs_community.exe并创建一个脱机的instalation文件夹:
vs_community.exe --layout c:\vs2017offline
vs_community.exe --layout c:\ vs2017offline
Then, in order to install from that folder you have to first install certificates from \certificates in the download folder and then run the installation.
然后,要从该文件夹安装,您必须首先从下载文件夹中的\ certificates安装证书,然后运行安装。
#2
Download the file of website and start it with the commandline switch "/layout" (see msdn to download visual studio 2015 installer for offline installation). So C:\vs_community.exe /layout
for example. It asks for a location and the download begins.
下载网站文件并使用命令行开关“/ layout”启动它(请参阅msdn以下载visual studio 2015安装程序以进行离线安装)。所以C:\ vs_community.exe / layout就是例子。它要求一个位置,下载开始。
EDIT: With the ISO version you still need internet connection to be able to install ALL the features. As pointed out by Augusto Barreto.
编辑:使用ISO版本,您仍然需要互联网连接才能安装所有功能。正如Augusto Barreto所指出的那样。
#3
For the Visual Studio Community 2015 with Update 2 you will have to click on Visual Studio 2015 on the left panel first, in order to display the Download options.
对于使用Update 2的Visual Studio社区2015,您必须首先单击左侧面板上的Visual Studio 2015,以显示“下载”选项。
The SHA-1 values, in order to verify the integrity of the downloaded file, can be found here.
可以在此处找到SHA-1值,以验证下载文件的完整性。
For the record, Microsoft Download Center has the ISO images for both Visual Studio Community 2015 and Visual Studio Community 2015 with Update 1.
为了记录,Microsoft下载中心具有适用于Visual Studio社区2015和带有更新1的Visual Studio社区2015的ISO映像。
#4
It seems there are direct links and anyone could get it with a download manager.
似乎有直接链接,任何人都可以通过下载管理器获得它。
References from here
从这里引用
#5
That is direct link to ISO file
这是ISO文件的直接链接
[https://go.microsoft.com/fwlink/?LinkId=615448&clcid=0x409][1]
#6
Even if you download the ISO files there will be lots of stuff not included in the installer which requires connection to internet when installing, for example:
即使您下载ISO文件,安装程序中也会包含许多未包含安装时连接到Internet的内容,例如:
- Emulators for Windows Mobile
- Windows 10 SDK
- Tools for Windows 10 Universal Apps
- GitHub Extension for Visual Studio and Git CLI
- C#/.NET Xamarin
- Visual C++ Mobile Development (iOS support)
- Joyent Node.js
- Java SE Development Kit
- Android SDK, NDK, and emulator
适用于Windows Mobile的仿真器
Windows 10 SDK
适用于Windows 10 Universal Apps的工具
Visual Studio和Git CLI的GitHub扩展
Visual C ++移动开发(iOS支持)
Java SE开发工具包
Android SDK,NDK和模拟器
Perhaps some of them are not possible to include but it is annoying nonetheless.
也许其中一些不可能包括但仍然令人讨厌。
#7
I bumped into this page "Download #VisualStudio 2015 (ISO + Web Installer)" (http://www.kunal-chowdhury.com/2015/07/download-visualstudio-2015.html) and the ISO link (https://go.microsoft.com/fwlink/?LinkId=615448&clcid=0x409) provided in this page seems to be valid.
我碰到了这个页面“下载#VisualStudio 2015(ISO + Web安装程序)”(http://www.kunal-chowdhury.com/2015/07/download-visualstudio-2015.html)和ISO链接(https:/此页面中提供的/go.microsoft.com/fwlink/?LinkId=615448&clcid=0x409)似乎有效。
I am downloading the ISO at this very moment.
我正在下载ISO。
Edit:
Was able to download the ISO and burned into a DVD. Also tried installing (only C/C++) on a 64-bit Windows 10 laptop and everything seems to work except that the installer couldn't find and had to go to Internet to download packages\vcRedistD12\1033\vcredist_x64.exe (although this file does exist in DVD and runnable).
能够下载ISO并刻录成DVD。还尝试在64位Windows 10笔记本电脑上安装(只有C / C ++),除了安装程序找不到并且不得不去Internet下载软件包\ vcRedistD12 \ 1033 \ vcredist_x64.exe之外,一切似乎都有效(尽管这个文件确实存在于DVD和runnable中)。
#8
You can download visual studio community edition with /layout
switch.
您可以使用/ layout开关下载visual studio社区版。
But I prefer to use /layout
with /NoRefresh
for my low-speed internet connection that downloading long more than a day.
但是我喜欢使用/ layout with / NoRefresh用于我的低速互联网连接,下载时间超过一天。
vs_community.exe /layout /NoRefresh
Every time that you run the installer it searches for new updates and if it finds updates, start downloading them and consume more time and more bandwidth!
每次运行安装程序时,它都会搜索新的更新,如果找到更新,则开始下载并消耗更多时间和更多带宽!
#9
I think the ISO version is smaller than the Layout method because the ISO version is just in English or whatever language it is that you choose, however the "Layout" version is ALL of the languages available, So for example if the "Layout" version downloads a 3gb file(English Version) it will download the same 3gb file in another language that you will not ever use wasting your downloads, time and all that other good stuff.
我认为ISO版本比Layout版本要小,因为ISO版本只是英文或者您选择的任何语言,但“布局”版本是所有可用的语言,例如,如果“布局”版本下载3gb文件(英文版)它将下载相同的3gb文件用另一种语言,你永远不会浪费你的下载,时间和所有其他好东西。
#10
Go to https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
转到https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
Navigate to "Visual studio downloads", select "Visual studio 2015"
导航到“Visual studio downloads”,选择“Visual studio 2015”
Next, choose format "ISO"
接下来,选择格式“ISO”
#11
If you are a MSDN subscriber follow the steps below:
如果您是MSDN订阅者,请按照以下步骤操作:
-
Go to msdn.microsoft.com and sign in.
转到msdn.microsoft.com并登录。
-
Go to Programs->Subscriptions->Overview
转到程序 - >订阅 - >概述
-
Click on Subscriber Access
单击Subscriber Access
-
Click on Product Keys ( Claim key as needed)
单击产品密钥(根据需要声明密钥)
-
Select your Visual Studio Preference.
选择Visual Studio首选项。
-
click the EXE drop down list, and select DVD. This will change it to an .ISO image.By default the web installer is selected,
单击EXE下拉列表,然后选择DVD。这会将其更改为.ISO图像。默认选择Web安装程序,
-
Click green download button(approximately 7.12Gb)
点击绿色下载按钮(约7.12Gb)
note: I used a Virtual-CloneDrive-5.5 to mount this ISO and install
注意:我使用Virtual-CloneDrive-5.5来安装此ISO并进行安装
#12
I was unable to find the direct download detailed in davidnr's post. You can download the ISO directly from the Microsoft Download Center here: https://www.microsoft.com/en-us/download/details.aspx?id=46872. Click the download button and select the ISO.
我无法在davidnr的帖子中找到详细的直接下载。您可以直接从Microsoft下载中心下载ISO:https://www.microsoft.com/en-us/download/details.aspx?id = 46872。单击下载按钮,然后选择ISO。
#13
You can download the ISO from https://beta.visualstudio.com/downloads/ (even if it has "beta" in the URL you'll have the latest stable version. Currently update 3)
您可以从https://beta.visualstudio.com/downloads/下载ISO(即使它在URL中有“beta”,您将拥有最新的稳定版本。目前更新3)
#14
For the latest VS2015 sp3, the command line shoud be:
对于最新的VS2015 sp3,命令行应该是:
en_visual_studio_community_2015_with_update_3_x86_x64_web_installer_8922963.exe /Layout c:\VS2015sp3_offline
#15
The following worked for me on a Windows 8.1 machine to download and prepare the setup folder, and then on a Windows 10 laptop to install:
以下是在Windows 8.1机器上为我下载和准备安装文件夹,然后在Windows 10笔记本电脑上安装:
- Go to https://my.visualstudio.com/downloads?q=visual%20studio%20community%202015
- Select “Visual Studio Community 2015 with Update 3” x64, English, DVD, and Download.
- Open the folder containing the download, which is called: en_visual_studio_community_2015_with_update_3_x86_x64_dvd_8923300.iso and its size is 7,617,847,296 bytes.
- Right-click on the file name: Mount
- On the mount folder, shift-right-click on an empty space: Open command window here
- On the command window: vs_community.exe /layout "blah blah blah blah \Visual Studio 2015\Setup" (or whatever path you want; the Setup folder gets created).
- Follow the dialog box instructions.
转到https://my.visualstudio.com/downloads?q=visual%20studio%20community%202015
选择“Visual Studio Community 2015 with Update 3”x64,英语,DVD和下载。
打开包含下载的文件夹,名为:en_visual_studio_community_2015_with_update_3_x86_x64_dvd_8923300.iso,其大小为7,617,847,296字节。
右键单击文件名:Mount
在mount文件夹中,按住Shift键并右键单击空白区域:在此处打开命令窗口
在命令窗口:vs_community.exe / layout“blah blah blah blah \ Visual Studio 2015 \ Setup”(或任何你想要的路径;创建Setup文件夹)。
按照对话框说明操作。
When I did this, it remained for exactly two hours and ten secs in the Acquiring: Optional items. Don’t despair.
当我这样做时,它在Acquiring:Optional项目中保持正好两小时十秒。不要绝望。
When it completed, the size of the Setup folder was 12.9 GB. Compare with the size of the .iso above.
完成后,Setup文件夹的大小为12.9 GB。与上面.iso的大小比较。
After completion, I succeeded on installing without a network connection, and that even though on completion I had got the following:
完成后,我成功安装没有网络连接,即使完成后我得到以下内容: