I have downloaded all the VS packages ( around 35 GB) using the below command line.
vs_community.exe --layout c:\vslayout --lang en-US
Now, I use the command vs_community.exe --noweb to install in a PC with no internet connection. As the installer option is offline mode, but still the installer says not connected to internet.