Visualstudio-docs: Create an offline installation of Visual Studio 2017 (Community)

Created on 25 Mar 2018  Â·  13Comments  Â·  Source: MicrosoftDocs/visualstudio-docs

  1. Download the Visual Studio Community 2017 installer
  2. Go to the installer Folder file where you download it. Usually it is C:\Users\\Downloads
  3. Go to the top of the Explorer and type in cmd
  4. Type mkdir vs2017
  5. Type vs_Community.exe --lang en-en --layout f:\vs2017 --all

5 lines of instructions


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri1 unspecifiesvc

Most helpful comment

Type vs_Community.exe --lang en-us --layout f:\vs2017 --all

I used the same command last year but forgot the command. I have to look it up again and copy the command from stackoverflow. The person typed in en-en instead of en-us. lol

All 13 comments

Type vs_Community.exe --lang en-us --layout f:\vs2017 --all

I used the same command last year but forgot the command. I have to look it up again and copy the command from stackoverflow. The person typed in en-en instead of en-us. lol

@gremlinsmasher Thanks for your contribution! FYI: You can also find further examples on the following page: https://docs.microsoft.com/visualstudio/install/install-vs-inconsistent-quality-network.

Cheers,
~ Terry

You are welcome. Thank you for posting.

Can I edit what components I can add?

Habia intentado por dias instalar desde el ambiente grafico, pero gracias a este comando lo he logrado, Gracias.

how to create an installation when i already downloaded it not using cmd

Can we download only some part of it not MSDN in Visual Studio 2017 (Community) because it full size around 30gb

Can we download only some part of it not MSDN in Visual Studio 2017 (Community) because it full size around 30gb

Yes you can, instead of --layout f:\vs2017 --all you can do something like this:

vs_community.exe --layout f:\vs2017 --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --lang en-US

To discover the IDs of the components you need:

Use the --add flag to add what you need to your offline installer.

where to find the offline folder after creating offline installer for visual studio 2017 ?

Thank you for the commands, it was helpful. However there is a small error that I was able to fix. The fifth line the command "Type vs_Community.exe --lang en-en --layout f:\vs2017 --all" --lang en-en is wrong it is supposed to be "--lang en-us" or "--lang en-uk" and so on.

Yes, it was a typo. Thanks

On Tue, Apr 16, 2019, 19:03 JohnDoit2 notifications@github.com wrote:

Thank you for the commands, it was helpful. However there is a small error
that I was able to fix. The fifth line the command "Type vs_Community.exe
--lang en-en --layout f:\vs2017 --all" --lang en-en is wrong it is supposed
to be "--lang en-us" or "--lang en-uk" and so on.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/visualstudio-docs/issues/741#issuecomment-483886966,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK2eGRtvOTNkpr_0OJUPQ-LBYhGQDH_9ks5vhmTlgaJpZM4S5-cF
.

hi there m new here its my first time on github platform...
well i wanna know i want to install vs2017 offline. Issue is my internet is so slow and i want to install vs2017 in my computer lab in which there are more than 50 computers so my question is.. is this article solve my problem or not ???

Untitled
look here i am following the same 5 instructions... !!
after this i just have to copy this vs2017 folder to where i want to install and run the setup file is that right ????

Was this page helpful?
0 / 5 - 0 ratings

Related issues

realbart picture realbart  Â·  3Comments

gewarren picture gewarren  Â·  3Comments

wittelw picture wittelw  Â·  3Comments

wellwind picture wellwind  Â·  3Comments

suhailmahmood picture suhailmahmood  Â·  3Comments