Thursday, November 2, 2017

Visual Studio 2017 Offline Installation

1) You will never get an ".iso" file officially from Microsoft for Visual Studio 2017 (Any edition).
2) Thus you remains with 2 options:
  1. Grab a web installer as Microsoft suggest and install whatever the components you need and double click on it.
  2. Follow the following steps to create an offline installer setup so that whenever you format you don't have to download it again or you can install it to another pc without an internet connection.
I downloaded Visual studio 2017 Community edition from here but this procedure will work  for other editions too. It took me near about 13 hours and download size was ( 30.5 GB )
<<Download link for VS Community 2017 edition >> Link working as of 03-11-2017.

Steps to create offline installer of VS2017:
  • Download visual studio setup exe file from the above link.
  • Open Command Prompt
  • Move to your downloaded directory where the exe file is
  • And use the following command
                  vs_community_something.something.exe     
                             This is name of your downloaded file
                             In my case it is -> vs_community__1972895516.1509628450.exe
                             It differs per download so don't worry about matching the exact digits :p
                
                --layout dir_path    
                     where dir_path is a location where your offline installer will present.  By default, all                             languages will be downloaded. For me I only want english US for that

                --lang en-US
                     you can use any language.
                     
 ISO CODE
LANGUAGE
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
      


Full command format:

vs_community setup.exe --layout "dir_path" --lang ISO-CODE        

In my case it is:
vs_community__1972895516.1509628450.exe  --layout "D:\VS\" --lang en-US

once you type the command and hit enter it will open Visual Studio command prompt and starts downloading.
Once the Downloading is done it will show you the following message in command prompt

Setup completed successfully.
Press any key to continue...

REMEMBER IT DOESN'T HAVE ANY PAUSE or RESUME OPTION SO YOU HAVE TO DOWNLOAD IT  COMPLETELY.

ALL THE BEST AND TELL ME TIME TAKEN AND SPEED YOU GET AND TOTAL DOWNLOAD SIZE :)