"Knowledge has to be improved, challenged, and increased constantly, or it vanishes."

Create an offline installer for Visual Studio 2017

Since Visual Studio 2017 is released, I wanted to try it as usual. But I found, there is no ISO available for Visual Studio 2017. But there is a beautiful guide available that explains how to create an offline installer for Visual Studio. You can find the document in the below link

https://docs.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio

I decided you try the offline installer and I just documented that so that some other may benefit from the detailed steps.

First thing you need to download the installer from Visual Studio Website

https://www.visualstudio.com/vs/visual-studio-2017-rc/

I downloaded the enterprise version of the installer, I placed that under my E Drive, I created a folder VS2017 under E drive to store the offline installer files. It is important to create a directory to store the installation files. If you specify root drive to store the offline files, it may cause the installation to fail.

See the Directory listing of my E Drive as below.

clip_image002

Now to download the offline installation files, you need to run the installer in the command line mode with a layout & language parameter. For e.g. to create offline installation files for English, you can try the following command.

vs_enterprise.exe --layout C:\vs2017 --lang en-US

You can add multiple languages by adding space between the language codes. The following are the language codes supported now.

Code

Description

cs-CZ

Czech

de-DE

German

en-US

English

es-ES

Spanish

fr-FR

French

it-IT

Italian

ja-JP

Japanese

ko-KR

Korean

pl-PL

Polish

pt-BR

Portuguese - Brazil

ru-RU

Russian

tr-TR

Turkish

zh-CN

Chinese - Simplified

zh-TW

Chinese - Traditional

Open the command prompt as administrator and enter the VS_enterprise.exe with the layout and language option as you wish.

clip_image004

The moment you hit enter, another dialog will open as follows.

clip_image006

One more command prompt will be opened that will give you the progress about the downloading of packages.

clip_image008

clip_image010

Once all the required packages are downloaded, this command prompt will close automatically. At any moment, you can use the same command again so that new updates will be downloaded.

Install Visual Studio from offline layout

To install Visual Studio from the layout folder, first copy the layout folder where you downloaded the files to the target machine. In the layout folder, you will find a certificates folder with several certificates.

clip_image012

Right click on each certificate and install them.

clip_image014

A wizard will start and guide you through the installation process. I didn’t change any default values in the wizard, just click Next in each step until you reach the last step.

clip_image016

clip_image018

clip_image020

clip_image022

clip_image024

Click Finish button, you will get a success message if everything ok.

clip_image025

Repeat the same for each certificate available in the certificates folder. Once you installed all the certificates, you can start Visual Studio installation. In the layout folder, you will find vs_enterprise.exe.

clip_image027

Run vs_Enterprise.exe and the installation will start immediately, click continue in the splash screen

clip_image028

You will see the new installation experience of Visual Studio 2017. You can select the necessary components and click on the install button.

clip_image030

Summary

Visual Studio 2017 comes with lots of improvements and when you plan for enterprise level deployments, it is good to have offline installer so that with one download you can install across your organization. Offline installer also helps you to install Visual Studio 2017 in computers with no internet connection, though some components such as Android SDK still requires internet connection.

Visual Studio 2017 is a great IDE that enables developers to write code targeting several platforms including Linux and MAC.

