How to create an offline installer of Visual Studio 2017 RC?

How to create an offline installer of Visual Studio 2017 RC?


During the Connect() developer event, Microsoft released Visual Studio 2017 RC (Release Candidate). The said post contains all the Microsoft server links to download the public build, which is a web installer and you need to connect to internet while installing.

 

In case you need an offline installer to download once and install in multiple systems, here's the post to generate the offline installer. Continue reading the know more about it.

 

Create an offline installation of Visual Studio 2017 RC (www.kunal-chowdhury.com)

 

The 'Visual Studio 2017 RC' build that you generally get from internet is a web installer. If you would like to create an offline installation layout of Visual Studio 2017 so that you can install the product on a computer that doesn't have an internet connection or want to download once and install to multiple devices, here's the steps:

    • Download the Visual Studio setup executable file to a drive on your local machine. You can get it from here http://www.kunal-chowdhury.com/2016/11/visual-studio-2017.html
    • Now run the downloaded setup executable with the following arguments (switches) from a command prompt:
        • Add --layout <path>, where <path> is the location where you want the layout to be downloaded. By default, all languages will be downloaded.
        • In case you want to restrict the download to a single language only, you can do so by providing the --lang <language> argument, where <language> is one of the ISO country codes.
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

 

For example, to download the 'Visual Studio 2017 RC Enterprise Edition' under the local path "C:\Visual Studio 2017 RC", you need to provide the following command:

 

vs_enterprise.exe --layout "C:\Visual Studio 2017 RC" --lang en-US            # English Edition

vs_enterprise.exe --layout "C:\Visual Studio 2017 RC" --lang ko-KR            # Korean Edition

 

To install Visual Studio 2017 on the target machine from an offline installation layout, you first need to navigate to the Certificates folder, which you can find in the Layout folder. Now, right-click and install each certificate in the Certificates folder. If you are prompted for a password after you install a certificate, click Continue. Then run the downloaded setup executable again (in our above case, it is 'vs_enterprise.exe') from the Layout folder and follow the onscreen options.

 

 



If you have come this far, it means that you liked what you are reading. Why not reach little more and connect with me directly on Twitter, Facebook, Google+ and LinkedIn. I would love to hear your thoughts and opinions on my articles directly. Also, don't forget to share your views and/or feedback in the comment section below.

