I wan't to make an offline installer of visual studio community 2022 and put that on a usb stick and install it on a friend's laptop. Is it possible? And if so how?
Hello there,
I remember theres always an offline installer (about 22-25gb) to install visual studio completely.
2017 and 2019 had this type of installers, does anyone knows if VS 2022 offline installer is currently available?
Thank you
Videos
I'm trying to install the file: vs_community.exe when I click it, it creates an install stub in the temp folder in my user profile called vs_setup_bootstrapper.exe
But since the windows firewall is setup to block all programs not in the allowed list, it's impossible to allow the temporary vs_setup_bootstrapper.exe due its temporary nature. Allowing vs_community.exe doesn't work since only the temporary vs_setup_bootstrapper is trying to break through the firewall.
VS 2017 has an offline installer but I can't find one for VS 2019
How to install the program through a firewall?
I used a computer with internet to download and make a offline local layout folder via cmd and it started to download the C++ workloads etc. Then when it finished I copied the offline local layout folder onto a USB stick so I can begin installing it on the client pc that has no internet connection.
On the client pc how do I begin the offline install? Do I need to run it via CMD? I also want to use the โnoweb flag to avoid it accessing anything from the web. I want this to be purely offline.
So how do I begin doing this? What do I type to start the offline install with the noweb flag and do I get to select the install location? Can anyone help me with what I need to type in cmd on the client pc?
Thanks
I was thinking of making an offline installer for Visual Studio 2017 and I was successful in doing that. But, it downloaded everything and it was around 20 GB, which is just too much.
Is there any way to download only selected components/Packages for VS 2017 offline? I just want to use VS for C# development and with Xamarin for Android dev. Any suggestions?
Please don't down-vote for no reason.
EDIT:
Found a command on SO which should get me basic stuff for Xamarin and Android dev and C#.
vs_community__198857855.1490528169.exe --layout "C:\vs2017" -add Microsoft.VisualStudio.Workload.NetCrossPlat -add Microsoft.VisualStudio.Workload.ManagedDesktop -add Microsoft.VisualStudio.Workload.NetCoreTools --lang en-US
I haven't tested if it downloaded everything or not. Will share if it works perfectly. But, please do share some more info if you something new :D
I have created an offline installation via bootstrapper as explained in Microsoft. But when I copied all files to the offline server and try to run vs_setup.exe and vs_community.exe and when I hit continue on this screen nothing happen. I run it as administrator and cleared the cache on Program Data still same issue. Any suggestions?
Has anyone had any luck updating visual studio professional 2019 offline? I'm trying to do the update using Microsoft update catalog KB for my product version and it's KB prerequisite, but no dice. Any suggestions?
Hi
I need to install Visual Studio build tools for an offline desktop, which is Windows 10. And I do not have any other windows pc, laptop etc. How do i get the build tools install on my Win desktop.
I am sorry to say but all the docs about offline installations from MS is plain oldschool corporate MS bullshit, none of them are offline installers.
just out of curiosity, has anyone been able to get an offline installation of visual studio 2022 to actually install? i downloaded 31GB of dog shit installed the certificates
and the fucking piece of turd still tries to download shit and refuses to install
really don't appreciate having my time FLUSHED down the bowl like that
fucking scumbag visual studio developers
that product has completely jumped the shark
there is NO fucking reason microsoft shouldn't be providing visual studio isos today
they make you jump through pointless hoops and then it doesn't even fucking work
https://cdn.discordapp.com/attachments/197420215363960832/1005511008363749456/unknown.png
it's not just me fucking ridiculous can't wait until my next toilet requires an internet connection. then i'll be able to skip the middleman while FLUSHING
Im struggling to add this application to my deployment share. Can you tell me what im missing here?
Heres whats happening: https://imgur.com/lXmCzYB
It attempts to download, and then just stays at 99% forever and never installs or puts any files on the computer.
Here is what I have on the MDT Side:
Quiet Install Command: vs_setup.exe --quiet --wait --norestart --includeRecommended --add Microsoft.VisualStudio.Workload.NetDesktop --add Microsoft.VisualStudio.Workload.Python --path cache="C:\toolkit\Applications\VS 2022"
What am I doing wrong here?
EDIT: after reading multiple comments and re-reading the documentation from microsoft - here is the process that worked for me!!
Download visual studio bootstrapper.exe: https://aka.ms/vs/17/release/vs_professional.exe
Then open CMD and run: vs_enterprise.exe --layout c:\localVSlayout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.Python --includeRecommended
This will download about 7GB of files to c:\localVSlayout.
Then once this is finished, it will create a file called "response.json"
Edit this file with notepadd++ and I added the following: "productKey": "{replace with product key}","arch":"x64"}
Then, inside of my deployment share, I added the visual studio application and here is my command line: vs_professional.exe --passive --norestart --wait --in response.json
This will fully install Visual Studio 2022 with my company product key and its ready to roll!!
my internet is working fine. the DL link from the sketchy website even use MS sharepoint and it downloads at 1MB/s.
what precautions should i take?
I have a laptop that isn't connected to the internet and I'm trying to update VS from 16.4.29613.14 to 16.11.35 but I'm getting an error after running the executable that says "unable to download installation files. Check your internet connection and try again". Is there an easy way to accomplish this? Any help would be greatly appreciated.
I've an offline installer which I downloaded using torrent in 2017 but it has a lot of problems while installation which I read that it had been fixed in other updates. Can I update the offline files to the latest version without downloading it all over again?
Hello, I was trying to set Visual Studio (not Code) on the computer without Internet, it stucked and required an account which I could create only online. So it required internet at least for a moment.
I have machine that doesn't have internet connection. Can I make programming there?
Did I omit some setting?
Couple of things to consider. First, as Hey_Papito indicated if you don't have internet access on the machine where you are attempting to install Visual Studio you will need to create an offline installer. if you are trying to run the install using a file that is less than 1 MB, you're using the online installer and that is never going to work in the situation you described.
There is also the issue of ongoing access. Unlike previous editions of Visual Studio, MS got a bit more serious about checking to see if people had legit licensing for the product. Used to be that you could get a product key and that was good enough. Now they want you signed into an account that has licensing associated with it and the default behavior is for it to be a 30 day trial and then you can't get in anymore. However, with community edition you just need to refresh the license every 30 days(literally click the "refresh" button) and so long as you can get out to the internet you're good. Unfortunately sounds like you can't do that so you're stuck. However, there is this item from StackOverflow whcih contains the following information.
To bypass "30days left must go online to sign-in", sign-in once to Microsoft account, you'll get %LocalAppData%\Microsoft\VSCommon\OnlineLicensing folder that you can copy to offline PCs.
From your description it sounds like the machine you are using can sometimes have internet access so you should be able to follow this advice and get yourself a working version of VS Community Edition. If you're trying to unlock professional or enterprise, can't help you there. However, odds are whatever you are doing doesn't require the features of those versions and you can get by with just Community edition.
It doesn't require network access.
Is it possible to install (without internet access) Microsoft C++ build tools found here on a windows 2022 machine?