25 Comments

  • Nicely explained, Thanks

  • trình khắc phục ở con trai do Trong chuối có một số lượng magie vô cùng giàu sang , rộng rãi, vô cùng tốt đưa sức khỏe đẻ

  • Công nghệ in ấn ngày càng được phổ biến trong công cuộc cách mạng công nghiệp hoá hiện địa hoá. Và máy photocopy cũng chính là một trong những thiết bị hỗ trợ đắc lực giúp con người có thể thực hiện nó một cách dễ dàng qua các chức năng in, scan, và fax.

  • Được sản xuất dựa trên những công nghệ hiện đại nhất. Hãng máy photocopy ricoh ngày càng cho ra mắt những dòng sản phẩm chất lượng vượt bậc với những tính năng vượt trội nhất. Hãy cùng khám phá những sản phẩm hiện đại nhất từ hãng máy photocopy tại Hải minh co

  • Hi,
    Please tell me the total size of the download(all workloads). Last time I tried to get the Community of the RC, I had to finally cancel the download after the setup had downloaded 17gigs, and was still going.

  • Thanks. This is a great time saver.

  • I'm sorry, how is this better? VS 2015 Build Tools was 25MB and took one command to install silently. Now I have to go through this crazy process of building a layout for my workflow (which is 10x the size) copy nearly a hundred files over to my machine, install a bunch of certs and then run a command to install the build tools. Really MSFT?

  • if this CMD download can we Pause and Resume this Download other time ...
    If i do it any thing happen in the Download Is download Corrupt or it will Resume what i Stop Download previous time....

  • Good post you're shared i really need this post thank you.

  • I created the layout but was unsure of what to do after installing the certificates. Finally I understood that you have to run vs_<SKU>.exe to continue setup.
    Thanks for the information.

  • Was doing this for VS Community 2017 and it would install everything and it does the core installation without any trouble. However, if i select to install the universal or .Net development portions it will install it almost completely, but it will fail on two files. It will say that it cannot download the files from the internet. The files exist in the installation directory and I even went and downloaded the files and placed them into the appropriate directories and it still thinks that it needs to download those two files preventing me from completing the installation process. If I just continue it will install everything else except those two files. I've tried this with a few different layout downloads in different forms (ISO, directory, etc) and same issue (so it isn't a bad download or anything, and I'm sure I did that all correctly). The two files are:

    https://download.visualstudio.microsoft.com/download/pr/10983757/f8c877406947fdc71ed2dd9127d2f9fa/microsoft.codeanalysis.visualstudio.interactivecomponents.resources.vsix

    https://download.visualstudio.microsoft.com/download/pr/11347028/25bedee219940beceecab91dac231235/microsoft.visualstudio.testtools.testplatform.legacy.core.resources.vsix

    If I plug myself online and do a repair it will go grab those two files without having to grab everything else, but it kind of defeats the purpose. Don't expect a solution, but wanted to mention it because all the other problems are related to installing the certs and I can't find anything online about it failing on just a few files.


  • You can download the full offline installer from http://tensoftwares.net/windows/visual-studio/visual-studio-2017-free-download-offline-installer

  • 10 MB/Sec Download Visual Studio 2017 ISO Offline Installer from http://offlinesoftwares.com/visual-studio-2017-offline-installer-iso-free-download/

  • Visual Studio 2017 Free Download Offline Installer From http://offlinesoftwares.com/visual-studio-2017-offline-installer-iso-free-download/

  • I have been struggling with this for a day now and finally found your post. The step by step was just what I needed. I am not sure if what the exact difference is but thanks for the detailed explanation. I could not get this to work on my own.

  • Well nice on this, however my only issue is everything works on my commands on the vs2017 preview installer, except after the progress bar it never shows the console window that downloads the stuff to the preview build...

  • Hey Folks !
    You may get the unofficial offline installer of VS 2017 by visiting the URL https://foxsoftwares.com/visual-studio-2017-iso-free-download-offline-installer/

  • Downloaded full Visual Studio Community 2017 v15.9.4 on 28-Dec-2018. Total size is around 43.6 GB. It took around 5-6 hours on 5 MB/S Internet plan

  • Hi,

    Nice article,
    There are a lot of steps to follow,
    But I am looking out for ISO download for VS2017.
    So, that directly I can transfer the file.

  • Dịch vụ SEO hàng đầu tại Đà Nẵng, cam kết rõ ràng trong hợp đồng

  • <div class="ewa-rteLine" style='line-height: inherit; height: auto; overflow: hidden; white-space: pre-wrap; padding-right: 20px; color: rgb(68, 68, 68); font-family: Calibri, sans-serif, "Mongolian Baiti", "Microsoft Yi Baiti", "Javanese Text", "Yu Gothic"; font-size: 14.6667px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;'>You can download <a href="https://www.nosware.com/visual-studio-2017-offline-installer/1528/">visual studio 2017 offline installer from here</a>.</div>
    <div class="ewa-rteLine" style='line-height: inherit; height: auto; overflow: hidden; white-space: pre-wrap; padding-right: 20px; color: rgb(68, 68, 68); font-family: Calibri, sans-serif, "Mongolian Baiti", "Microsoft Yi Baiti", "Javanese Text", "Yu Gothic"; font-size: 14.6667px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;'>Play the video for the installation step. It really works!!!</div>
    <div><br></div>

  • You can download visual studio 2017 offline installer from here.
    Play the video for the installation step. It really works!!!

  • You can download VS 2015
    https://99-themes.com/visual-studio-2015/

  • you can download VS 2010 iso from below link.
    https://99-themes.com/visual-studio-2010/

  • These CompTIA A+ 220-1101 questions and answers not only help you in your preparation but also familiarize you with the A+ exam situation. By attempting our 220-1101 A+ practice exam questions, you will also learn time management. The best thing is that most questions in our exam dumps are those questions that can be included in upcoming 220-1101 CompTIA A+ exam dumps. Get access to our test engine so that you can get more updated exam dumps.

Add a Comment

As it will appear on the website

Not displayed

Your website