40 comments

  1. What about filtering the workloads, the default installation is still huge, I want just the IDE and .Net Desktop component, how to do?

    ReplyDelete
    Replies
    1. You can always do a customized installation. If the offline version is not good for you, you can always download the 'Web Installer' which will be optimized based on your choice. Refer the downloadable links here - Visual Studio 2017 RC

      Delete
  2. This process wont work. Kindly provide step by step method.

    ReplyDelete
    Replies
    1. What's the issue that you are facing? Please let me know.

      Delete
  3. Provide a point and click interface or better - option to download an offline installer. Stop this web install BS for 5GB full of files.

    ReplyDelete
    Replies
    1. Hi Neolisk,

      There are no such direct ISO available at this moment. Only option that we have is just download the web installer and do a layout to grab the offline installation media. It's around 13.1 GB layout files for en-US locale/language.

      If you don't have such bandwidth available, better to go with the web installer and select only the items that you need to download.

      Delete
    2. This comment has been removed by the author.

      Delete
  4. Hello Kunal, I see that product definition could not be loaded in setup. I see nothing is blocked in Firewall and host file. How I can got it work, please help.

    ReplyDelete
  5. hello kunal,
    Can VS 2015 and VS 2017 RC work simultaneously ..

    ReplyDelete
  6. Good day

    I am currently trying to download the offline installation of VS2017. The file size is 19.6 gigs so far as the black screen showing the individual packets has disappeared. Now my issue is while installing i don't get my C# installation like in 2015 but only F# which. So my question is what is the actual size of the offline download and could my download be corrupt in someway as I don't get a GUI like visual studio 2015 which informs me of missing packages.

    Kind regards,
    B.Manda

    ReplyDelete
  7. i want the full offline installition Can anyone Give to Me By github or Something
    My internet connection is Very Weak

    ReplyDelete
    Replies
    1. Hi Sagad,

      If you have weak internet connectivity, I would suggest not to download the offline version. Rather, go for the original installer and select the workflow/modules as per your need. This will save a lot of your internet bandwidth.

      Hope this helps.

      Regards,
      Kunal Chowdhury

      Delete
  8. what i sthe size of setup i have download only 2.09 gb

    ReplyDelete
    Replies
    1. Hi Mani,

      It comes around 18 GB (in my case) for the offline installer package, in en-US localized version.

      Delete
  9. This comment has been removed by the author.

    ReplyDelete
  10. Mine always craps out before it finishes :(

    ReplyDelete
  11. Hi,

    trying to run the downloaded setup executable with the command "vs_professional.exe --layout "C:\Visual Studio 2017 RC" --lang en-US", I have this error : 'vs_professional.exe' is not recognized as internal or external commande either executable program'. How can I solve it please.
    Thank you

    ReplyDelete
    Replies
    1. You must run the installer from the folder.

      Delete
  12. Still, the setup downloads from online!! damn disappointed. Here is what I did
    - download all setup files offline by following your instraction
    - navigate to the downloaded folder and double click vs_Professional.exe
    - setup started and started downloading files online for android SDK!!
    - 20+ of GB of data, time and resource wasted!

    ReplyDelete
    Replies
    1. It should not Pavan. I have done it many times and every time it worked fine. In case, there's a new update available on Microsoft server, it will download again.

      Don't worry, just wait for day. Visual Studio 2017 is going to release tomorrow (7th March 2017). Download the installer freshly.

      Delete
  13. What about if you are not admin on machine? UAC stops me :(

    ReplyDelete
    Replies
    1. Yes, an admin rights is require to launch the Visual Studio installer.

      Delete
  14. This comment has been removed by the author.

    ReplyDelete
  15. I currently have a complete standalone version of 2015, can i install to the same folder and overwrite the current package with the latest version.

    ReplyDelete
    Replies
    1. No, you should install in the default location otherwise, you will screw it up.

      Delete
    2. Sorry I didn't explain myself properly...

      I am asking if I can overwrite an existing copy of an offline download with the latest version.

      The current download of 2015 is 16gb so wondered if any of it could be used for the 2017 version.

      Thanks Mike

      Delete
    3. Hi Mike,

      Both the products are different (version, size). It will not upgrade to the latest one. You have to download it fresh. So, I suggest to download it to a new folder. This way, both the installer files will retain for your future reference.

      None of the 2015 files/folders will be usable in 2017 installer.

      Delete
    4. Thank you, I thought this might be the case but had to check just in case.

      Mike

      Delete
  16. Thanks Kunal Sir,
    You have saved my lot of bandwidth.
    I want to know is it possible that Microsoft will give direct ISO file download link later?

    ReplyDelete
    Replies
    1. Hi Jyoti,

      Most welcome :)
      No, there's no chance to have an ISO file of VS2017. The reason is that the ISO will have over 50 GB size as it will bundle all the things. Better to download the installer and create your own offline installer by customizing it.

      This will save your time and bandwidth as most of the things you will not need.

      Regards,
      Kunal

      Delete
  17. Hi Kunal,
    I have rum command to get offline installer of visual studio 2017 enterprises all workloads with one language(en-us). How much space it will require to download it?

    ReplyDelete
    Replies
    1. It will take around 20 GB space. Better to customize the workload and download them if your bandwidth is less.

      Delete
  18. To install it, I just have to run the setup or have to do some pre-processes?

    ReplyDelete
    Replies
    1. Once you have downloaded the offline installer, just run the installer from the offline installer folder. You then have to select the workloads and finally install it.

      Delete
  19. Hello Kunal,
    I'd like to know the size of the download file : "visual studio 2017 community ..lang en-US"

    ReplyDelete
    Replies
    1. It depends on how you customize the installer. If you go with default (all) workloads for en-US, it will be around 15-20 GB.

      Delete

 
© 2008-2017 Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers | Designed by Kunal Chowdhury
Back to top